The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
2
1
0
Viacheslav
- Sep 27, 2019
Is there any way my partner and I can sync the issue statusCategory?
Source: Jira Cloud
- connector-cloud-jira
- feature-workflow
- Comment
CommentAdd your comment...
1 answer
- 210
Hey Vyacheslav,
Can you give an example on how the synchronization needs to look like please?- Viacheslav
Sure thing. I need a functionality similar to this:
if (replica.statusCategory == "Done") {
workflowHelper.transition(issue, "Resolve this issue")}
- Roman
Can you try
if (replica.status.category.name == "Done") {
workflowHelper.transition(issue, "Resolve this issue")}
- Viacheslav
I'm not sure about 'status.category', in Jira's JQL it is 'statusCatefory'. Anyways, I used another approach as follows:
if (replica.status.name == "Escalated" && issue.status.name == "Waiting for customer") {
workflowHelper.transition(issue, "Respond to support")
} else if (replica.status.name == "Canceled") {
workflowHelper.transition(issue, "Reject")
} else if (replica.status.name == "Closed" || replica.status.name == "Resolved") {
workflowHelper.transition(issue, "Resolve this issue")
}
CommentAdd your comment...
Overview
Content Tools
search
attachments
weblink
advanced