Restrict work items to a space role after a transition

By setting the work item security level after transitioning a work item, you can control who can access the work item based on their space role. This protects sensitive information by allowing only people with the space role to view and edit work items.

You must be an admin to perform the actions on this page.

To check for space roles:

  1. Select Settings () then System and then Space roles.

  2. Make sure the space role you want to restrict access to is there. If it isn’t, add or edit space roles.

To add people to a space role:

  1. From a space, select Space settings then People.

  2. Select Add people.

  3. Type names, groups, or email addresses.

  4. Select the Role.

To add a work item security scheme:

  1. From a space, select Space settings.

  2. Under Work items select Security.

  3. Select Actions then Edit work item security.

  4. Fill in the fields under Add security level.

  5. Select Add security level.

  6. For the new security level, select Add.

  7. Choose the space role you want to restrict work items to.

  8. Select Add.

To add a post function and condition to a workflow:

  1. From a space, select Space settings and then Workflows.

  2. Edit the workflow associated with the space.

  3. Select the transition you want to add the permission to and choose Post functions.

  4. Select Add post function.

  5. Select Set work item security based on user’s space role.

  6. Select the space role and work item security level.

  7. Select Conditions.

  8. Select Add condition.

  9. Select User is in any space role.

  10. Select the space role.

  11. Select Add.

We add the condition to stop people who aren’t supposed to see the work item in the new status from accidentally moving the work item.

Still need help?

The Atlassian Community is here for you.