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,299,262
Community Members
 
Community Events
165
Community Groups

Validate a text field prevent duplicate ticket with a custom field value

Edited

Good morning,

I would to know if is possible to create a validation about a custom field (text field).

For example :

I need to create with scripts runner a validation that if the custom field (ID)  the value exist in another ticket of the project show a messaje (the ID already exist in issue).

or if the ID no exist create the ticket . 

2 comments

I think I want to question the need for this.  I can't imagine a good case for "prevent someone creating an issue if they have mentioned an existing issue in the text of it".  Quite the opposite - I have *definitely* raised issues saying stuff like "this is a bit like xyz-123, but it's slightly different because..."

Could you explain the use case?

 

But to get started though, the pseudo-code you should have a quick think about for this would be:

Thanks for you response,

I have completed the request .

 

regards

Hi, 

Can you assist me with the code used and how is the setup done.

 

Thanks

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

366 views 3 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you