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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,556,237
Community Members
 
Community Events
184
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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 06, 2021

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

HI @WAJDI ALZINATI  I used a Behaviour with a mapping and then put the script of the example and change by my custom field

thanks

Regards

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events