Forums

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

Single Select Custom Fields

Mar Angelo L_ Tareno
Contributor
October 3, 2024

I have Single Select Custom Fields name ticket Type that have 5 options

I'm trying this scenario

Request Type 1 in ticket Type I only need to show the 2 options

 

Request Type 1 in ticket Type I only need to show the 4 options

 

Request Type 1 in ticket Type I only need to show the 3 options

how can I achieve this? is there if statement to do it? or the only option is to create different custom field per Request Type? 

3 answers

0 votes
Vijay Dadi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2024

Hello @Mar Angelo L_ Tareno ,

Try cascading field, that might fullfill your requirement.

Vijay

0 votes
Walter Buggenhout
Community Champion
October 4, 2024

Hi @Mar Angelo L_ Tareno,

Let me assume you have 3 different request types instead of 3 times Request Type 1?

A lot depends on how your request types are linked to issue types in your project. A request type - in itself - can't really help you here. But if your request types are connected to 3 different issue types (e.g. an incident, a service request and a change request), you can configure your custom field with 3 different custom field contexts, each one containing the correct set of options for each issue type defining that context. That would give you the described situation with a single custom field.

Hope this helps! 

0 votes
Manoj Gangwar
Community Champion
October 4, 2024

Hi @Mar Angelo L_ Tareno 

You might need to create separate custom fields for each Request Type.

Edited: If you have the Scriptrunner plugin then you can use the behavior script in the workflow validator.

 

Mar Angelo L_ Tareno
Contributor
October 4, 2024

does scriptrunner plugin is free?

Manoj Gangwar
Community Champion
October 4, 2024

nope

Suggest an answer

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

Atlassian Community Events