The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Groovy Expression in JMWE: How to check for duplicates?

Антон
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2020

Hello!

Need a help.

I need to know that the project has tasks with the same name.

When creating a new task, you need to check the names of existing tasks and, if there are duplicates, display a link to these tasks in the "Duplicates" field.

I create a script-field "Duplicates".

How to do this using with a Groovy expression (condition, validation) ???

 

Thank you for your help!!!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
David Fischer
Community Champion
January 25, 2020

What is the type of the "Duplicates" field you have created? I'm not sure in which type of field you can display links to issues... Also, why not create a "Duplicates" link instead?