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?


3 answers

1 accepted

0 votes
Accepted answer

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?


0 votes
Joseph 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 votes
Joseph 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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,407 views 15 19
Read article

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