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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Comment

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

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

173 views 0 3
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