Prevent specific users from executing workflow transitions in Jira server

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

The purpose of this article is to explain how to prevent specific users, groups or project roles from transitioning issues, either universally (all transitions) or specific transitions only.

Process

There are two different approaches for accomplishing this. One blocks the execution of any transition on a certain project, the other "hides" transitions to which certain users do not have permission to execute.

Setup permission for all transitions in a project

You can choose to only allow certain users, groups or project roles to perform transition on issues.

JIRA 6.3 and above

As of JIRA 6.3, a "Transition Issues" permission has been added, as described on JRA-11564 - Getting issue details... STATUS . The objective of implementing such a permission is to allow JIRA Administrators to fine-tune the users that have the ability to transition issues with ease.

Follow the steps below to configure the users groups or project roles that will have this permission.

  1. Go to the Project Administration page for the project you wish to configure this;
  2. Click Permissions on the sidebar;
    (info) Another option is to configure a scheme directly, so that it can be applied to more than one project. For that, go to Administration > Issues > Permission Schemes.
  3. On the top-right corner, open the Actions drop-down menu and click Edit Permissions;
  4. Locate the Transition Issues permission (the last under the Issue Permissions section);
  5. Now, you can either delete the granted permissions or add new ones;

Earlier Versions of JIRA

Within earlier versions of JIRA, there is no permission that controls the ability to transition issues universally. Instead, each individual transition can be configured with a condition. See below the instructions for setting up Conditions on the transitions to be restricted.

Setup permission per transition

With this approach, you can block certain transitions from being performed by setting up Conditions on each one. Follow the below steps to achieve this.

  1. Go to the Project Administration page for the project you wish to configure this;
  2. Click Workflows on the sidebar;
    (info) Another option is to configure a scheme or a specific workflow directly, so that it can be applied to more than one project. For that, go to Administration > Issues > Workflow Schemes to configure schemes or Administration > Issues > Workflows to configure workflows.
  3. Click Edit (or the 'pencil' icon) next to the workflow you want to edit;
  4. On the Text view, click the transition you want to configure the permissions;
  5. Under the Conditions tab, add new conditions and select whether all conditions should be matched or just any of those;
  6. Publish the workflow;

 

Last modified on Sep 25, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.