JIRA ADMINISTRATION > Issuesin the banner. Then, locate the
WORKFLOWSsection and click on
While working with customized/complex workflows, it can be convenient to restrict a transition depending on the status of a linked remote artifact.
A simple use case could be, a
Feature issue cannot be started (changed from
TO DO status to
IN PROGRESS) until
the associated requirement is in
Approved status. To those who are not familiar with this type of validations, this can be configured in
Jira with Workflow Validators.
To configure the OSLC Property Match validator in a workflow transition:
OSLC Property Match Validatorand click the
Add Parameters To Validatorpage, select the
Link Typeover which to apply the validator.
Pass Criteriafield, select whether
All, at least
Noneof the linked artifacts must meet the validation to allow the transition.
OSLC Propertyfield, type the name (case insensitive) of the linked artifact property to evaluate.
Addbutton to save the new validator.
Back in transition configuration page, do not forget to click on the
Publish button to properly apply the changes.
Add, remove or update the validator, as you need, following the standard Jira procedures.
Here are some configuration samples:
|Bussiness Rule||Validator configuration|
|All “implemented by” requirements are approved allowing a transition in Jira for “In Progress”||
|All “related change requests” are closed allowing a transition in Jira to “Closed”||