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,294,708
Community Members
 
Community Events
165
Community Groups

When Issue Is Mentioned in {{issue.description.body}} add as Linked Issue = Related

Context

I'd like to improve visibility across related issues by automatically associating them with one another when referenced in either comments OR description body.

 

Acceptance Criteria
When Issue Is Mentioned in {{issue.description.body}} add as Linked Issue = Related

 

Example solution in bottom image for solving this when {{comment.body}} contains regex as provided by Jira Cloud default template, but when I attempt to update this, JIRA restricts me to only link issues based on "Trigger Issue" or "Most recently created issue"


Screen Shot 2022-05-19 at 10.57.29 AM.png

Screen Shot 2022-05-19 at 10.55.44 AM.png

2 answers

Hi @Vincent Lucero 

To use the Link Issues action to a smart value expression, type (or paste) the expression in the field and it will appear below the field.  When finished typing/pasting, select the value below the field and it will be used.

This works for many of the actions which have a drop-down list of options for a target issue.

When you expect more than one issue to link, instead use the branching technique that Mark describes.

Kind regards,
Bill

0 votes
Mark Segall Community Leader May 19, 2022

Hi @Vincent Lucero - You could do something like this:

  • Create a variable to capture the key referenced in the description
  • Branch by JQL
    • key = {{yourvariable}}
    • Link to trigger issue

Suggest an answer

Log in or Sign up to answer
TAGS
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,786 views 2 7
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