Forums

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

How to compare two cards with the same summary from two different projects?

jovanio_junior
Contributor
April 4, 2022

I need to configure the following automation:

When a card from the XPTO project is completed, I will have to look in another project for a card that has the same summary and add a link to it, saying that the first call has been completed.

Is this possible ?

I'm having trouble when I have to compare cards to check if they have the same summary.

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.
April 4, 2022

Hi @jovanio_junior 

What problem are you trying to solve by doing this?  Knowing that will help the community to offer suggestions.

How are you trying to perform these steps: an automation rule, scripting addon, or something else?  Knowing that will help the community to focus the suggestions they provide.

Kind regards,
Bill

jovanio_junior
Contributor
April 4, 2022

i'm use automation, like a print:

i'm having trouble when I have to compare cards to check if they have the same summary.

 

erro jira.png

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.
April 4, 2022

Thanks for that information.

In your JQL the closest you may get is using the CONTAINS operator ~ and not necessarily finding an exact match.

For your rule, your JQL should compare to the trigger issue's summary:

project = NFME AND summary ~ "{{triggerIssue.summary}}"

Please also note: this rule is trying to reference issues in multiple projects, and so it will need to be either a global or multi-project scope rule.  There are limitations on the number of such rule executions per month, depending upon your Jira license level.  Please check with your site admin before enabling this rule.

jovanio_junior
Contributor
April 4, 2022

Bill, 

Thanks for the tip.

That way, automation can search and find the card with the same summary in the other project, but it still doesn't link to each other, like the cause link.

I need the link to the trigger item to appear on the card found in the search.

11.png222.png

Suggest an answer

Log in or Sign up to answer