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 vote

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 vote
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 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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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