Can we change by any means default value for fixversion from "Empty" to "Not Planned"

Jayashree Shetty
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 9, 2014

Some issues will not be assigned the fix version. Hence when we want to search such issues we use the JQL as "fixVersion is EMPTY" . Can this by any ways changed from Empty to Not Planned? Since this is not a custom field we wont get the edit field value so is there by any other way we can change it? Or is it that we need to change the JIRA source code?

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2014

Ugh, no.  "field is empty" is a standard JQL phrase and really does mean "field is empty".  To change it, you'll have to hack the JQL language to make one specific field understand that a different phrase means one thing.

If you really do decide to do this, then PLEASE do not remove the "is empty" from the field, the vast majority of your users understand perfectly well how "is empty" works and you'll cause more problems if you stop it working for a field.  It's safer to just add "not planned" as a form of alias when the search detects "fixversion ..."

Jayashree Shetty
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 9, 2014

So that means Nic we need to have some sort of scripted jql function to do this. This request has been raised by our customer so just was trying to get an answer if this could be implemented/changed.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 10, 2014

That's the way I would approach it, yes. A script that could pick up a user entering "not planned" and think "ahah, they mean fixversion = empty". That wouldn't affect any of the core behaviour, you wouldn't need to hack anything, just write a plugin to provide it, and "fixversion = empty" will still work properly.

Jayashree Shetty
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 16, 2014

Thanks Nic :)

Suggest an answer

Log in or Sign up to answer