I m giving the IT-guys the fits here with the wish for a custom field - vanilla three-valued (null/false/true) DB field.
"None" seems somehow to be synonymous with Null I m told and carved in stone, but "None/False/True" or "None/No/Yes" doesn t make sense, while "Null" or "Unknown" for the first default value would be perfect.
PS: Just got a 504 from the Answers site and pressed Reload. Guess that s why the topic appears twice!!!
Well, the true/false bit is a doddle in a select list, but I can see the ugliness with "null"
Jira always offers "none" in a select list, but it's not a null, it's a fourth state. For the users it really means "I choose not to enter the data", and in the database, it means "don't even create a record for this". Which is not even "null", it's "nothing there at all". Of course, the code doesn't like "null" in the database, so you never end up with a record and a null.
I think what you really want to do is
1. Add a field as usual, with Null, True and False
2. Supress Jira offering "none" to the users
That will give you a field which is always set to null, true or false, no matter what. Unfortunately, you'll need to do a bit of tweaking to do this - have a quick search here for "Jira" and "none" and "Select" and you'll see you're not alone.
Another option might be to hack the language and replace "none" with "null", but that'll make the other fields look odd...
Yes, I thought the change of none to null was probably a dead-duck, but I thought it was worth mentioning. It's worked for one of my clients (albeit not "null", but the language they needed was generic enough to make it look ok)
There's the hacks I mentioned searching for before - they aren't too huge, but do need a bit of understanding and a restart of Jira.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG