Forums

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

How can I hide an issue type for creation

Joe Harmon
Contributor
February 28, 2019

We have a project will contain epics.  The epics create a specific type issue automatically upon the creation of the epic.  We want to be able to assign these issues to different teams and projects so that they can include them in their planning and sprints.  I can add this custom issue type to all of the projects so that we can move them from one project to another.  The Epic will always remain in the parent project, but the kanban board will be based off of a filter (searching against type) so that it can pick up these items within other projects.  But this means that each team will see this issue type in the create dialog.  I want to be able to hide them in the create dialog, as the only time they will be created is when an Epic is created within the main project.  Any thoughts?

2 answers

1 accepted

0 votes
Answer accepted
Alexey Matveev
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.
February 28, 2019

Hello, 
You would need a plugin for it.

You could use the Power Scripts plugin or ScriptRunner.

If you want to use the Power Scripts add-on, then you should use the LIve Fields:

https://confluence.cprime.io/display/JJUPIN/Live+Fields?src=contextnavpagetreemode

The code for the live field would look like this:

lfAllowSelectOptions("issueType", {"Epic"});

In this case only Epic will be available for selection in the issue create screen.

Joe Harmon
Contributor
March 4, 2019

Thanks for the answer.  I wish everything I do didn't require yet another plugin.

0 votes
Joe Pitt
Community Champion
February 28, 2019

There is no feature that does this. This has come up multiple times as long as I've been working in JIRA back in 2006. One option I've seen is to have a post function no the create transition denying the transition to all be a select group/project role. The drawback is they will still be able to see the issue type and select it, but can't create it. 

Suggest an answer

Log in or Sign up to answer