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

Auto Assign based on cerain field value

Hi community,

Been trying to create an auto assign rule based on the value that a custom field gets. Eg when category is business application -> assign to User X. The thing is that cannot browse the total number of fields and as a result cannot get the field i need to read the value from. Any ideas of how can i by pass this obstacle;

Thank you in advance.

2 answers

1 vote
Alex Koxaras Community Leader Jan 12, 2022

Geia xara Giorgo!

What exactly you mean by "the thing is that cannot browse the total number of fields and as a result cannot get the field i need to read the value from"? What and where exactly are you trying to auto assign the issues? If you are trying via Jira automation, then follow what @Jack Brickey propose. If you are trying somehow else, please define it.

Jack Brickey Community Leader Jan 12, 2022

I'm guessing that it is a long list of field options and clicking into the field shows some but not all. If there is no scroll bar then try typing a known but not displayed value. Just a guess here.

@Alex Koxaras 

Geia xara Alex,

Field.JPG

This is a custom cascade field with pre defined values. Through automation i want to set : when Categories = Business Applications then Assignee = User X. 

As i described, when the request is created (due to an automation) is assigned to me and right after is approved or not by me. In case i approve it and proceed to status TO DO, i want to change the assignee.

I might be missing something.

Thank you in advance.

Alex Koxaras Community Leader Jan 12, 2022

Some fields are not supported via the drop down menu. You have to use the advance editing section below this field and use JSON to set the changes.

@Alex Koxaras thank you.

Can you please tell me where i can find the advance editing section in order to make the changes;

Thank you in advance.

Giorgos,

My bad. What you should use is an advanced compare condition (I thought previously that it was an Edit action), and that field's smart value in order to compare it with its value:

advance compare.png

Then after that IF, edit the issue and assign it to your likings.

Let me know if that works!

Hi Alex,

I have created the automation like :

1. when issue transitioned from approved -> to do

2. IF categories = BA

then assign to USER X

ELSE IF categories <> BA

then assign to USER Y

What it does is to by pass the IF statement and applies only the ELSE IF.

Manually, inside the ticket i can change the assignee to USER X for BA.

1 vote
Jack Brickey Community Leader Jan 12, 2022

Hi @Giorgos A Tsavegias , are you using automation to configure this? I believe you should be able to choose this using automation it would look something like below:

  • trigger - value changed for your custom field
  • condition - use if/else block along with field value custom field equals xxx
  • Action - edit issue and assign

Hi Jack.

The default assignee is myself (Automation 1). Right after its creation there is an approval status. If the request is approved (i am the approver) proceeds to TO DO else DONE.. At this part of the process i need to assign it to the proper assignee.

I tried to implement your recommendation but yet cannot see the custom field.

Thank you.

Suggest an answer

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

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

653 views 5 12
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