Workflow Condition

Purpose of this Module Type

The Workflow Condition plugin point allows you to prevent review transition from happening depending on the conditions you've implemented. The content is generated per line.

Configuration

The root element for the Workflow Condition plugin module is workflow-condition. It allows the following attributes and child elements for configuration:

Attributes

Name

Description

class

The Workflow Condition module Java class. Must implement com.atlassian.crucible.workflow.WorkflowCondition.

Required: Yes

Default: N/A

key

The identifier of the Workflow Condition module.

Required: Yes

Default: N/A

Example

Here is a sample atlassian-plugin.xml fragment for a web section:

1
2
<workflow-condition
        key="completed-reviewers-condition"
        class="com.example.ampstutorial.CompletedReviewerWorkflowCondition">
</workflow-condition>

Notes

See the Crucible Workflow Conditions Plugin Module Tutorial to learn how to develop an Workflow Condition module plugin.

Rate this page: