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

Autofill a field based on the value entered in another field

Hello there,

I would like to create an automation in Jira where I can set the value of Field-2 based on the value entered in Field-1. Let me explain my case in detail below:

The user enters location codes which are 3 digit codes into Field-1 which is a text field. Below is a sample list.

623 -- APAC

021 -- APAC

056 -- EMEA

889 -- EMEA and so on..

Now when the user enters 123 or 021 in Field-1, the automation should populate APAC in Field-2. There can be hundreds of codes for APAC, EMEA and so on.

I was able to achieve this just for one location code, but not sure how I can mention multiple location codes in one rule for matching. Below is the rule for one value which works fine.



I would like to enter more values in the If condition.


1 answer

Hi @Shamanth 

The easy way is to create an "If/else" block in Automation and list all your possible codes (If 623 edit, else if 021 - edit, etc.)

But it's really tedious to create and maintain.

If you have "Assets" in your JSM environment, have you thought about creating "Assets" objects for each code ? 

You could create an object type named Code and enter all your codes there and add an attribute to each code with the region.

This way, your displayed field would show a dropdown list but the person submitting the form could still search for his/her region.

And your Automation would just be : Look for the object in Field A and add the "Region" attribute to Field B.

Hope this helps.

Have a nice day

Frederic Chartrand

FMX Solutions - Gold Solution Partner

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events