Skip to content
Home » Blog » Locking Issues by Workflow Status in Jira Cloud

Locking Issues by Workflow Status in Jira Cloud

In this tutorial we review locking issues (records) in Jira Cloud by restricting field edits, attachments, and comments based on workflow status.  This is one of the most common compliance controls for regulated workflows (GxP, 21 CFR Part 11, SOX, etc.).

Configuring a Company-managed Project

  1. As a site administrator, go to Settings –> Issues –> Workflows.
  2. Locate the workflow associated with your project, and select Edit.
  3. Select the workflow status that you want to lock, and select Properties (or View properties, depending on your view).
  4. Add the following properties:
    • To restrict editing fields:
      • jira.permission.edit.projectrole = 10003
    • To restrict adding/removing attachments:
      • jira.permission.attach.projectrole = 10003
      • jira.permission.attachdeleteall.denied
      • jira.permission.attachdeleteown.denied
    • To restrict adding/removing comments:
      • jira.permission.comment.projectrole = 10003
      • jira.permission.commentdeleteall.denied
      • jira.permission.commentdeleteown.denied
      • jira.permission.commenteditall.denied
      • jira.permission.commenteditown.denied
  5. Repeat Steps 3 and 4 for each status in your workflow that you want to lock.
  6. When you’re finished, select Publish changes.  (Save a back-up if desired.)

Configuring a Team-managed Project

  1. As a project administrator, go to Project settings in your project.
  2. Select Issue types.
  3. Select a target issue type, and then select Edit workflow.
  4. Select the workflow status you want to lock, and then select Properties in the sidebar.
  5. Add the same properties described in Step 4 under Configuring a Company-managed Project (above).
  6. Press Save.
  7. Repeat Steps 5 and 6 for each workflow status you want to lock.
  8. Select Update workflow.
  9. Confirm the issue types you want to update, and press Save

Using Jira in a heavily regulated industry?

Get my list of 7 essential Jira Cloud apps for building a compliant SDLC in regulated industries.

More Information

Find more strategies like this in my Quick Start Guide for Jira Cloud:  https://www.agile-innovations.tech/part-11

Learn more about Jira workflow properties here: https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/