Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
We are using a workflow scheme in Jira whereby we have 2 different workflows associated with specific issue types.
E.g. workflow A is associated with Epic and Story, workflow B is associated with Bug and Improvement issuetypes.
But for the sync activities via Exalate sync add-on we only use issuetype Bug.
In our incoming groovy script we have created mapping rules for statuses, and target statuses refers only to statuses of workflow B.
The sync add-on for Jira chooses a workflow context when trying to sync status change. But the workflow context (workflow A) is not the right workflow for issue type B, and the mapped statuses in the incoming groovy script do not belong to workflow A but to workflow B. Now the mapping of statuses will fail as they do not exist in context workflow A.
How can I create a rule condition where the issue type defines the chosen workflow context?
Thanks in advance.