Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Next-gen Automation: Target epic's linked issue correctly if there are multiple linked issues

Daniel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 6, 2021

Deleted

1 answer

0 votes
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.
December 7, 2021

Hi @Daniel -- Welcome to the Atlassian Community!

If I am understanding your use case correctly...

First thing, nextgen (now called Team-Managed Projects) cannot have multiple boards yet.  That means you are talking about linking/updating issues in different projects and that requires a global / multi-project rule.  Correct?

Next, to do what you ask you could use an advanced JQL statement to find your issue for the link: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/#Advancedsearchingfunctionsreference-linkedIssueslinkedIssues--

For example, and I am assuming your trigger issue is the standard issue in Board A:

issue IN linkedIssues( {{triggerIssue.parent}} , "clones") OR issue IN linkedIssues( {{triggerIssue.parent}} , "is cloned by")

 

Kind regards,
Bill

Daniel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 9, 2021

Deleted

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.
December 9, 2021

Hi, Daniel.

Yup, I got what you were trying to accomplish, and sorry I didn't clarify my suggestion better.  The issuelinks from the Parent have only the key, and not the rest of their data, such as linktype.  If all of that data was present, you could use list filtering to do what you asked.

As that is not possible, I was suggesting gathering the issues using JQL on the trigger issue key and the link type you want (perhaps with Lookup Issues).  And then use the results to get the specific epic you want for the link.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events