Hi!
Is it possible to make automation in scenario like:
1. I have few epic issues which summary have "[BUG]"
2. If i create new issue with issue type "bug" and link to the epic which summary have "[bug]" then edit label,description and end date in new issue with issue type "bug"
3. If i create new issue with issue type "bug" and link to the epic which summary dont have "[bug]" then no reactions required.
Thanks for help!
Hi @Jack Harley
@Manoj Gangwar is providing a solution.
But the issue is based on text searching, its certain to be causing failures on the rule.
searching for text is never a 100% waterproof in Jira as its a fuzzy search.
If you have a single Epic where you link all you bugs to, adjust the rule and set the following
"Epic Link" = <epic's issueid>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jack Harley
@Manoj Gangwar has written it out in detail.
This should provide you with the details to create the rule.
My suggestion is to replace,
Step 3: Add Condition for Linked Epic
Add a JQL Condition:
Add a JQL condition to check if the issue is linked to the Bug epic
Use a JQL like:
"Epic Link" = <epic's issueid>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But i cant search "Step 3: Add Condition for Linked Epic" in conditions. Could you give me screenshot of this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jack Harley
The condition to pick is named "JQL Condition"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have many epic issues in project but not all have in summary "[BUG]". If I used both of this JQL I had an errors
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jack Harley
You need to replace the text "Epic Link" with the Epic Link name of the Epic the issues need to link to
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still dont work for me. Please could you provide screenshot with full of automation? Maybe I have some incorrect details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Jack Harley
I don't run DC, so can't give you a rule.
Are you using Epic Link field or Parent when you manually link an issue to an Epic?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jack Harley Welcome to the community!
You can create an automation rule like below.
Select Trigger:
Choose the Issue created trigger. This will initiate the rule when a new issue is created.
Step 2: Add Condition
Add a Condition to Check Issue Type:
Add a Issue fields condition.
Set it to check if the Issue Type is equal to Bug.
Step 3: Add Condition for Linked Epic
Add a JQL Condition:
Add a JQL condition to check if the issue is linked to an epic with a summary containing "[BUG]".
Use a JQL like:
issue in linkedIssues("Epic Link") AND summary ~ "[BUG]"
Step 4: Define Actions
Edit Issue:
If the previous conditions are met, add the Edit issue action.
Set the fields you want to edit:
Labels: Add or modify labels as needed.
Description: Update the description as desired.
End Date: Set the end date as required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a problem with add this 😏
Could you provide me screenshot of this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Manoj Gangwar Hi
I have many epic issues in project but not all have in summary "[BUG]". If I used both of this JQL I had an errors
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.