Configure 'Labels’ field to point to ‘Fix Version/s’ field by default

Hi, I'm using Jira 4.3 version.

Is there an configuration to point 'Labels’ field to point to ‘Fix Version/s’ field by default.

For e.g. if 'Fix Version/s' value is entered as '1.1', the 'Labels' value should automatically show '1.1' .

Can this be accomplished ?

Thanks in advance.

2 answers

1 accepted

0 vote
Renjith Pillai Community Champion Oct 14, 2012

Use JIRA Suite utilities plugin and copy the value from FixVersion to Labels in a post function (Copy Value From Other) in "Create Issue" transition (if you are collecting fixVersion during issue creation) and also in all transitions that changes the FixVersion. And remove FixVersion from the edit screen.

I have not tested it, it may work.

I'm not sure that'll work - I think the Jira suite utilities can only copy between fields of the same broad type (text -> text, date -> date etc). In this case, you'll be copying Version -> Label.

I do have one reservation about it as well - version names can have spaces in them. Labels can't. So I have a horrid feeling that you'll need code even if the JSU works, because the JSU copying "Our Fix 12.3" will create labels "our", "fix" and "12.3" and you need to code for renaming it to "our_fix_12.3" or something.

Still can't hurt to try it though.

Renjith Pillai Community Champion Oct 14, 2012

You are right, it a weird mix. Script runner will be the best option to have better control.

0 vote

You need to find or write a listener that will pick up any events that are fired by changes to the issue, reads the event for the change of version, and duplicates the version information into the labels field.

If you need to write one (I'm pretty sure you do, I'm not aware of a plugin that provides this already), then it may be worth installing the "Jira script runner" and using that to do it.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot