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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,558,942
Community Members
 
Community Events
184
Community Groups

How to set auto populate fields values in Jira

Hi Team,

In Jira, we can have a two fields called as "Issue type" and "Priority".
If we select issue type field value as "Service Request" then priority field values visible only for "Minor" and "Low".
If we select issue type field value as "Incident" then priority field values drop down as only for "Major", "Blocker".
Through Script Runner(Behaviour) it is possible. 
Can someone please share the script. Thanks in advance!

Regards,
Maheedar

1 answer

0 votes
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2023

Hi @mahi reddy 

I think you have to start with defining issue type initializer

https://docs.adaptavist.com/sr4js/latest/features/behaviours/behaviours-examples/project-and-issue-type-behaviours 

And inside the section modify how the priority behave.

Similar question that might help visualize how it works

https://community.atlassian.com/t5/Jira-Service-Management/Script-runner-Behavior-Limit-field-options-based-in-the-issue/qaq-p/1591722

Suggest an answer

Log in or Sign up to answer