Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way using JIRA Automation to validate the contents of a Labels field type?

Lorraine Gorman
Contributor
June 27, 2022

We have a constraint to use pre-existing custom fields when our Jira instance moves to a shared Data Center instance.  We have some select list field types that we can not create on the new instance.  However, there are many label fields we can take advantage of.  So, we would like to limit the value list of what is entered  in a labels field to specific values.  For example, if we only want to allow values 1, 2 and 3 in a labels field, can this be done using a rule?  

1 answer

0 votes
Andreas Knecht
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 27, 2022

Hi Lorraine,

With automation rules you can only act "after the fact".  So after a user has picked an invalid label, you could then edit the issue to remove said label, or leave a comment, letting the user know they've specified an invalid label.

I think what you're after sounds more like workflow validators/conditions to prevent issues from being created with invalid labels in the first place:

https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/

Hope that helps.

Cheers,
Andreas

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events