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
Community Members
Community Events
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,


1 answer

1 accepted

1 vote
Answer accepted

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,

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,



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 EtienneSevin likes this

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

Merci beaucoup !


Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,913 views 2 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you