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 if the current project matches with the selected project.

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 ...

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
languagexml
<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
hiddentrue

Condition on a specified Project.

 

Panel

On this page:

Table of Contents

 

Content by Label
showLabelsfalse
spacesMINYAA
showSpacefalse
sorttitle
typepage
cqllabel = "documentation-space-sample" and type = "page" and space = "MINYAA"
labelsdocumentation-space-sample

Info
titleUseful hint

See also ...