How do I edit conditions on a workflow to ONLY allow users in a custom field to edit?

Evan Golden September 24, 2015

How do I edit conditions on a workflow to ONLY allow users in a custom field to edit?

4 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 24, 2015

You don't.  Conditions only stop workflow transitions from being available, they have nothing to do with edit.

You can set properties on a status though - open up the status you want to restrict edit for and put in

jira.permission.edit.userCF=12345

This will allow edits to users named in the customfield with id 12345.  You'll generally need to remove the "edit" permission from other users.

0 votes
Sid July 16, 2020

Conditions control whether the user can execute a transition. If a condition fails, the user won't be able to execute the transition. You can add properties to only let the issue to be edited by the user in the custom field as Nic mentioned.

Note: The field MUST be a user picker field.

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 24, 2015

Why don't you just point the permission scheme to use that custom field for the Edit Permissions? Is there a reason it has to be a 'condition' when we are on a 'step'?

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 29, 2019

Let's try and add this to a very old thread in case other people find this.

Cause that would be project wide, while the status restriction allows you to do this on a specific issue type

0 votes
Deniz Oğuz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 24, 2015

Editing an issue is not a workflow transition. I think only way to do it making issue is not editable on the workflow status and defining your custom Edit transition which transition issue to the same state. For example add an Edit transition from Open state to Open state and allow only some users to execute this transition. To make the issue not editable in any workflow status you can set "jira.issue.editable" property to false.

Suggest an answer

Log in or Sign up to answer