All versions custom field?

Say you have a need for a single or multi select custom filed which contains version from all projects.

 

Does anyone know of any existing plugins? If not. What would be the best approach? 

Would this require a new custom field plugin if nothing exists in the market place? Last I checked script runner scripted fields were read only. 

1 answer

1 accepted

0 vote

You are going to need a new custom field add-on.  It's going to be complex to write too, unless you drop the idea that the items in it are "versions".  Versions belong to projects, so the code in JIRA connects them a lot.  If your field were to contain proper version objects, it won't work on issues because the issue is part of a project that many of the options are not.

It might be better to simplify it.  Create a simple custom field with standard options.  Then write a listener that listens for version events (create, update, delete), so that when a version is added, it copies the name of the version (and project?) into the new custom field.  You'll want code for version renames, deletes, archives and so-on.

Hi @Nic Brough,

 

Thanks for the input. Kinda figured it would be a bit of a pain. sigh...

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

123 views 4 9
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