Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,552,472
Community Members
 
Community Events
184
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events