Workflow Condition Module Type

On this page:

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

Required

Description

Default

class

(tick)

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

N/A

key

(tick)

The identifier of the Workflow Condition module.

N/A

Example

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

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

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport