I have 3 workflows--Dev Story, Dev Task, and Software Move Task, in the Sandbox.
I would like to prevent creation of issues for the Dev Story workflow except as child issues from Epics or possibly from a project we created called "Initiatives".
Similarly, I'd like to prevent creation of issues for the other two workflows, except as child issues from the Dev Story workflow.
Can this be done, and if so, how, please?
I've tested submitting issues in the Dev Story workflow using the Create child worfklow (I think that's what the link is called) in Epics, so I know that works. What I don't know is how to prevent users from creating issues using the Dev Story workflow independent of Epics. The IssueType of Dev Story is "Dev Story".
Happy to provide more information if you need it.
Hi @Phil Bustin and thanks for your question.
Could you please check if the Scriptrunner plugin is installed? As per my knowledge, you can't achieve this with Jira's default features. If the plugin is installed, you can add a validator to the workflow using "Add Parameters To Validator." With a script similar to the one in the image I provided, you can prevent someone from creating a request other than a child issue. If you encounter any issues, feel free to reach out.
Best,
Murat Seven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.