2
1
0

Hi,

When using https://docs.idalko.com/exalate/display/ED/Status+synchronization+on+Jira+Server Status.receive(useRemoteStatusByDefault = true, workflowMapping = [:], resolutionMapping = [:])
function, we would like to NOT map resolution to any. Is it possible?

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      The status.send and receive functions don't need to be used anymore.

      You can just do

      issue.setStatus("Closed")


      The resolution needs to be handled separately.

      1. Deniz Tımartaş

        Hi Francis,


        I will try to implement it like this. Then I can do;


        if (replica.status.name = "blabla"){

        issue.setStatus("Closed")

        }


        Right?

      2. Francis Martens (Exalate)

        Make sure you use the equality operator '==' instead of the assignment operator ('=') when comparing replica.status.name with "blabla"

        Then it should work - but YMMV


      CommentAdd your comment...