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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you please post an image showing the audit log details (under "Show more") for the rule execution? That may help to explain what you are seeing.
Is the newly created epic in the same Jira project as the one that triggered the rule, or a different project?
If so, is your rule a project-scope or global / multiple project-scope rule?
Rules at a project-scope can create (or clone) issues in any project, but to access an issue (like with the branch), the rule must be global or multiple project-scope.
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.