Unable to Map Workflow status in same jira instance with 2 local projects

Originally asked by Anshuman Bakshi on 16 September 2022 (original question)


We are facing issues to map workflow status between two different projects in same Jira instance. We have the following mapping to be done in exalate :

def statusMapping =

[“PENDING”:“To Do”,

“Open”:“Waiting For Customer”,

“Done”:“Done”]
def remoteStatusName = replica.status.name
issue.setStatus(statusMapping[remoteStatusName] ?: remoteStatusName)

  • Status changes will be mapped as follows in Product Support and Cloud Project in jira.

o If status is “Pending” in Product Support = CloudOps “To do”

o If Status is “waiting for customer” in CloudOps = “Open” in Product Support

o If Status is “Done” in Cloudops = “Solved” in Product Support

o If “Solved” in Product support = “Done” in CloudOps project.


Answer by Anshuman Bakshi on 16 September 2022

Hi Andrii,

Please see workflow statuses in Text, Can you share the Exalate documentation how to map workflow statuses for two projects with different status values in same Jira instance. I only find this documentation but it doesn’t give idea about local project workflow mapping. Status synchronization on Jira Server - Exalate Documentation - Exalate Documentation (idalko.com)


Answer by Andrii Markov on 16 September 2022

Hi Anshuman,

Thank you for providing more details!
But could I ask you please to also provide your workflow statuses in text rather than in diagrams?
That will be more useful for us to compare…

Thanks,
Andrii


Answer by Anshuman Bakshi on 16 September 2022

Please see attached screenshots of both the workflows.


Answer by Anshuman Bakshi on 16 September 2022

Hi Andrii,

I rechecked the workflow statuses and it looks fine. Please see attached screenshots. Can you please give some examples how to map workflow for two projects with different status values in same Jira instance


Answer by Andrii Markov on 16 September 2022

Hi Anshuman,

Thanks for posting this!

I am wondering why the status “PENDING” specified in the upper case…

Could you please double check that status names in the configuration matches the status name under settings of your workflow?

Kind Regards,
Andrii