We are using the Release Management, TFS 2013 (previously InRelease) and have a lot of releases that we would like to delete. The problem is that the "Delete" button is always greyed out. What are we missing here?
-
Can you please share a screen shot of the RM 2013 for your question to mkae it more visible and clear to understood and yes ofcourse to see what actually is Greyed out ??? – Prakash Nov 03 '14 at 06:20
-
check this answer http://stackoverflow.com/questions/26609272/releases-stuck-in-rejected-state – Peter Nov 05 '15 at 10:28
2 Answers
This is not possible with the current version (RM 2013 Update 4).
Only Releases in Draft state can be deleted.

- 4,863
- 4
- 38
- 48
-
This doesn't make any sense to me, but clearly this is the case. Not even the Admin account can remove them once they are "In Progress". :( – EJA Sep 22 '14 at 15:09
-
Do you have any official sources for this (or perhaps you are part of the RM development team)? Is there any roadmap to enable this feature? I'm in the same situation as the OP. – julealgon Oct 28 '14 at 13:18
-
Yes, I am part of the RM team. This will not be part of update 4 neither. It is in the backlog, but don't know when that will be done. – joerage Oct 29 '14 at 06:37
-
1I did find this script for manually deleting the releases. Use are your own risk of course.: https://gist.github.com/riha/d68dba893144559e9305#file-delete-release – StoneJedi Nov 19 '14 at 00:30
-
1I scanned through the query. Two things I quickly noticed. First this is only valid for Agent-based Releases. Two, it will leave orphaned entries in the Resource table. There might be other problems as well. – joerage Nov 19 '14 at 17:10
-
The Process of deletion is little complex in the new Microsoft's Release Management 2013. You need to remove all the dependencies for a particular thing that you are using before deleting.
First You have to delete the Release, the condition for this is that Either the state of the release should be Released or in Cancelled state. This way you can delete the associated Template that is used for that release. You have to change the status of all the releases which are using that template to delete the particular template. After deleting the template which are using particular variables you will be able to delete those variables variables.

- 579
- 4
- 14
-
2
-
1There is no way to delete releases with out clearings it's dependencies. But You can do it through a hack in the Release Management database. – Sreekanth Mohan Feb 15 '16 at 17:33