Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Project Condition
Usage Cases
In some cases, you can prefer to share a same Workflow with different Projects, and incorporate a small delta based on the current project.
This condition allows the transition
Overview
Transition is allowed, if the current project matches with the selected project.
Image Removed
It is not the best practice in JIRA Administration, but it can minimize effort during the implementation of a new configuration.
Add the Condition
Select the Project Condition ...
Image Added
Edit and View Parameters
Specify the expected Project,
Ok it is defined ... Now the transition is allowed only if current Issue is in the Project Test
XML Declaration
The Condition configuration may be done in XML in Workflow descriptor as follow :
Code Block | ||
---|---|---|
| ||
<condition type="class"> <arg name="class.name">fr.alkaes.myaawf.workflow.condition.ProjectCondition</arg> <arg name="requiredProjectId">10100</arg> </condition> |
Here the condition is valid, if the Required Project Id matches with current project ...
Excerpt | ||
---|---|---|
| ||
Condition on a specified Project.
|
Panel | |
---|---|
On this page:
|
Content by Label | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Info | ||
---|---|---|
| ||
See also ... |