xl8bot
1
Originally asked by Deniz Tımartaş on 22 June 2021 (original question)
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?
xl8bot
2
Answer by Francis Martens (Exalate) on 22 June 2021
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.
Comments:
Deniz Tımartaş commented on 22 June 2021
Hi Francis,
I will try to implement it like this. Then I can do;
if (replica.status.name = “blabla”){
issue.setStatus(“Closed”)
}
Right?
Francis Martens (Exalate) commented on 26 June 2021
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