Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.13 KB

issue.md

File metadata and controls

18 lines (12 loc) · 1.13 KB

Create an issue in case of deployment failed

If you want to create an issue in case deployment failed, you need to provide the following inputs

Inputs Values
GitHub connection (OAuth or PAT) Select a Github endpoint
Method Select Post
Body
{
"title": "Deployment to environment $(Release.EnvironmentName) failed",
"body": "Release $(Release.DefinitionName) in environment $(Release.EnvironmentName) failed.",
"assignees": [
"jikuma"
],
"milestone": 1,
"labels": [
"Deployment"
]
}
URL and parameters https://api.github.com/repos/RepoName/issues e.g: https://api.github.com/repos/jikuma/sampledevspacesapp/issues

If you do not have milestone number, do not specify in Body json

Release Definition

In "Control Options" part of the task set "Run this task" as "Only when a previous task has failed."

GitHub