Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I Restrict a bug to move from one project to another if fixVersion is numeric

smuppala March 28, 2018

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. 

1 answer

0 votes
Nic Brough -Adaptavist-
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.
March 28, 2018

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.

smuppala March 28, 2018

Thanks Nic for the response. Any idea where the move code exists?

Nic Brough -Adaptavist-
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.
March 28, 2018

I've not looked into the code for Jira for a while, and I can't remember exactly.

smuppala March 29, 2018

Thanks for the response!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events