Is there any JQL/Automation to find out duplicate issues are being created?

Kanaka Ponnuru September 5, 2023

Hi Team,

Is there any way to find out duplicate issues being created for a particular Subtask issue under a parent issue?

Actually we were trying to find out duplicate issues but not getting the logic to find out those duplicates.

I have tried in multiple ways to find out I am only getting results but along with the duplicates, original issues are also filtering. I have attached one screenshot in that highlighted ones are duplicates and other's are original issues.

So here how we can find out only duplicates and delete them automatically?
SS1.PNG

Thank you!

2 answers

0 votes
Kanaka Ponnuru September 5, 2023

Hi @Markus W_ BENES ,

Thank you for the prompt response.

To answer to your question 
Are they created by users? >>>>> Yes they were created by users only but I would like to highlight one point here that all the issues that were created by users are not duplicates. Duplicates only create when user intentionally click on create button multiple times then only duplicates are creating.

Reason for this behaviour is we have a script in place to restrict duplicates with same summary and the script is working as expected but when user clicks on create button continuously and validation is taking time to validate at this time we are having duplicates are being created with same summary under a parent issue as shown in my previous comment.

I hope I have given enough details to address this issue in a better way. If not please let me know.

Is there any any way or automation rule for this?

Thank you!

Kanaka Ponnuru September 5, 2023

Hi @Markus W_ BENES ,

Thank you for the prompt response.

To answer to your question 
Are they created by users? >>>>> Yes they were created by users only but I would like to highlight one point here that all the issues that were created by users are not duplicates. Duplicates only create when user intentionally click on create button multiple times then only duplicates are creating.

Reason for this behaviour is we have a script in place to restrict duplicates with same summary and the script is working as expected but when user clicks on create button continuously and validation is taking time to validate at this time we are having duplicates are being created with same summary under a parent issue as shown in my previous comment.

I hope I have given enough details to address this issue in a better way. If not please let me know.

Is there any any way or automation rule for this?

Thank you!

0 votes
Markus W_ BENES
Contributor
September 5, 2023

@Kanaka Ponnuru I think the better way ist to find out how the duplicate entries get created rather than deleting them afterwards. Are they created by users? Theoretically you can delete them with an automation with scriptrunner jql filter afterwards. But iam not sure if they are realy duplicates, rather than being linked in two tickets as subtask.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events