I am using Jira automation to stub out "standard" Epics when a new Initiative is created. This is my first of two questions:
Thanks in advance!
Hi @Steve Tedeschi
Without seeing your automation rule, I suspect you are correct and trying to reference the smart value {{createdIssue}} before any issues have been created.
The smart value to use depends upon your rule structure, and if you have only created one issue thus far in the rule, the value would be {{createdIssue.key}}
Where are you trying to trying to create / use that JQL statement?
If you show your complete rule and audit log details showing the rule execution, that will provide context for the community to offer suggestions.
Kind regards,Bill
@Bill Sheboy - Thanks for the prompt reply! I've added screenshot below. I'm building a simple table. The first row is a link to the parent ticket (initiative). The second is to see a ranked list of tickets within the epic (once I figure this out, I will add a row for open tickets).
The audit log shows that the ticket was successfully created. It does not show any errors.
Regarding the audit log showing no errors: in many cases when a smart value expression evaluates to null, there is no error.
I am guessing in that Issue Create action, you are trying to add a link to the same issue which is being created. If so, that is not possible because it has not yet been created and so the {{createdIssue}} smart value is null.
A work-around for that would be to add the value after the create:
@Bill Sheboy ,
Thanks again for the feedback. Unfortunately, still struggling to work this out.
I updated the initial description and added a branch to try and update without any luck. I tried to also create a subtask of the newly created task and that didn't work either.
It looks like you're new here. Sign in or register to get started.