Hi everyone,
It is possible to have a validation like, ensure X field is not empty while moving an issue?
For example (Our main problem), ensure field severity is not empty when moving an issue from type Bug to Story.
Thanks beforehand!
Hi Asier,
More or less, yes you can do that depending on the Move. If you are going to another Project or a different issue type (work type) you can create a Field Configuration for the Project and Issue Type combination. Of course that will not just apply to the Move function but every work item on that project and issue type. This should work quite well if Severity is required for every new work item created for that issue type.
Since the Move function is not moving through the workflow per se, you can't add the validator to the workflow for that work item though.
Okay, that doesn't make sense. You want the field to be mandatory before moving, but then you don't even have the field in the issue type you are moving to? Why make it mandatory then if you are just going to lose it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No there are no validations or conditions based on a move action, move is a permission only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fabio Racobaldo _Catworkx_
Then the field described by @Asier Vadillo needs to mandatory for each Story, so the Story needs to have its own field configuration and the field configuration scheme on the project has to reflect this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Asier Vadillo ,
for my knowledge, move action will check that all mandatory fields (for target issue type) are not missing. Do you need a specific check?
Hope this helps,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is not the case, the issue will be moved without the field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.