Limit the options in a custom field based on issue type

Manoj 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2022

Hi @M 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