Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to Limit option of custom fields based on issue type

RAMCEL MAGNAYE September 12, 2024

 

How to Limit option of custom fields based on issue type

for example 

 

 

incident issue type

customfields ex :

option a 

option b

 

 

service request issue type

 

 

customfields ex :

option c

option d

 

 

 

 

change  issue type

 

 

customfields ex :

option a 

option b

 

option c

option d

2 answers

1 accepted

3 votes
Answer accepted
Hans Polder
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 12, 2024

@RAMCEL MAGNAYE ,

What you could do, is configure the 'jira.field.resolution.exclude' transition property (or ...include) on each of the related workflows, to only show the desired Resolutions. Since each issue type can have a different workflow, I believe this should allow you to reach your goal :)

For more inspiration, also see https://community.atlassian.com/t5/Jira-questions/Can-I-restrict-the-resolution-choices/qaq-p/803372

More information:

https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/

RAMCEL MAGNAYE September 12, 2024

thank you so much it works 

Like # people like this
0 votes
John Funk
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 12, 2024

Hi Ramcel,

You should be able to do that by adding Contexts for the Custom field - each one based on Issue Type. 

Go to Settings > Issues > Custom fields

Search for your custom field and then click the 3 dots menu to the right. Select Contexts and Default value.

Once you get there, click on Add new context link near the top. 

Add a name and then select the Issue type and the values for the field. 

RAMCEL MAGNAYE September 12, 2024

resolution.png

RAMCEL MAGNAYE September 12, 2024

i mean the resolution field 

 

John Funk
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 12, 2024

No, you can't do that with the Resolution field because it is a system field and can't be altered. But you could create a custom field and use that in a transition screen and then have an automation rule that updates the Resolution field when the Custom field is updated. 

Rilwan Ahmed
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 12, 2024

@John Funk ,

You can only specify one custom field context for each project.

https://support.atlassian.com/jira-cloud-administration/docs/add-a-context-to-a-custom-field/

 

Like # people like this
John Funk
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 12, 2024

True

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events