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

How do you restrict the ability to create labels to a specific group of users?

Logan Hawkes Mar 27, 2012

I have a large number of test cases in Jira that are tagged with various labels. Many of the labels are redundant, as they are either the same word misspelled (Acceptance, Acceptence, Accepence, Aceptance, Aceptence) or a variation on another label (collector, collectors, datacollectors, data_collector). I'd like to restrict the ability to create new labels to a specific user or set of users, but there doesn't seem to be a way to do it.

So far the best solution I've come up with is to create a set of "correct" labels and hope that people will use the auto-suggested label. This has not proved successful. Today I found that a user has been labeling test cases with the IP of the server used for testing (as opposed to the "Test Environment" field). Just to add to the fun, she used commas instead of decimal points at random: "172.17,10,1", "172,17.10,1", etc.

Does anyone have any ideas for imposing order on the situation?

4 answers

0 votes
Renjith Pillai Mar 27, 2012

Labels are something which is usually left to the discretion of the users to decide the right content. But if you need to restrict, may be just you a Multi Select custom field and call it Labels.

0 votes
Logan Hawkes Mar 27, 2012

Sadly, I'm trying to avoid using a multi-select, as I need a large set of identifying tags. I've been trying out the MDSF plugin so I can use more than two levels of cascading selects, but it has its own limitations.

0 votes
Loredana Jan 30, 2013

I have the same issue with label-type fields and am looking for a possibility of restricting it to the project role. So far no idea how.

Any ideas? Thank you for the help!

Renjith Pillai Feb 02, 2013

Thoughts:

  1. Create a transition for your workflows (global) which says 'Change Labels' and protect that transition only the project role. Use a screen which has just the label field.
  2. Created a scripted field that shows the values from the label field so that you can use that in the View issue screen and remove the actual label field from the View issue screen.
Loredana Feb 04, 2013

Thank you Renjith for your suggestions.
I'm not quite sure what do you mean by "a scripted field that shows the values from the label field". How can I create such a field? You mean to be able to just see the label field on the View issue screen, but only static, so that nobody else can edit it...?
Many thanks!
Loredana
Renjith Pillai Feb 04, 2013

Sorry missed to add the link in the previous comment. The scripted field comes from Jamie - https://jamieechlin.atlassian.net/wiki/display/GRV/Script+Runner

Martin von Arx May 26, 2014

Hi,

I have done the 2 steps you have described on Feb 03 '13.

But now I have the problem to write the correct script to show the contents of the label field on a transition. So that the jira-users can choose several items of the list and add to an issue.

How do I have to write that script?

Regards

Martin

@Renjith Pillai, if you're still on here, I'm not sure I understand your answer here or below. Do you know if Atlassian has come up with any way to allow administrators to limit the number and/or names of labels within an enterprise's Confluence pages?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Here’s what we’re doing to make Jira Cloud faster

Hello Community 🤗 I’m Nikhil, a Product Manager on the Jira Cloud team working on performance improvements. Performance is an ongoing journey and we continue to invest heavily in it. We under...

102 views 0 16
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