Answered by:
Azure DevOps API

Question
-
m getting the following error when trying to copy a release template from a different project
"VS402982: A retention policy is not set for the stage ‘PROJECT-ENV’. Retention policies at the release pipeline level are deprecated.
"id": 8,
"name": "PROJECT-ENV",
"rank": 1,
"owner": "@{displayName=Zoe MacKay; _links=; id=; uniqueName=Zoe.MacKay;imageUrl=https://dev.azure.com/incrementalgroup/_apis/GraphProfile/MemberAvatars/}",
"variables": "",
"variableGroups": "",
"preDeployApprovals": "@{approvals=System.Object[]; approvalOptions=}",
"deployStep": "@{id=27}",
"postDeployApprovals": "@{approvals=System.Object[]; approvalOptions=}",
"deployPhases": "",
"environmentOptions": "@{emailNotificationType=OnlyOnFailure; emailRecipients=release.environment.owner;release.creator; skipArtifactsDownload=False; timeoutInMinutes=0; enableAccessToken=False; publishDeploymentStatus=True; badgeEnabled=False; autoLinkWorkItems=False; pullRequestDeploymentEnabled=False}",
"demands": "",
"conditions": "",
"executionPolicy": "@{concurrencyCount=1; queueDepthCount=0}",
"schedules": "",
"currentRelease": "@{id=70; url=https://vsrm.dev.azure.com/; _links=}",
"retentionPolicy": "@{daysToKeep=30; releasesToKeep=3; retainBuild=True}",
"processParameters": "",
"properties": "",
"preDeploymentGates": "@{id=0; gatesOptions=; gates=System.Object[]}",
"postDeploymentGates": "@{id=0; approvals:[]; gatesOptions=; gates=System.Object[]}",
"environmentTriggers": ""
},- Moved by VikasPullagura-MSFTMicrosoft employee Wednesday, May 29, 2019 11:38 AM Moving to this Forum for redirecting to Developer Community
Wednesday, May 29, 2019 11:00 AM
Answers
-
Perhaps ask here:
https://stackoverflow.com/questions/tagged/azure-devops
Richard Mueller - MVP Enterprise Mobility (Identity and Access)
- Proposed as answer by Dave PatrickMVP Wednesday, May 29, 2019 12:06 PM
- Marked as answer by Richard MuellerMVP, Banned Wednesday, June 5, 2019 3:16 PM
Wednesday, May 29, 2019 11:54 AM -
Also try asking over here.
https://developercommunity.visualstudio.com/spaces/8/index.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Wednesday, June 5, 2019 12:17 PM
- Marked as answer by Richard MuellerMVP, Banned Wednesday, June 5, 2019 3:16 PM
Wednesday, May 29, 2019 12:07 PM -
Hello Zoe,
Thanks for reaching out!
Since Visual Studio Team Services is now Azure DevOps Services, TFS forum has been locked; It is still available for review in the Archived Forums folder. The discussion for VSTS has moved. Report a problem or provide a suggestion on Developer Community, get advice on Stack Overflow, and get support on Azure DevOps Support.
- Proposed as answer by BhargaviAnnadevara-MSFTMicrosoft employee Wednesday, May 29, 2019 12:50 PM
- Marked as answer by Richard MuellerMVP, Banned Wednesday, June 5, 2019 3:16 PM
Wednesday, May 29, 2019 12:50 PM
All replies
-
Also try asking over here.
https://developercommunity.visualstudio.com/spaces/8/index.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Wednesday, June 5, 2019 12:17 PM
- Marked as answer by Richard MuellerMVP, Banned Wednesday, June 5, 2019 3:16 PM
Wednesday, May 29, 2019 12:07 PM -
Hello Zoe,
Thanks for reaching out!
Since Visual Studio Team Services is now Azure DevOps Services, TFS forum has been locked; It is still available for review in the Archived Forums folder. The discussion for VSTS has moved. Report a problem or provide a suggestion on Developer Community, get advice on Stack Overflow, and get support on Azure DevOps Support.
- Proposed as answer by BhargaviAnnadevara-MSFTMicrosoft employee Wednesday, May 29, 2019 12:50 PM
- Marked as answer by Richard MuellerMVP, Banned Wednesday, June 5, 2019 3:16 PM
Wednesday, May 29, 2019 12:50 PM -
Representational State Transfer (REST) APIs are service endpoints that support sets of HTTP operations (methods), which provide create, retrieve, update, or delete access to the service's resources. This article walks you through:
The basic components of a REST API request/response pair.
Overviews of creating and sending a REST request, and handling the response.
Most REST APIs are accessible through our client libraries, which can be used to greatly simplify your client code.Friday, December 6, 2019 5:18 AM