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 votes
Answer accepted

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
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

397 views 1 13
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