You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hey all,
I have a trigger to create an issue.
The trigger is when a field value is changed to "X", an issue (System Change) is created in the same project.
However, I would like to check for duplicate issues already created with the same "Summary" and issue type prior to creating the issue.
If the issue type with a matching Summary already exists, do not create a new issue.
Instead, link the triggering issue to the existing issue (System Change)
Thanks in advance.
@Justin Gan , Welcome to the Atlassian Community!
I think you can use an automation rule like this:
Rule details:
- The variable resume was created with the smartvalue {{issue.summary}} from triggerIssue so that you can use this value in lookupIssues
- The JQL inside lookupIssues is just an example. You should switch and issuetypes for your use case. I referenced the word 'Atlassian' just as you will use 'Requires Tuning' in your case.
- {{lookupissue.size}} equals 0 > The lookup doesn't found any issue with the "triggerSummary Atlassian" then will create the issue with this value in the summary field
- {{lookupissues.size}} does not equal 0 > The lookup found issues with the "triggerSummary Atlassian" and will associated all this issues founded with the triggerIssue
Ps.: If the triggerSummary has characters like " / - ( the lookup will not work. Need to be a simple summary with words and spaces only.
@Stephen Wright _Elabor8_ , feel free to add any comment to improve this rule. It's always awesome heard your comments
I can see the logic here is similar as well and I would have gotten to the intended result with this. Thanks heaps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Justin Gan
Just to confirm, the logic is...
---
Can we clarify...
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Stephen,
Yes, the logic is correct.
Can we clarify...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Justin Gan
Great, see my recommendation below!
---
A few notes on this rule...
---
Let us know what you think!
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made some minor tweaks but the logic you've provided is sound!
Absolute rockstar with the documentation and explanation. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome! Glad you found a rule that works for your scenario :)
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi to all discussion member!
I'm trying to set up the same, but a much simplier option. I want to link duplicated issues once the ticket is created. I set up the rule like this below, but it seems like the rule finds similar issues, but doesn't link them (I've tried comment issue instesd of linking). What do I do wrong in this scheme?
(I use Jira Software project for this).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Trigger Issue action instead use Link to Trigger Issue try to use the smartvalue: {{lookupIssues.key}}
This smartvalue is responsible for displaying the issues that were identified in your lookup query. Then he must associate the identified issues with his current issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fernando Eugênio da Silva ,
The thing is that there;ro no other options insead of these two unfortunately....
That's why I'm struggling with this rule. Everything changes so fast in functionality, that tutorials that have been posted doesn't work anymore....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to input manually the smartvalue {{lookupIssues.key}}. When you manually enter the smartvalue, just click on it as shown in the image below and it will be applied in the automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you a lot! It wasn't obvious. I really appreciate your advice. It helped me finally!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.