The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe

Questions

 
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 (iDalko)

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