I need to Restrict a bug to move from one project to another if fixVersion is numeric. I tried using the validator on both the project workflows for the create transition but didn't work.
There's no way to do this, without writing your own "move" code, or hacking the existing one.
The move permission allows a user to move an issue out of a project, but has no further conditions or anywhere to add them. (and they need create permission in the target project). It doesn't care what the data is, until it does the check that the configuration in the target matches the source.
The closest you can get is to ensure the target project does not have any numeric versions, although you're going to have to map the versions anyway.
I've not looked into the code for Jira for a while, and I can't remember exactly.
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.