2
1
0

I have 2 projects A and B created in JIRA. I have established the connection between then using exalate. The ticket in project A re-opens when customer comments on a resolved ticket. It changes the status from Resolved to In progress. This latest comment gets synced into project B and the ticket in projecy B also reopens. But the ticket in project B should not re-open.

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      You will have to construct the necessary logic in how status is being mapped. 
      This can be done with a script rule where you don't apply the change if the issue is closed.

      1. Kushal Gupte

        Hey Francis,
        Can you give any documentation link or the sample script? 

      2. Francis Martens (Exalate)

        Euh - something like - pretty straightforward.

        Jira B - untested
        def targetStatus = ...
        if (issue.status.name != "Closed") {
           // only apply a status change if the issue is not closed
           issue.setStatus(targetStatus)
        }



        You will have to take into account that if the status from B is synced back to A, you will have to avoid to close the issue A because the issue B is still closed.


      CommentAdd your comment...