Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,466
Community Members
 
Community Events
176
Community Groups

How to follow duplicate issues in Jira?

Many Jira users, especially those whose work is connected to Service Desk, have the same problem – a huge amount of duplicate issues. It’s a common thing when a client always has the same issue all over again as an unstable connection for example. And it causes a number of issues with the same parameters.

So, is it possible to follow all these duplicate issues?

You may know that Jira has an excellent tool as Automation. It lets you automate your everyday actions and workflows by creating rules to handle required scenarios.

In Automation Cloud Library there is the Close duplicate issues rule, but if you look inside the rule you’ll see that the rule just closes an issue that is linked as Duplicate. It does not show the process of duplicate issues search.

Screenshot 2021-02-03 at 10.42.52.png

Let’s think about how we can find the duplicate issues using Jira tools.

We can use a JQL query and set the parameters we need to find duplicates like in the example:

Screenshot 2021-02-03 at 12.18.13.png

The problem is we don’t know the parameters we need because the new duplicate issue does not exist yet.

It can be handled with smart values (you can read about them here).

The smart values help us with Automation settings when we want to find duplicate issues using JQL. We can find matches in fields among issues even without knowing the values.

 

Set up example

Let’s take the case when we need to check for duplicates every new issue with the full match by Problem and Client fields (a client has a repetitive issue).

In case of duplicating, Jira links all the discovered issues to the new one with the link type Duplicate.

It’s easier to search by fields with values to be selected from a list. In this case, we can avoid not accurate spelling problem.

 

Pick trigger

Determine when the rule starts. In our example, the trigger is a new issue creating. 

Screenshot 2021-02-03 at 12.06.57.png

Narrow the scope of your rule

New component → Branch rule/related issues

Here we determine conditions for launching a rule.

In our case, we use the JQL with the smart values for the search.

When we set the values for the fields we use this syntaxis:

{{triggerissue.customfield_10034}}

That can be read as "the value of the field with id 10034 from an issue that was the trigger for this rule".

Pay attention that the syntaxis depends on the field type. Here we use the text field syntaxis.

If you have another field type, please, verify the syntaxis by this link.

Screenshot 2021-02-09 at 12.59.40.png

The search through all issues takes time.

To cut the time you can narrow the scope even more. In our case, we check the matches only for issues that were created within the last 3 days.

 

Ad action

New Action → Link issues

Screenshot 2021-02-03 at 12.44.51.png

In the example we want the discovered duplicate issues to be automatically linked to the new ones.

We use Link issues action and when we choose the link type we have in mind that this action is for “old” issues so those discovered issues should be marked as is duplicated by.

It was one of the ways how to make your workflow easier using Jira Automation.

0 comments

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events