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 %}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.