Is there a way to create multiple label custom fields that share the same "label namespace"?

I am looking for a way to create multiple custom label fields that access the same set of labels. For example:

* Serial Number(s) Requested

* Serial Number(s) Received

Both of these fields should autocomplete from the same set of labels, i.e. the set of serial numbers that exist.

Is there any way to do this?

Another related question is, can "aliases" be created for a label field? For example, if I want to refer to a given label custom field by one name in screen X and a different name in screen Y, but use the same set of labels in both contexts.

Thanks very much.

3 answers

1 vote

Not natively. The point of each label field is that they are separate, and generally, if you need the same lists, you use the same field.

I suspect you'll need to do some coding to achive this.

For the second question, again, coding is the only way to address it, but I actually suspect it's a dreadful idea because the whole point of a label is to use the SAME word to tie together things that are generally unrelated in any other way.

Thanks for the response. There are definitely cases that this is useful, where you want to capture a tag and allow it be be reused in other contexts. I may need to refer to the same "thing"/token with different intentions. Either of the above addresses this, though I agree that the second is a bit hacky.

Any suggestions on where to start if I were to do some coding to address this? I guess I could make N fields, one for each use of the common label, and have some hook to replicate the label to each of the N-1 fields when it is added to one. This obviously sounds like a really bad idea though, hard to maintain and ensure consistency.

Any thoughts on a more graceful alternative?

The answer appears to be "no".

Trying to close this question.

You have to accept an answer as correct to "close" a question.

(My answer was 90% of what you needed, sorry I didn't manage to follow up with "no, sorry, there are no graceful alternaties, you need to write code")

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

84 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you