Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Set Issue field JMWE

Set Issue Field.JPG

Can the field "IT PM Level" be determined by the contents of the field "IT Project Manager"?

for example, if I choose user A, then the value of the field "IT PM Level" will be Junior

and if I choose user B, then the value of the field "IT PM Level" will be Senior



How do I get such results?


Hi @Rizky_Tuasikal ,

instead of using Conditional Execution, you can simply use a calculated value for the IT PM Level field. For example:

{% switch issue.fields["IT Project Manager"].accountId -%}
{%- case 'accountId:123445' -%}
{%- case 'accountId:67890' -%}
{%- endswitch %}

Also, I noticed that your initial approach was wrong: the template for the value of the field was returning either true or false, not Junior as I expect you wanted.

Hi @David Fischer _Appfire_ , 

thanks for your help, it works!


more question, 

if there is more than 1 user (user A, B, C) = Junior

can you show me the query?


sorry, this is the first time I learned this

Almost. Just remove the | between the two case statements. 

Like Rizky_Tuasikal likes this

project scale.JPG


if there are conditions like this, how does the query be?


IT PM Level = Senior & Project Scale = Large

it will be : Project Scale - PM (%) = 50

@David Fischer _Appfire_ 

You can use embedded switch statements:

{% switch issue.fields["PM Level"].value -%}
{%- case 'IT PM Senior' -%}
{%- switch issue.fields["Project Scale"].value -%}
{%- case 'Large' -%}
{%- case 'Medium' -%}
{%- endswitch -%}
{%- case 'IT PM Junior' -%}
{%- switch issue.fields["Project Scale"].value -%}
{%- case 'Large' -%}
{%- case 'Medium' -%}
{%- endswitch -%}
{%- endswitch %}
Like Rizky_Tuasikal likes this

Hi @David Fischer _Appfire_ 


thank you so much for your help.. it works perfectly

God bless you

Hi @Rizky_Tuasikal 

I'm glad it works. 

Would you mind "accepting" the answer so that other community members can  find it? Thanks. 

Hi @David Fischer _Appfire_

sorry I didn't find a way to "accepting" an answer


I don't see any button to "accept" your answer

Oh, right, that's because you created a "Discussion" instead of a "Question" so there is no notion of "Answer", only "Comments".


Log in or Sign up to comment