Hi,
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'.
TIA
Yossi
Hi Yossi,
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.
Best regards,
Peter
Hi Peter,
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yossi,
You could take a look at the JIRA Suite Utilities plugin wich has a post function to copy field values.
https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities
Best regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I actually use this plugin for other purposes, but since it's workflow-dependent, it won't work with standard edit, or inline edit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the second option is probably what I'm looking for - thanks! I'll give it a try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Best regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the second option is probably what I'm looking for - thanks! I'll give it a try
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In JIRA cloud you can add "Field has single value Validator" for fix version, under validators
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.