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,554,124
Community Members
 
Community Events
184
Community Groups

Automation : Add a comment on lookupIssues

Hi there,

One of my service desk receives ticket from another external service desk.

I setup an auomation that copy the ticket reference to an external id field and it works fine.

What I'd like to do right now is :

1- When a new ticket comes

2- Search through existing tickets if I found one with the same reference

3- Add a comment to the looked up issue.

How can I perform an action over à looked up issue from {{lookupIssues}}

Thanks a lot,

Etienne

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 22, 2022

Hi @EtienneSevin 

You could do this by instead branching on the JQL used in the lookup issues, or use an advanced branch on the keys found in the lookup.

Kind regards,
Bill

Thank you Bill, that's what I'm doing actually (see below).

But when I use the Add comment action, it will add comment on the main issue, not on lookupissues.

I dropped the add comment action waiting for a solution.

Kind regards,

Etienne

JiraSupport.jpg

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 23, 2022

You do not show what is in your advanced branch as the source, and if it is lookup issues you may need to specify the keys.

The other way to do this is just with a branch:

  • ...some rule steps
  • branch: on the JQL you use for your Lookup Issues (instead of using the lookup)
    • action: add comment, one by one for each issue found
  • ...more rule steps
Like # people like this

A huge thank you Bill, I didn't see branches were JQL compatible !

Merci beaucoup !

Etienne

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events