(issuetype in ("Bug", "UT Defect", "SIT Defect", "UAT Defect")) AND ("Parent" = ICOMS-1)
its not working, please help! which step i did wrong?
Hi @wayneliew
Welcome to the community.
What is show in the audit log of the rule, what is the error given.
But is this user granted the correct permissions on the project?
The user is granted correct permission on the project and there is no error given.
Is the JQL condition failing or not and what is the scope of your rule (see rule details)?
Is this set to multiple projects or global?
Simplify your JQL as well, to: issuetype in ("Bug", "UT Defect", "SIT Defect", "UAT Defect") AND Parent = ICOMS-1
The automation is set for a particular project only as team managed. Have tried your simplify JQL, its not working also.
Hi @wayneliew -- Welcome to the Atlassian Community!
Short answer: always add the Re-fetch Work Item Data action immediately after the Work Item Created trigger to reload the data.
There is a known racetrack timing defect with work item creation such that the rule can start before all data is available to the rule. This can lead to strange errors or unexpected condition results due to empty fields. In a recent post, an Atlassian automation team member stated they know about the problem and are actively working on architectural changes to solve it; there was no timeline communicated.
The mitigation for this is to always add the Re-fetch Work Item Data action immediately after this trigger type. That will slow the rule a bit and reload the data before the steps proceed. Please add that and retest.
FYI -- This defect also means one should not use the new feature to add conditions directly to the Work Item Created trigger; instead add the re-fetch and then include separate condition checks.
Kind regards,Bill
It looks like you're new here. Sign in or register to get started.