Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Ensure Child Issue Due Dates Do Not Exceed Epic's Due Date

이진주 September 4, 2024

How Can I Create an automation rule with the coditions below?

 

 

Rule Execution Trigger:

  • The rule should trigger when an issue is updated.

Conditions:

  1. The parent issue must be an Epic.
  2. The Epic issue must have a Due Date.
  3. The Due Date of the current issue (the trigger issue) exceeds the Due Date of the Epic issue.

Action:

  • If the above conditions are met, update the Due Date of the current issue (the trigger issue) to match the Due Date of the Epic issue.

 

1 answer

0 votes
Trudy Claspill
Community Champion
September 4, 2024

Hello @이진주 

Welcome to the Atlassian community.

Have you tried to create this rule? Which elements are you unable to figure out? Please show us what you have so far.

이진주 September 4, 2024

I have already checked if the parent issue exists using a branch.

I proceeded with the conditions "within the same branch, the issue type is Epic, and the Epic's due date is not empty."

Next, I want to add an "and condition" to compare the due dates between the issue and the Epic, but since the epic.duedate smart value is no longer available, I am unsure how to proceed.

Trudy Claspill
Community Champion
September 5, 2024

Can you provide screen images show the rule you have constructed so far, in English? 

Otherwise can you describe each step in the rule?

You mentioned in your reply that you are using a branch, but a branch should not be necessary. You can use Smart Value conditions to look at the information in the trigger issue's parent Epic.

Screenshot 2024-09-05 at 1.52.08 PM.png

이진주 September 8, 2024

jira_automation.JPG

This doesn't work.

 

Here are the steps of the rule:

Start condition: When the 'Due date' of an issue is edited

Condition 1: The issue's parent issue type is Epic
Condition 2: The due date of the triggered issue is later than the due date of the parent issue (Epic)

Result: Change the due date of the triggered issue to match the due date of the Epic.

Trudy Claspill
Community Champion
September 9, 2024

Hello @이진주 

Thank you for providing that additional information.

In what way exactly does the rule not work? What does the rule execution audit log tell you?

I see multiple problems with the rule you have shown.

1. The condition where you are checking if the issue type is Epic is being applied to the trigger issue, not the parent of the trigger issue.

2. The step where you compare the due date values of the trigger issue and its parent issue has errors in both of the smart values you used.

{{issue.duetate}} needs to be {{issueduedate}}

{{issue.parent.dudate}} needs to be {{issue.parent.duedate}}

 

You might want to try using the rule I provided to see if that produces the result that you want.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events