Display the linked issues keys within a comment

Nita Brumbaugh November 5, 2019

I can get the search to work in JQL by utilizing issue in Linkedissues("ITACE-186")  - the ITACE-186 is the JSD project/ticket#

 

I tried the following smart value in the comment field:

Hi {{reporter.displayName}}

A linked issue has been created for your request as {{issueKey}}

Thank you!

 

This displays the actual issue, so I tried the following to get the linked issue keys to display in the comment

{{issue in linkedissues("{{issue}}")}}

{{issue in linkedissues("issue")}}

I've tried several different syntax and can't get anything to work.  I've looked at the smart values documentation for automation:

https://docs.automationforjira.com/reference/smart-values.html#issue

I searched the community and found the Issue in LinkedIssues, but have not been successful with the syntax.  I'm sure it must be my brackets that are incorrect.

I want to list the linked issues in the comment of the parent issue and share the comment back to the user in the customer portal.

Any suggestions would be welcome.  Thank you!

 

1 answer

1 accepted

0 votes
Answer accepted
Łukasz Modzelewski _TTPSC_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 13, 2022

Probably it was solved and forgotten already, but what you would have to do is use the lookup issues action first, then use those issues in the new comment.

About lookup issues action: https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Automationactions-Lookupissues 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events