Forums

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

How to restrict the available issue types on the create screen in Jira using Scriptrunner

rneill19
Contributor
September 5, 2024

Hi there,

Can anyone help me write a script to restrict the available issuetypes a user would see on the Create screen in specific Jira projects? I know this was possible in Jira DC/Server but I can't find a script in Adaptivist's documentation to accomplish this in Jira Cloud.

Any help is appreciated, thanks!

1 answer

1 accepted

1 vote
Answer accepted
rneill19
Contributor
September 5, 2024

I figured this out!

Here's the script I used to accomplish this:

 

getFieldById("issuetype").setOptionsVisibility(["10000", "10004","10079","10051"], 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