Making the Parent field as mandatory/required field during the issue creation.
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Making the Parent field as mandatory/required field during the issue creation.
Environment
Jira Cloud
Diagnosis
Currently there is no option to make the Parent field ( previously Epic Link or Parent Link) as mandatory using Field Configuration.
We have the open Feature request: JRACLOUD-83074
Solution
We can make Parent field as mandatory using the Field required validator on the create issue transition in the workflow to check for the Parent field while creating the issue.
The step-by-step process is given below:
- Go to Project settings > Workflows > Edit the desired workflow and click on the Diagram view
- Select the transition "Create" before the first status.
- Under Options, click on Validators
- Click the Add validator button
- Select the Field Required Validator option
- Click the Add button
- For Fields required for this transition: select the Parent field you want to be required. If your field does not appear from the drop-down, click the drop-down and then start typing the name of that field to select it.
- For Error message column, specify an error message if the condition is not met. This is optional but recommended so the user understands what they missed
- Leave the 'Ignore Context' checkbox blank
- Click the Add button
Click on Publish Draft > Publish to save the changes to the workflow.
By adding this workflow validator, you won't be able to create the issue until you add the value to the Parent field during the issue creation. For more information about workflow, please visit Configure advanced issue workflows .