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

This widget could not be displayed.

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.

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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

124 views 2 0
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