Is it possible to enforce that each components gets a selected version ?

Description

At this moment we have mapped different component (svc_console, svc_crm_center) with different version.
We added the validator on the different transistion steps, however when I select a component (svc_console)and i do NOT select a version (svc_console_v1.0.0) for it, the validator doesn't mark this as an error and we can continue which we would like to avoid.

Is it possible to make this mandatory ? SO if you select a component you SHOULD always select a version for it as well.
See the image for

Environment

None

Activity

Show:
Rob Van Pamel
March 13, 2020, 10:26 AM

Hi Deniz,

I enabled the logging and attached it to this call (jiralogextract.txt), are you able to verify why the validator is not blocking the transistions.

Kind regards

Rob

Deniz Oğuz
March 17, 2020, 9:47 AM

Hi ,
Workflow validator doesn't need component/version field to exist on the screen during workflow transition. Even if there is no workflow screen they will perform validation on the issue values. I think the problem is you have multiple components selected and you have set "Applicable Versions in Multi-Component Issues" to "Union" so any value which is valid at least one of the selected components is considered valid for all components. To prevent this you can set corresponding setting to "Intersection".
I will update how workflow validator works for multi component versions. It will require at least one valid version exist for each component.

Deniz Oğuz
March 20, 2020, 3:05 PM
Edited

We have added a new mode to workflow validator that checks whether there exist at least one version for each selected component and each selected version is at least valid for one component.

Rob Van Pamel
March 23, 2020, 11:35 AM

Ok thanks i will try this out. In which version will this be available ?

Deniz Oğuz
April 6, 2020, 6:11 PM

Hi
This is available in 1.15.0 version.

Fixed

Assignee

Deniz Oğuz

Reporter

Rob Van Pamel

Labels

None

Source

None

Jira Version

None

Database Type/Version

None

Browser Type/Version

None

Fix versions

Priority

Major
Configure