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

This widget could not be displayed.

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

This widget could not be displayed.
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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

81 views 0 1
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