Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

In this section:

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.

Access the Project Settings of your project.

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

image-20240910-045428.png

Access the Workflows of your project.

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

image-20240910-065321.png

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-20240912-043035.png

Add the condition to Project for the old editor version:

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

Select the Transition option you wish to add condition.

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

  • Select the Transition you wish to add condition.

image-20240910-080754.png

Triggering the condition.

  • You can find the menu on the right. Choose "Conditions" to add a condition.

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

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

image-20240911-031451.png

Adding condition to specific Transition.

  • Click on “Add condition“ button.

image-20240911-032602.png

  • Choose “User is in Project Role“ option.

  • Then Click “Add“ button to add condition.

image-20240911-033046.png

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

  • Then Click “Add“ button to add condition.

image-20240911-033246.png

  • Click on “Publish Draft” to save changes

image-20240911-033535.png

Add the validator to Project for the new editor version:

Switch editor by (open workflow in new editor)

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

image-20240911-035212.png

Select the Transition option you wish to add validator.

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

  • Select the Transition you wish to add condition.

  • After click Transition, in right side you will see configuration for this transition. Click button + to add new rule.

image-20240911-040716.png

Configure the validator rule.

  • Choose option “Restrict who can move an issue”.

image-20240911-041038.png

  • At the "Allow these roles" section.

  • Select the "atlassian-addons-project-access".

image-20240911-041214.png

  • Click on “Update workflow” button to save change.

image-20240911-041651.png

  • In case, you don’t set up a validator for workflow, it means the user can manually change the status of the issue although this Issue still needs to be processed by the Approval rule.

  • In this situation, Approval for Jira will mark the status of this approval process as “Manual transition” in the issue activity history like:

image.png
  • No labels