Forums

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

Limit which issues type can be created under an Epic

Alexandru Mihaianu
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!
July 30, 2019

Hello,

 

It's really important for me to limit which issue types can be created under an Epic to say only Story and Sub-Task issue types.

 

Via the little "+" sign near the "Issue in Epic" area.

Is there anything that can help me achieve this ?

I've got Workflow toolbox and Script runner and tried different validators on the create transition, but to no avail.

 

Any help would be greatly appreciated, I did tried to search any other relevant threads.

Thank you

1 answer

0 votes
Thorsten Letschert _Decadis AG_
Community Champion
August 12, 2019

Hi @Alexandru Mihaianu ,

referring to Jira Workflow Toolbox, a potential Boolean Validator place within th Create transition of the issue types you're creating could read:

%{00014} in ["Bug","Task"] IMPLIES %{10100} = null

Short explanation:

If the issue type equals Bug or Task (first part of the expression), the Epic Link must be empty (second part of the expression).

Just head over to your Create transition in the workflow(s) for Story, Bug etc., add a Boolean Validator and paste the expression above. Also providing a meaningful error message, your configuration might look like this:

boolean-validator_creation-under-epic.PNG

Cheers
Thorsten

Suggest an answer

Log in or Sign up to answer