Hello,
I'm using JMWE on our instance and I'm looking for some help on our Workflow.
We are using the same workflow for 3 projects and we are trying to Assign the ticket automatically on a transition but not the same Assignee on each project.
Here is what we are trying to do :
Project A and B share the same Workflow
In Project A --> Set Issue Field --> Assigne 1
In Project B --> Set Issue Field --> Assigne 2
I have tried to make 2 Post Functions but when I'm updating one, the other one update also and then shares the same properties.
I find this also : https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/94142534/Set+issue+fields
But doesn't give me enough information on how to set it if I need to assign someone different on another project.
Any help would be appreciated!
Thank you very much!
Found Solution :
{% if issue.fields.project.key == "KEY" %}
accountId:
{% elif issue.fields.project.key == "KEY" %}
accountId:
{% endif %}
Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!
Start here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.