How to restrict a specific user cannot transition to Done/Close?

kalaimani
Contributor
July 23, 2024

Hi

I want to restrict certain people from marking items as "Done" in Jira Cloud. Is this possible? We have over 100 users who can perform this action, but I need to limit it for a few. How can I do this?

My Workflow :

Screenshot 2024-07-24 at 12.25.19 AM.png

3 answers

0 votes
Pedro Lucena July 23, 2024

@kalaimani 

We also have another option:

1- Create a group for users who cannot have this permission to move
2- add a condition validator to the flowfff.PNG

0 votes
Maciej Dudziak _Forgappify_
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.
July 23, 2024

Hi @kalaimani 

It is possible, but there are couple of options; do you want to restrict it based on project roles, groups or selected users?

kalaimani
Contributor
July 23, 2024

Based on the Groups 

Maciej Dudziak _Forgappify_
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.
July 24, 2024

If your project is a company-managed project and you prefer using workflow conditions (which will hide the status from users), there is the 'User Is In Group' condition available out-of-the-box in Jira.

If you have more complex logic or would like to use a Validator (to show a custom message to users trying to execute the transition), you could try Jira expression-based validators. There are several options available on the Atlassian marketplace

I am from Forgappify, and we developed Jira Expression Validator, which is part of the Workflow Building Blocks for Jira app. 

I am leaving a link to the app's documentation in case you are interested.

Cheers

0 votes
Pedro Lucena July 23, 2024

Hello, is it possible to add a property in the flow

 

sds.PNG

Follow this documentation, please: https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/

kalaimani
Contributor
July 23, 2024

I tried this method ,I create a group and use property key
jira.permission.transition.denied" and enter group value but its allows to move transition 

Maciej Dudziak _Forgappify_
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.
July 23, 2024

I think it should be jira.permission.transition.group, but I didn't try it. I am more familiar with jira expression based solution, but that would require an app. Maybe others will help

kalaimani
Contributor
July 23, 2024

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events