Automation: Link to child issue of {{createdIssue.key}}

Nguyễn Thành Long August 3, 2023

I am having a quite specific problem that I am not able to look for solutions myself or from googling.

I set up a workflow where user submit ticket through a service project and that in turn will trigger an Epic to be created in a different software project. The creation of this Epic will in turn trigger creation of a child issue.
For users to understand the progress of their ticket I would like to set a comment that link to the newly created child issue. I was able to comment link to the epic in the original service project ticket.
Hope I am clear here.

Thanks 

1 answer

1 vote
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 3, 2023

So you have this flow: service project ticket -> epic -> child ticket

You can add a link to the epic in the project ticket because the project tickets triggers your automation rule to create the epic. So the project ticket is accessible via the automarion rules.
That's how I assume you did it.

And the creation of the child item is done by another automation rule?

How I would do this:

Rule 1: creates the epic when service project ticket is created + links the service ticket and epic together with an issue link using the link issuesaction

Rule 2: creates the child issue when the epic is created. + with a  For each - Branch rule / related issues you specify the link type you used in rule 1 and create a comment on the original service ticket with the URL to the createdIssue.

I hope this gives you some insights.

Nguyễn Thành Long August 4, 2023

Hi Charlie, 

Thanks for the suggestion. I actually had this idea in mind since the trickiest part of this problem is there another layer of new vs trigger issues relationship. However, I was not able to reproduce the solution in jira automation. I am not from technical background (as you can refer from my question) so would I really appreciate if you can help me with how can I set this up in automation.

Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 7, 2023

Hi Nguyễn,

Can you tell me where you are stuck please. I did not fully understand your last reply, I'm sorry.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events