So my requirement is, whenever a user creates an EPIC in a project, the child issue of type 'To Do' should be created using automation rule.
Purpose: For tracking the progress of an EPIC through the To Do lists inside it.
I tried by using this:
When: issue is created
If issue type= Epic
Then: Create a new To Do
Here's the snapshot of the Automation rule that I have defined on my side:
This is failing
But if instead of To Do, if I am defining issue type as create a new 'sub task'
Then is it working...
I would be grateful if anybody shares a workaround
This is the Audit Log:
I have already selected an option to derive the 'Component' field from the EPIC, then too getting this error and the To Do is not created.
Hi @Saili -- Welcome to the Atlassian Community!
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
If your rule is creating the new issue and copying from the trigger issue, this may be a timing problem in the rule.
The Issue Created trigger can fire so quickly that some data may not yet be available to the rule, leading to errors or unexpected results. The fix / work-around for that is to always add a Re-fetch Issue action immediately after the Issue Created trigger. This will slow down the rule a bit, reloading the issue data before the other steps continue.
Kind regards,
Bill
Thanks a lot @Bill Sheboy
I realized where the actual problem was. This hint helped me: "always add a Re-fetch Issue action immediately after the Issue Created trigger".
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.