You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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
FMX Solutions - Gold Solution Partner