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

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

List linked issues depending on the "Type of Link" using smart values

Deleted user Apr 22, 2021

I am implementing a Automation Rule that requires to list in a comment in the trigger issue ONLY which linked issues under a specify "Types" of linking; which the Branching rule / related issues was applied.

The part that perform the action on the Linked Issues has been implemented.

But I need to add a comment in the trigger issue about which issues were "synchronized".

Unfortunately I cannot find precise information in JIRA documentation for smart values about the use of this smart value {{issue.issuelinks}}

Here is which combinations I have tried and the results I get, but I cannot fin the ones that for a specific Types of linking for example "is caused by".

  1. {{issue.issuelinks}}
    • List all linked issues to the trigger issue (no matter the type of link)
    • Types "blocks" is listed first in the list, then is blocked by, then clones, etc.
    • Repeated linked issues are not listed (which is good)
  2. {{issue.issuelinks.Issue}}
    • generates the same as in 1.
  3. {{issue.issuelinks.outwardIssue.key}}
    • list issues which link is "blocks", "clones"
  4. {{issue.issuelinks.first.outwardIssue.key}}
    • List the first issues which tpye is "blocks"
  5. {{issue.issuelinks.last.outwardIssue.key}}
    • No exit is generated
  6. {{issue.issuelinks.inwardIssue}}
    • List linked issues which types are "is blocked by, is caused by, is...." together.
  7. {{issue.issuelinks.outwardIssue}}
    • List types "blocks" and "clones"


If I want to list ONLY the ones which link types is "is cause by", how to set the smart value?

I found that the "order" on which the issues are listed for example first blocks, clones, etc.

Depends on how is sorted in the configuration!default.jspa (there is defined which are Outward and Inward).

As well I found that using 


I can get position 0, 1 from all linked issues to the trigger issue.

But not yet how to list ONLY the ones that are from a specific Types of linking.

4 answers

0 votes


I have been searching for hours! You beautiful person :)

This has helped me big time...


@Bill SheboyAny idea how to do this in Data Center as it doesn't have the option for lookupIssues ?

Hi @Jenni Järvinen 

First thing, I am using the Cloud version so my knowledge on this topic is based on the documentation and community posts...

For the Server/Data Center versions of automation rules, they have a "bulk handling" feature for the scheduled trigger on JQL and for branches.  With those you then have the {{issues}} smart value (note it is plural).  This should allow the same things as Lookup Issues does for the Cloud version.

Please look here for information about that feature:

Kind regards,

Hi @[deleted] 

You may do this in two steps: gather the links of the type you want, and then create the list of the issues.  For example to find the linked issues of type "is caused by" from one issue and add a comment:

  • Trigger: manual (you can change this as needed)
  • Action: lookup issues on JQL with 
issue IN linkedIssues({{issue.key}}, "is caused by")
  • Action: comment on issue with something like this...
These linked issues are "is caused by": {{#lookupIssues}}{{key}}{{^last}}, {{/}}{{/}}

To learn what fields are available with Lookup Issues, please see this documentation.

Best regards,


0 votes


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

1,113 views 10 20
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