Prevent issue from getting deleted at a certain status?

Tarun Sapra Community Champion Oct 06, 2016

Hi,

I know I can removed the delete issue permission for the project, but instead there is a requirement to prevent deletion of an specific issueType after a certain status of workflow (after it has been approved) thus is there a way to prevent it? 

2 answers

1 accepted

0 votes

Use workflow properties to remove the delete permission on status - https://confluence.atlassian.com/adminjiraserver071/workflow-properties-802592825.html

Tarun Sapra Community Champion Oct 06, 2016

Hi Nic, 

In the workflow permission I only see the editable issue permission - jira.issue.editable , I guess that should do the trick. But I dn't want the issue to be "non-editable" just non-deletable.

It's the line below - jira.permission.*  - that can be used to remove the delete permission while the issue is in that status.

Tarun Sapra Community Champion Oct 06, 2016

ohk, got it. thanks. In the docs they have only mentioned the types against jira.permission.* i..e users/groups/roles thus got missed. But this blog link helped. http://www.j-tricks.com/tutorials/permissions-based-on-workflow-status

0 votes
Joe Pitt Community Champion Oct 06, 2016

Strongly advise not allowing delete at any status. It will come back to bite you. The forum is full of folks asking how to get issues back.

Tarun Sapra Community Champion Oct 06, 2016

Devs create al sorts of sub-tasks which sometimes make no-sense and thus there is a need to sometimes delete some issues.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

938 views 5 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot