I know this question was raised a few times in the past, but none of the suggested solutions/workarounds/hacks seems to work with JIRA 6 (we're running jira 6.0.8), no matter if you edit this field in-line or using a screen.
I thought I could hide the field from the edit screen, and use workflow transitions in order to edit and validate the field, but that didn't solve the problem of inline editing (since, as a system field, it is always displayed); and there is no reasonable way of disabling inline editing in JIRA 6.
So, does anyone have a way of preventing users from entering multiple versions in the "fix version/s" field? at least something that will show a notification such as 'Multiple versions are disallowed in the Fix Version/s field'.
You can use the field configuration for your project to simply hide those fields (they will not show up on any screen you will be using. You can now replace them with a custom field of the type Single Version Picker.
I hope this helps.
That's a good suggestion, however we need the default fix version/s field to be updated as well due to JIRA Agile and many other plug-ins/reports/scripts that use it.
One solution for that is to write a listener that, whenever that custom field changes, it will automatically update JIRA's fixversion field. I'm not very familiar with listeners so I don't know if that's even possible (espcially in case of inline editing).
You could take a look at the JIRA Suite Utilities plugin wich has a post function to copy field values.
No that's true, you could take a look at the scriptrunner plugin for that.
Or you could remove your custom fields from the edit screen (which causes them to be uneditable inline) and use the post functions on the create transition.
Both are options.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.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