Forums

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

Limit the options in a custom field based on issue type

Manoj
Contributor
September 1, 2022

Hi, 

I have project in issue type is "HR services" Which has custom field "HRD" Which has drop down list n has many options to pick inclusive options related Finance. 

Since there is enhancement, I have created a new issue type called "Finance service".

Now what is needed here, when I select issue type 

Finance service" Then I want only Finance related options should visible in custom field "HRD".

 

Please note there is one custom field which is dependent on custom field "HRD" Based on selected value in HRD field dependent field get updated. Aa I used script runner here. 

 

Can some guide How this can be achieved. 

 

 

 

 

1 answer

1 accepted

3 votes
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
September 2, 2022

Hi @Manoj I don't know your configuration in detail but if you need different values for different issue types, you can try to use issue contexts in your custom field's configuration
https://confluence.atlassian.com/adminjiraserver/configuring-custom-field-contexts-1047552717.html

 

So for combination of Project x Issue type you can configure different set of options.

The other option is to implement Script runner Behaviour scripts which will remove required options from the list (https://library.adaptavist.com/entity/dynamic-select)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events