Possibilities to lose a permission, depending on a state change in a workflow?

I have created a workflow with different conditions and post Transition for notifications. An important point for us is to lose the permission for create/fill in  an attachment to this issue  depending at the state in the workflow.

E.g. attach bills for travel costs and later no more files shoulg be able to add.

How can this be realize?

kat

3 answers

1 accepted

0 vote

You can use workflow properties to block permissions when in a certain status.

Hy, i tried different permissions. The permission for restrict work on an issue  with jira.permission.edit.Group = Groupname is working fine.  The second necessary permission for restrict to add an attachment is not working.  In the permission scheme i have the current user and the Administrator Group permitted to add files and in the permission  i only defined jira.permission.attach.Group = Administrators.

The Problem still is, a user without Administration rights can still add files ( Excisting files protected). That not want we thaught this permission should restrict.

Are there any other Parameters to define before?

kat

0 vote
Joe Pitt Community Champion Nov 14, 2017

JIRA doesn't allow for modifying permissions dynamically. There may be a plugin in the marketplace that allows that. 

0 vote
Joe Pitt Community Champion Nov 15, 2017

I found this: http://www.j-tricks.com/tutorials/permissions-based-on-workflow-status 

It written for an older version, but I'd take a look at it. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

140 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you