zulip/zerver/webhooks/azuredevops/fixtures/code_pull_request__merged.json

136 lines
7.0 KiB
JSON

{
"subscriptionId": "4f1eccb6-04ff-45dd-90aa-713078e5c395",
"notificationId": 8,
"id": "d4cbc5f3-be4a-4fa6-80df-bfad83e313c5",
"eventType": "git.pullrequest.merged",
"publisherId": "tfs",
"message": {
"text": "Merge attempted for pull request 1 (Add PR request) in test-zulip\r\nhttps://dev.azure.com/ttchong/test-zulip/_git/test-zulip/",
"html": "Merge attempted for <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1\">pull request 1</a> (Add PR request) in <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\">test-zulip</a>",
"markdown": "Merge attempted for [pull request 1](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1) (Add PR request) in [test-zulip](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/)"
},
"detailedMessage": {
"text": "Merge attempted for pull request 1 (Add PR request) in test-zulip\r\nhttps://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\r\nAdd PR request\r\n",
"html": "Merge attempted for <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1\">pull request 1</a> (Add PR request) in <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\">test-zulip</a><p>Add PR request</p>",
"markdown": "Merge attempted for [pull request 1](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1) (Add PR request) in [test-zulip](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/)\r\nAdd PR request\r\n"
},
"resource": {
"repository": {
"id": "98f0ce59-a912-43d5-96d2-bc0942a03f7b",
"name": "test-zulip",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b",
"project": {
"id": "068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2",
"name": "test-zulip",
"url": "https://dev.azure.com/ttchong/_apis/projects/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2",
"state": "wellFormed",
"revision": 11,
"visibility": "private",
"lastUpdateTime": "2022-07-17T05:01:05.987Z"
},
"size": 7840,
"remoteUrl": "https://ttchong@dev.azure.com/ttchong/test-zulip/_git/test-zulip",
"sshUrl": "git@ssh.dev.azure.com:v3/ttchong/test-zulip/test-zulip",
"webUrl": "https://dev.azure.com/ttchong/test-zulip/_git/test-zulip",
"isDisabled": false
},
"pullRequestId": 1,
"codeReviewId": 1,
"status": "completed",
"createdBy": {
"displayName": "Yuro Itaki",
"url": "https://spsprodsea2.vssps.visualstudio.com/Aa56cba4a-dc80-4dd2-91fa-6fe7047fea7c/_apis/Identities/107e08c7-2725-675e-a1b0-281729035ea6",
"_links": {
"avatar": {
"href": "https://dev.azure.com/ttchong/_apis/GraphProfile/MemberAvatars/msa.MTA3ZTA4YzctMjcyNS03NzVlLWExYjAtMjgxNzI5MDM1ZWE2"
}
},
"id": "107e08c7-2725-675e-a1b0-281729035ea6",
"uniqueName": "yuroitaki@email.com",
"imageUrl": "https://dev.azure.com/ttchong/_api/_common/identityImage?id=107e08c7-2725-675e-a1b0-281729035ea6",
"descriptor": "msa.MTA3ZTA4YzctMjcyNS03NzVlLWExYjAtMjgxNzI5MDM1ZWE2"
},
"creationDate": "2022-07-24T08:02:50.160355Z",
"closedDate": "2022-07-30T07:55:03.5006647Z",
"title": "Add PR request",
"description": "Add PR request",
"sourceRefName": "refs/heads/dev",
"targetRefName": "refs/heads/main",
"mergeStatus": "succeeded",
"isDraft": false,
"mergeId": "3cb082bf-62fd-4ff9-81f2-bea41241eadb",
"lastMergeSourceCommit": {
"commitId": "179f0b4e4a9318d1907402662b0a416550926ebb",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/179f0b4e4a9318d1907402662b0a416550926ebb"
},
"lastMergeTargetCommit": {
"commitId": "6c86f973c0cd02726af8a5da074795745927e0d2",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/6c86f973c0cd02726af8a5da074795745927e0d2"
},
"lastMergeCommit": {
"commitId": "b2606c193460441311f4d31f4729589c77f5efe0",
"author": {
"name": "Yuro Itaki",
"email": "yuroitaki@email.com",
"date": "2022-07-30T07:55:02Z"
},
"committer": {
"name": "Yuro Itaki",
"email": "yuroitaki@email.com",
"date": "2022-07-30T07:55:02Z"
},
"comment": "Merged PR 1: Add PR request",
"commentTruncated": true,
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/b2606c193460441311f4d31f4729589c77f5efe0"
},
"reviewers": [],
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/pullRequests/1",
"_links": {
"web": {
"href": "https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1"
},
"statuses": {
"href": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/pullRequests/1/statuses"
}
},
"completionOptions": {
"mergeCommitMessage": "Merged PR 1: Add PR request\n\nAdd PR request",
"mergeStrategy": "noFastForward",
"transitionWorkItems": true,
"autoCompleteIgnoreConfigIds": []
},
"supportsIterations": true,
"completionQueueTime": "2022-07-30T07:55:02.6159917Z",
"closedBy": {
"displayName": "Yuro Itaki",
"url": "https://spsprodsea2.vssps.visualstudio.com/Aa56cba4a-dc80-4dd2-91fa-6fe7047fea7c/_apis/Identities/107e08c7-2725-675e-a1b0-281729035ea6",
"_links": {
"avatar": {
"href": "https://dev.azure.com/ttchong/_apis/GraphProfile/MemberAvatars/msa.MTA3ZTA4YzctMjcyNS03NzVlLWExYjAtMjgxNzI5MDM1ZWE2"
}
},
"id": "107e08c7-2725-675e-a1b0-281729035ea6",
"uniqueName": "yuroitaki@email.com",
"imageUrl": "https://dev.azure.com/ttchong/_api/_common/identityImage?id=107e08c7-2725-675e-a1b0-281729035ea6",
"descriptor": "msa.MTA3ZTA4YzctMjcyNS03NzVlLWExYjAtMjgxNzI5MDM1ZWE2"
},
"artifactId": "vstfs:///Git/PullRequestId/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2%2f98f0ce59-a912-43d5-96d2-bc0942a03f7b%2f1"
},
"resourceVersion": "1.0",
"resourceContainers": {
"collection": {
"id": "ad9e1dcf-6055-4fc7-a146-5511ab5ab1e8",
"baseUrl": "https://dev.azure.com/ttchong/"
},
"account": {
"id": "a56cba4a-dc80-4dd2-91fa-6fe7047fea7c",
"baseUrl": "https://dev.azure.com/ttchong/"
},
"project": {
"id": "068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2",
"baseUrl": "https://dev.azure.com/ttchong/"
}
},
"createdDate": "2022-07-30T07:55:09.816217Z"
}