Hey
Looking for some general advice and pointing in the right direction!
Tools: Jira, Scriptrunner , JSU
Field: Artefact ID (single line text type)
Problem: We want to prevent users entering duplicate values on this field on a transition screen. Ideally we would show a error message telling the user it is a duplicate value. And if possible link this ticket to the duplicate when they enter a unique Artefact ID.
So I believe we would need to do some validation using SQL on the database for this custom field values. Is that possible using groovy/scriptrunner?
Hoping to avoid installing/purchasing any other plugins and do this with scriptrunner
Any help much appreciated
Rich