Link issues based on summary string

Benjamin Compayre March 10, 2023

Dear community,

I'm struggling with an automation I've been asked for by our Release team. Let's start with a bit of background : we've got 2 projects in which we track the deployment of new releases via specific issuetypes (one per project, let's call them AR and PR), each of those issuetypes get the release number as the unique string in their summary.

We then have another project from our production team with a third issuetype called Release which gets issues created via a Jenkins automation. The summary in that case is based on two custom fields, App Name + App Version.

What I'm asked now is to link any AR or PR issuetype to an existing Release issuetype whenever they're transitioned to a specific status, but I couldn't find how to achieve it for a related issue and get either its summary or the App Version customfield value from the summary of the original AR or PR issuetype (as they're supposed to be the same), all my attempts end up with "No related issues could be found." on the "Branch rule / related issues" component, no matter whether I try with summary ~{{triggerIssue.summary}} or "App Version" ~ {{triggerIssue.summary}} in my JQL.

Screenshot 2023-03-10 at 12.20.10.png

Any insight would be appreciated, cheers y'all.

Ben

 

Edit : also tried with {{triggerIssue.fields.summary}} instead, without luck. Creating a variable with the latter then using it in my JQL search didn't return any item either.

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 10, 2023

Hi @Benjamin Compayre - Did you verify the project scope in your rule details includes all three projects?  

Benjamin Compayre March 10, 2023

Fishing hell, of course that was it. Adding the third project in the scope did the trick, thanks a ton for the swift answer @Mark Segall 

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events