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,456,603
Community Members
 
Community Events
176
Community Groups

List linked issues in comment

Hi - I am trying to setup an automation that lists out all linked issues in a comment on the ticket. I'd like those issues to be clickable (i.e. not just the text but an actual URL).

I found a few examples in the community using Lookup Issues and thought the below would work (at one point it did work but I can't seem to get it worked again!).

 

The steps I have are

  • When issues is transitioned to a specific status
  • Then Lookup Issue (using the JQL below)
issue IN linkedIssues("{{issue.key}}")
  • And Add a Comment (using below format)
View linked issues below

{{#lookupIssues}}
* {{key}}
{{/}}

 

This automation runs successfully and it adds the comment but it doesn't insert any issues into the comment, even though there is a linked issue on the ticket.

 

On the audit log, there is a message that says "A search during custom value definition found no issues."

 

If I do a Jira search using the JQL but replacing the {{issue.key}} with the actual issue key, it returns all the linked issues fine.

 

I've also tried triggering this automation manually and it doesn't work either.

 

Any help would be appreciated!

1 answer

0 votes
Eric Atlassian Team May 26, 2022

Hi @JD 

 

On a cursory glance, I can't see anything wrong with the rule you described. I also find it weird that the audit log says no issues but searching manually returns some results.

 

Are you able to take a screenshot of your rule and the audit log?

 

Cheers,

 

Eric

Hi @Eric - thanks for the reply.

 

I've inserted screenshots below (this is a copy of the original issue but same issue is occuring).

 

Setup below


CleanShot 2022-05-27 at 07.49.51.pngCleanShot 2022-05-27 at 07.49.58.png

CleanShot 2022-05-27 at 07.50.03.png

Here is the audit log. Note that it is 'successful' but the lookup fails to find any issues.

CleanShot 2022-05-27 at 07.57.58.png

 

Here is an issue where I've run the automation (relating to the audit log above). Note the existence of a linked issue and the comment is added, but nothing is linked.

CleanShot 2022-05-27 at 07.55.35.png

Hi JD, Did you manage to get the solution? Im also looking for a solution to 

List linked issues in comment.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events