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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Use RegEx to restrict data in Custom label field

I have created a custom Label field. If I want to restrict users to be able to add data that matches certain pattern, is that possible without going to any plugin?

e.g. Strings matching the pattern ABC-\d\d\d or DEF-\d\d\d\d\d\d should only be allowed in the custom label field.

I am using premium cloud version.

1 answer

1 accepted

1 vote
Answer accepted

Hello @Vishal Biyani 

You can't restrict label field out of the box. A label field is made to allow users to put whatever data they want/need. You can try to use a customfield with restricted option instead.

 

Hope this helps

@Moh - i have created a custom field of type Label. Any suggestions how to restrict data in this field using RegEx?

No, as that defeats the purpose of the label field.  Use a multi-select custom field instead, then you can completely control what people put in.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS

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