Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,371
Community Members
 
Community Events
168
Community Groups

Link newly created ticket with originating ticket while also linking originating ticket to new ticke

I have some automation running that is triggered when a ticket is labeled a certain way. The automation works fine, but I want to add in a linkage to both tickets. The new tickets are created on another project board as a task. In the new ticket I would like to see to see if there was a way to link the newly created ticket with the originating ticket, but also link the newly created ticket with the originating ticket. 

3 answers

0 votes
John Funk Community Leader Sep 23, 2021

Hi Russ,

Can you share the current rule that you have?

Hey John, absolutely!

Here you can see an overview of the rule. Essentially, the rule says when the label value changes to a specific pre-defined label, a comment is added on the trigger issue stating that a new ticket is being created on another board and assigned to a user who manages that board. Then a new task is created on that board (PM):

JIRA_Rule_Overview.png

Within that new task creation is the detail and where I added in the link:

JIRA_Rule_Detail.png

Adding in the link on this task was the key here and not as an additional step, which is what I was attempting to do. I noted when trying to create this link as an additional step, JA would error out stating it was unable to add a link to a non-existing issue. 

The link here, also created the link on the trigger issue to the new issue on the PM board. I did not know this would be the result until it was triggered and saw in the log that it did linked the trigger issue with the newly created issue and back with the same rule. A pleasant surprise! 

Hope this helps!

Like Simmo likes this
John Funk Community Leader Sep 23, 2021

Instead of trying to update the linked issue that way, I would add a branch for most recently created issue. Then under that add a new action for Link Issues. Then put in your link type and Trigger issue. 

That was going to be my next test if what I did failed - but this seems to be working perfectly. 

Looks like after creating the link, it adds the link in both tickets automatically. Confirmed after automation ran successfully after creating the new rule. 

I was able to figure out how to link the newly created issue with the trigger issue. Still looking for a way to link the trigger issue to the newly created issue. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events