Hi!
I hope you are well
I want to create a rule to track customer bugs.
We have a custom field that is called "target repair date" and I have an automation rule that updates the start and due date with the dates of the sprint.
I would like to set up two labels:
- Ontrack (duedate is less than "target repair date")
- Offtrack (duedate is greater than "target repair date")
I want to ensure that issues meeting their deadlines are appropriately tagged for easier tracking and management.
Now the label is added in all situations, I cannot add the ontrack and offtrack based on that comparison and I cannot find the rootcause.
Thanks a lot for your support!
Hi @Núria Rull Bassols - You'll need to change the conditions to If/Else conditions. As it stands now, it will pass/fail the first condition but never pass the second condition. It should look something like this:
Secondly, you mention that you have another rule that is setting the due date. This means that you also need to check the box on the Rule Details screen that enables other rules to trigger the new rule:
Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule.
Thanks a lot @Mark Segall that worked!
What if I want to add another label but only if the due date is -10d or 15d of the Target repair date? Should I create variables?
This will be like: "at risk" issues
- Due date is -10d or 15d of Target Repair date
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the answer "minusDays."
Thanks a lot; I hope that can help other people, too.
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.
I agreed with what @Mark Segall stated, especially his mentioning of "enables other rules to trigger the new rule:"
Here is a reference link on how to properly troubleshoot automation rule from Atlassian -
https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/
Hope this also helps you.
Best, Joseph Chung Yin
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.
Hello @Núria Rull Bassols
Before your first If statement, log the 2 dates.
To do that,
Once you have added above 2 new steps, rerun the rule by changing the due date and share screenshot of your audit log so we can take a look at output.
Thanks!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.