Forums

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

Prevent adding certain issue type to Issues in Epic

Jozef Vandenmooter
Contributor
January 28, 2022

Does anyone know how to prevent users from adding certain issue types to the Issues in Epic section of an Epic?

These guys are using the + button to add issues that do not belong there at all. They don't even have the Epic Link field on any of their screens. When this happens, we have to use a Bulk Modify to clear the Epic Link field. 

Only issuetypes that have an Epic Link field (for example Stories) should be added to the Issues in Epic section. Other issues should be Linked to the Epic instead.

Any pointers on how to use a Validator, Post-function or ScriptRunner Behaviour to prevent this from happening?

1 answer

1 vote
PD Sheehan
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.
January 29, 2022

The + sign on the Issues in Epic section brings up a somewhat regular Create screen.

It should be possible in theory to use behaviours to filter the list of issue types (and perhaps even projects).

The challenge I had in my testing was detecting a difference between a normal Create action vs a 'Create issue in epic' action.

If the epic link field is on the screen, you can read it during the initialization phase of the behavior. But if the field isn't there, then you can't

At this point, the only thing I can suggest is creating a listener that watches for unwanted associations and either emails someone or removes those associations and notifies the user.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events