1 answer
- 321
Hi!
This is the current URL for status sync on Jira Cloud: https://docs.idalko.com/exalate/pages/viewpage.action?pageId=19631067
workflowHelper only allows to do a single transition per sync, if you want many transition, you would set the status directly using
issue.setStatus("Status Name")
- Cloud Chiu
The current workflow likes Status 1 > Status 2 > Status 3. To map the replica status to local status, it is required to transit from Status 1 to Status 3 in one sync.
Do you mean it is now technically infeasible? Other than workflowHelper, can you suggest other ways to do this in one sync?
- Cloud Chiu
But I tried the following on one sync without luck.
issue.setStatus("Status 2") issue.setStatus("Status 3")
But if the above two lines are run separately, it works without issues.
- Francis Martens (Exalate)
If the target status is 'Status 3' - just run
issue.setStatus("Status 3")
No need to call it twice.
Let me know
CommentAdd your comment...
I am asking the same question as Could not perform multiple transitions using "workflowHelper" for Jira Cloud, however the answer with the doc https://docs.idalko.com/exalate/display/ED/Status+synchronization+on+Jira+cloud+with+multiple+transitions+on+a+single+sync mentioned from a reply is no longer available to access, it requires an account to view but my community don't allow me to access.
Can anyone help on it?