Forums

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

I want to create an AUTOMATION so that when the user writes the same summary in another item, they a

Gustavo November 9, 2023

Captura de tela 2023-11-09 135632.png

 

 

I want to link my items when the SUMMARY field is written the same.
Ex - item 1 SUMMARY RSX-1B47
       item 2 SUMMARY RSX-1B47
Then, since the RSX-1B47 are the same, it would have to link automatically

2 answers

0 votes
Gustavo November 9, 2023

Thank you, now how would I do it to not link with old items, for example this one has already been created, then I would like the next one to be created to no longer be linked to these. Can this separation be done with a date?

Kseniia Trushnikova
Community Champion
November 9, 2023

@Gustavo, you can modify JQL and add creation date:

summary ~ "{{issue.summary}}" and created >= -30d

This JQL will only search for issues created in the last 30 days.

Gustavo November 9, 2023

@Kseniia Trushnikova 


summary ~ "{{issue.summary}}" and created >= -1d

ok, leaving yesterday's items, for example, not mixed with today's items, correct? 

Kseniia Trushnikova
Community Champion
November 9, 2023

@Gustavo, not sure what you mean... For issues created yesterday, use this:

created > startOfDay(-1) AND created < endOfDay(-1)

created >= -1d will return all issues created within the last 24 hours (this includes yesterday and today).

Gustavo November 9, 2023

No, I want to keep it as up to date as possible, preventing it from being mixed up with old records when they are linked

@Kseniia Trushnikova 

Kseniia Trushnikova
Community Champion
November 9, 2023

@Gustavo, then summary ~ "{{issue.summary}}" and created >= -1d will work.

Gustavo November 10, 2023

ok, I just have one more question, would I be able to create a lock so that when I release all the items linked together, like while all of them are not released, I don't move any of them to released, or leave the item marked saying that it still has pending issues, "item still to be be released"IMG_9373.jpeg

Kseniia Trushnikova
Community Champion
November 10, 2023

@Gustavo, I believe this can be done with Automation also, but this question differs from the original one from the post. Please create a new question, so other community users will have an opportunity to look at it and help you.

Thank you.

Like Gustavo likes this
0 votes
Kseniia Trushnikova
Community Champion
November 9, 2023

Hi @Gustavo,

The text in the title appears to be cut off. Please type your question in the field Details (click ... > Edit) or here in the comments.

Thank you.

Gustavo November 9, 2023

I updated, check below the image

Kseniia Trushnikova
Community Champion
November 9, 2023

@Gustavo, got it. The easiest way to link issues with the same summary is to use Lookup issues. Here's the example:

Screenshot 2023-11-09 at 21.23.14.png

Use the smart value {{lookupIssues}} to link the trigger issue with the ones found in the action Lookup issues.

Hope it helps.

---

Updated a screenshot, the previous one was with incorrect condition.

Gustavo November 10, 2023

He is connecting a new call with an old one
@Kseniia Trushnikova 

Captura de tela 2023-11-10 110135.png

Suggest an answer

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

Atlassian Community Events