Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira JMWE - Set issue Field for multiple project

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! 

 

 

1 answer

1 accepted

0 votes
Answer accepted

Found Solution :

{% if issue.fields.project.key == "KEY" %}
accountId:
{% elif issue.fields.project.key == "KEY" %}
accountId:
{% endif %}

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

399 views 19 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you