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

Accepted Answer
0 votes

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,248 views 2 7
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