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,367,394
Community Members
 
Community Events
168
Community Groups

Limit the options in a custom field based on issue type

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

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
TAGS

Atlassian Community Events