The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Default field values based on Issue type selection

Salvi
October 28, 2020

We have a requirement to set different default values for different issue types in same project.

For Example:

If Issue Type "A" is selected Custom field "Test" option should be populated with "False" automatically on create screen and if Issue Type "B" is selected Custom field "Test" option should be populated with "False" automatically on create screen within same project.

Is there any way to do this?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Alexander Pappert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 28, 2020

you can use the addon automation for jira with the trigger on issue creation, as example.

or some other script addons

https://marketplace.atlassian.com/search?query=automation%20for%20jira image.png

Salvi
November 4, 2020

Thanks Alex.

Is there a way do it via workflow post function script or using a script runner tool?

0 votes
Rohitha devi Pullepu
May 17, 2022

we can do that via automation based on the issue type we can fix a value in the custom field