It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

All versions custom field?

Timothy Harris Feb 13, 2017

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
Nic Brough [Adaptavist] Community Leader Feb 13, 2017

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.

Timothy Harris Feb 13, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira Software

Early Access: If you use Jenkins and Jira Software Cloud, you need to read this!

The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...

285 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you