Question about custom field

Jack Suen March 20, 2018

Hi all,

I am a newbie of jira and I need to create a custom field (a checkbox). The value of the checkbox cannot be hard coded, instead I need to query a field called "Project Category" and get the value from there.

I took a look at the field setup. For checkbox it doesn't look like I have the choice to do any kind of query. Checked the scripted field setup and I don't have much idea how to set that up. Can anyone tell me where should I start with ?

1 answer

1 accepted

1 vote
Answer accepted
Terry Leung March 20, 2018

If you want to query and generate the values on the fly each time, it is expensive for the page to load, I assume this only makes sense if you change the project categories often. 

It doesn't make sense to dynamically generate the list neither, because each option in the checkbox represent the information your user entered in history of time, you shouldn't really be changing it! A better approach is for you to populate the list (adding options) on schedule or by trigger. This can be done via JIRA REST API.

Suggest an answer

Log in or Sign up to answer