Restricting values in custom field of type select list based on request types

Hi All, 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; but I want to do it for Request Types.

For e.g., Custom Filed Values - 1,2,3,4,5 and Request Types - A & B

If Req Type = A then Custom Filed Values - 1,2,3

If Req Type = B then Custom Filed Values - 4,5

 

Thanks.

1 answer

1 accepted

0 vote

You can't do it by request types (they're supposed to be simplified and consistent for users).

@Nic Brough [Adaptavist] Thanks Nic for swift response. Can we use some script to restrict this? If yes, where I can put this script?

I don't know.

If you can do it, it's javascript (which can be bypassed, is usually inadequate because it only covers some of the usage scenarios, and almost always goes wrong during upgrades), but I don't know if you can inject any into service desk

@Nic Brough [Adaptavist] Thanks Nic for the info.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

770 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you