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

Wanted to hide/Restrict Values in Custom field of type select list based on request types

neelu g
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 14, 2018

I am looking for a way where the values in Custom Field of type select list can be restricted based on the "Request Type". There is a way to do this for Issue Types; via 'Behaviours' script. but I want to do it for Request Types.

For e.g., Single select Custom Filed Values - A,B,C,D,E ,AA,BB,CC,DD, EE and
Request Types - Error, Problem, Issue, Question
If Req Type = 'Error' then Custom Field Values - AA, BB, CC
If Req Type = 'Problem' then Custom Field Values - A, B, C
If Req Type = 'Issue' then Custom Field Values - E
If Req Type = 'Question' then Custom Field Values - DD, EE

Thanks 

Neelu

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 5, 2023

Hi @neelu g ,

try to use getRequestTypeName() method in behaviour initializer. 

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events