How to sync a resolution to a null resolution?

Originally asked by Lara LG on 26 January 2022 (original question)


Hello,

I have a sync between a cloud and a Jira server. I have been getting this error in the server side because they Cloud has a resolution that we do not have. And we do not want to create it, we want that when they set that resolution our Jira remains with NO resolution.

What should be the proper way to configure this?

Code from documentation

Status.receive(
    
useRemoteStatusByDefault = false,
    
workflowMapping = [:],
    
resolutionMapping = [
"Remote Resolution A"
: 
"Local Resolution A"
])

Where it says “Local Resolution A” what should we put? null? ““? issue.resolution = null?

BR


Comments:

Harold Oconitrillo commented on 26 January 2022

Hello Lara,

Please send the documentation link you are using to do this.

Kind regards,

Harold Cruz

Lara LG commented on 27 January 2022

Hello Harold,

In the status sync documentation you have a this a section with this info:

resolutionMapping = [:]
Defines resolution mapping as on the example below

Best REgards

Lara LG commented on 01 February 2022

Hello Harold,

But thats between to null resolutions, If I want to sync one empty and one that it is not, would it be

resolutionMapping = [:“Remote resolution”] ?

Best Regards