Strict Approval Process
In this section:
Overview
To streamline your workflow, it's important to tie each Issue Type to an Approval rule associated with a specific status. This rule should serve as a validator, ensuring only authorized add-ons can transition 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".
Access the Workflows of your project.
In the sidebar of Project Settings, locate the tab labeled "Workflows".
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, see the “Actions” column on the right side.
Click on the "Edit workflow" action.
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.
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.
Triggering the condition.
You can find the menu on the right. Choose "Conditions" to add a condition.
Adding condition to specific Transition.
Click on “Add a condition“ button.
Choose “User is in Project Role“ option.
Then Click “Add“ button to add condition.
Select the “atlassian-addons-project-access“ as Project Role.
Then Click “Add“ button to add condition.
Click on “Publish Draft” to save changes
Add the validator to Project for the new editor version:
Switch editor by (open workflow in new editor)
Navigate to “Switch editor” on the right.
Choose the “Open workflow in new editor“ option.
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 clicking Transition, in right side you will see configuration for this transition. Click button “+” in the “RULES” section to add new rule.
Configure the validator rule.
Choose option “Restrict who can move an issue”.
Then click on “Select” Button.
At the "Allow these roles" section.
Select the "atlassian-addons-project-access".
Then click on “Add“ Button.
Click on “Update workflow” button to save change.
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.