Modify ticket creation workflow such that new bugs or user-story can't be created without specifying Epic in the epic field
Are you working with Jira Cloud or Jira Server/Data Center?
If Cloud, are you working with a Company Managed project or a Team Managed project?
If you are working with Jira Server/Data Center, or work with a Company Managed project in Jira Cloud you have two choices:
1. Create a Field Configuration where the Epic Link field is set to Required. In the Field Configuration Scheme for your project, set that Field Configuration to be associated to the Bug and User Story issue types. This will require the Epic Link be filled in always for those issue types.
2. If you don't have Workflow(s) that are already specific to the Bug and User Story issue types, create them by copying the workflows that those issue type currently use in your project. The modify the new workflow(s) in the Create transition. Add a Validator on that transition and use the Field Required Validator option to specify that the Epic Link field is required. Add the new workflow(s) to the Workflow Scheme used by the project, and associate the new workflow(s) to the two issue types.
Note that if your Field Configuration Scheme or your Workflow Scheme is shared with other projects, those other projects will be affected by this change. If you need to affect only one project, you may also need to create a new Field Configuration Scheme or a new Workflow Scheme that can be associated with that one project so that others will not be impacted.
Are you working with a Company Managed project or a Team Managed project?
Do you have more question based on the information I provided?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm working with company managed project jira cloud.
The Epic link is locked ,can it be unlocked so that I can modify tickets such that user story/bug cannot be created with Epic link.
Field configuration is Default , is it because of this Epic link is locked ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I apologize. I gave you incorrect guidance.
Additional research lead me to this post (credit to @John Funk
To make the Epic Link field required you will have to modify the Workflow that applies to the targeted issues. For each transition in that workflow you will have to add a Validator and use the Field Required Validator to ensure the Epic Link field is not empty. Unfortunately, it will still be possible for somebody to clear the Epic Link field while editing the issue, and that won't be caught until the issue changes statuses again.
You might also want to add an Automation Rule to check for any time the Epic Link field is edited to check if the field has been cleared for those types of issues in the affected project, and send an email to a project manager or somebody else in that case to follow up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.