Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this section:

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

Overview

  • To ensure a smooth working process, it's best to follow this workflow tip: Make sure that for each issue type, there's an approval rule tied to a specific status. This rule should act as a validator, allowing only the designated add-on to move the issue to the next status.

When it comes to adding a validator or condition to your projects, here's a simple guide to get you started

Add the condition to Project for the old editor version:

Step 1: Access the Project Settings of your project.

  • In the sidebar of your project, locate the tab labeled "Project Settings".

image-20240910-045428.png

Step 2: Access the Workflows of your project.

  • In the sidebar of Project Settings, locate the tab labeled "Workflows".

image-20240910-065321.png

Step 3: Select the Workflows you'd like to make changes to.

  • This screen allows you to view the list of Workflows associated with your project.

  • To modify a specific Workflow, click on the "Actions" button located on the right side of the Workflow.

  • Then, select the "Edit" action.

image-20240910-070918.png

Step 4: Switch the view to Diagram view.

  • You will be directed to the screen as depicted on the right side.

  • Choose the “Diagram“ to switch to the Diagram view.

image-20240910-071508.png

Step 5: Select the Transitionoption you wish to

validate

add validator or condition.

  • This screen allows you to view an overview of specific Workflow.

  • Select the Transition you wish to add validator or condition.

image-20240910-080754.png

Step 6: Triggering the condition or validator.

  • You can find the menu on the right. Choose "Conditions" to add a condition, or select "Validators" to add a validator.

  • In this section, I will guide you to add a condition to the transition.

  • Click on “Conditions“ in “Options” Menu.

image-20240910-080721.pngImage Removedimage-20240911-031451.pngImage Added

Step 7:

Triggering the condition or validator.

Adding condition to specific Transition.

  • Click on “Add condition“ button.

image-20240911-032602.pngImage Added

  • Choose “User is in Project Role“ option.

  • Then Click “Add“ button to add condition.

image-20240911-033046.pngImage Added

  • Select the “atlassian-addons-project-access“ as Project Role.

  • Then Click “Add“ button to add condition.

image-20240911-033246.pngImage Added

  • Click on “Publish Draft” to save changes

image-20240911-033535.pngImage Added

Add the validator to Project for the new editor version:

  • Follow steps one through three as outlined above. Then continue.

Step 4: Switch editor by (open workflow in new editor)

  • Choose the “Open workflow in new editor“ option.

image-20240911-035212.pngImage Added

Step 5: Switch editor by (open workflow in new editor)