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

**URL:** <https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294>\
**Category:** General Questions\
**Tags:** jiraserver, migrated\_question, jira-jira\
**Created:** [November 4, 2024, 7:56am UTC](https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294 "2024-11-04T07:56:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:56am UTC](https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294/1 "2024-11-04T07:56:09Z")

</div>

_Originally asked by Anshuman Bakshi on 16 September 2022 [(original question)](https://oldcommunity.exalate.com/questions/58494491)_

* * *

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](http://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.

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:56am UTC](https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294/2 "2024-11-04T07:56:12Z")

</div>

_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)](https://docs.idalko.com/exalate/display/ED/Status+synchronization+on+Jira+Server#StatussynchronizationonJiraServer-workflowHelper.transition)

 ![](https://europe1.discourse-cdn.com/flex018/uploads/exalate1/original/1X/d045099f08697dc1026cd3e6f7b1a8ba1efb7962.png)

 ![](https://europe1.discourse-cdn.com/flex018/uploads/exalate1/original/1X/9a8353fa6296468ccf0abf582135f49922bd7ec5.png)

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:56am UTC](https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294/3 "2024-11-04T07:56:13Z")

</div>

_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

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:56am UTC](https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294/4 "2024-11-04T07:56:15Z")

</div>

_Answer by Anshuman Bakshi on 16 September 2022_

Please see attached screenshots of both the workflows.

 ![](https://europe1.discourse-cdn.com/flex018/uploads/exalate1/original/1X/df35c3844e1b372319e0f9fc9c60d82a044e009d.png)

 ![](https://europe1.discourse-cdn.com/flex018/uploads/exalate1/original/1X/55de2798a40f1cc4edbddbe12f0731212a20ec51.png)

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:56am UTC](https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294/5 "2024-11-04T07:56:16Z")

</div>

_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

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:56am UTC](https://community.exalate.com/t/unable-to-map-workflow-status-in-same-jira-instance-with-2-local-projects/5294/6 "2024-11-04T07:56:17Z")

</div>

_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

* * *
