Automation to require issue link when Defect issue type is created

Kelli Teel February 21, 2024

Our leadership wants to be able to track Defects found in testing, so our QEs are creating Defect issue types and we want to require them to add a link to the applicable Jira story.  How do I build a rule that will require a user to add a link to the applicable Jira story when he/she creates a Defect issue type? 

1 answer

1 accepted

2 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2024

Hi @Kelli Teel - Automation by itself is not going to create any validation requirement. However, I've had similar requirements in the past and solved for it like this:

  1. Custom Field: There is no option to validate whether an issue has an issue link so we'll use a custom field that isn't present on any screens.
  2. Workflow Validator: On the bug workflow, you'll create a validator against the custom field in step 1 that won't allow transition until the custom field has a value
  3. Automation Rule:  The automation rule will trigger when the Bug has been linked and set the custom field to something so it satisfies the validator


Kelli Teel February 22, 2024

Thank you.  This worked.

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events