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

Automation : Add a comment on lookupIssues

EtienneSevin June 22, 2022

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.
June 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

EtienneSevin June 23, 2022

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.
June 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
EtienneSevin June 23, 2022

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