Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Lock down editing of a US for a specific group once the US reaches a point in the workflow?

Nancy Desai October 14, 2021

I have a group (let's call them BAs) that constantly edit US once they hit the In Development status of our workflow. It obviously creates a moving target and my team does not know what to delivery or they have to constantly make changes to their code because of these moving requirements. 

I want to stop the BAs from editing the US in any shape or form once the US hits In Development in the workflow. This lockdown should then apply for all future US statuses in the rest of the workflow. 

I know it's possible because JIRA was originally set this way when I first started but our JIRA admin changed it on my recommendation and now I realize I was an idiot to trust that group. The original JIRA admin is no longer employed at my company. 

2 answers

0 votes
Nic Brough -Adaptavist-
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.
October 14, 2021

Um, slight problem with issue security - it will hide the story completely!  Not only will your BAs not be able to edit the issues, they won't be able to even see what the story is.

I would do this with workflow properties instead.   You can add a property to a status that can change the permissions while the issue is in that status.  jira.permission.edit.projectrole=10010 for example, will stop anyone who isn't in the developer role from editing the issue (assuming the id of the developer role is 10010)

Note that the properties apply during outgoing transitions as well - if you do something like block comments on a status, then when you have a transition screen on an outgoing transition, the comment during transition will be blocked too.

Nancy Desai October 15, 2021

That is perfect! thank you for the information. I'll look into the string and project roles to get it identified in the workflows. 

Nancy Desai October 19, 2021

Okay, I'm back. I went into workflow properties, I went to my story status of In UAT. I added this property key: jira.permission.edit.denied.group=BA and property value of true. Here's the problem: no one can edit once I do this. I checked the project users membership and I'm only an administrator and part of the delivery manager group. So why can't I edit? Am I using the wrong property key? I've googled it and can't find a good answer. 

Nic Brough -Adaptavist-
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.
October 20, 2021

> jira.permission.edit.denied.group=BA and property value of true

Sorry, I was not clear here.  The = separates the property from the value of the property when I'm writing this stuff.  So

jira.permission.edit.denied.group=BA

would actually be a property of jira.permission.edit.denied.group with a value of BA

However, I also have a nagging doubt that what you actually want here is

Property: jira.permission.edit.group   value: penguins

Which should limit the editing to only members of the group penguins...

Nancy Desai October 21, 2021

Okay, your solution was close but here's the problem...I thought BA was a group. Turns out, it's a role. So, while I could do a denied value based on role, the recommendation is to deny by default, and then add permission to allow editing. So, the example would be: jira.permission.edit.projectrole.1  with a property value of: 10002. The property value is the roleID which you find by hovering over usage in the roles section. 

0 votes
John Funk
Community Champion
October 14, 2021

Hi Nancy - Welcome to the Atlassian Community!

You are not going to be able to lock down a single field by status by group. You could use issue level security to lock the entire issue from a group once it hits a particular status, but not just a field. 

Nancy Desai October 14, 2021

I'm good with that. But do you know how I can do it? Is it a setting in workflows?

John Funk
Community Champion
October 14, 2021
Nancy Desai October 19, 2021

This did not work. 

John Funk
Community Champion
October 20, 2021

Can you be more specific? 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events