2

After a release pipeline is deleted, is there a way to undo that deletion? One of our critical pipelines was deleted and while we had backed up the definition, it would be nice to know if Azure DevOps has the undo functionality built in.

riQQ
  • 9,878
  • 7
  • 49
  • 66
fepiv
  • 1,183
  • 1
  • 14
  • 25

2 Answers2

1

Unfortunately, this is not supported at this time.

See this existing similar thread (Can I Recover A Deleted Release Definition?)

As a workaround, you can export your release pipeline definition just for the safety.

Jayendran
  • 9,638
  • 8
  • 60
  • 103
  • We've been backing up the exported definition in our repo, hence how I was able to get it back. Still, I voted for the feature to be added in the link provided (thanks for that BTW). – fepiv Sep 24 '18 at 13:34
1

I just tried it on my private collection, this is not supported. Sadly there is no recycle bin similar to the work items bin from which you could restore the deleted definition. As a workaround for the future, what you can do is to regularly export all the definitions as json (click breadcrumbs, then export, this can also easily be automated via the rest api) and save them somewhere (e.g. in source control). That way you at least always have sth at hand, even if slightly outdated.

DanDan
  • 1,038
  • 4
  • 15
  • 28