2
1
0

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?

    CommentAdd your comment...

    1 answer

    1.  
      3
      2
      1

      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")
      1. 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?

      2. Francis Martens (Exalate)

        Hi Cloud Chiu

        The other suggestion is in Juan's comment

        issue.setStatus("Status Name")



      3. 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.

      4. Francis Martens (Exalate)

        Cloud Chiu


        If the target status is 'Status 3' - just run 

        issue.setStatus("Status 3")


        No need to call it twice.
        Let me know

      5. Cloud Chiu

        It works, thanks

      CommentAdd your comment...