github.com/jenkins-x/jx/v2@v2.1.155/pkg/gits/test_data/bitbucket_server/pr-merge-success.json (about) 1 { 2 "id": 7, 3 "version": 2, 4 "title": "test build commit", 5 "state": "MERGED", 6 "open": false, 7 "closed": true, 8 "createdDate": 1528221928000, 9 "updatedDate": 1528226793000, 10 "closedDate": 1528226793000, 11 "fromRef": { 12 "id": "refs/heads/test/build", 13 "displayId": "test/build", 14 "latestCommit": "16f08661bf80de8ffe3dc2c79b5164ba4de32872", 15 "repository": { 16 "slug": "test-repo", 17 "id": 264, 18 "name": "test-repo", 19 "scmId": "git", 20 "state": "AVAILABLE", 21 "statusMessage": "Available", 22 "forkable": true, 23 "project": { 24 "key": "TEST-ORG", 25 "id": 282, 26 "name": "test-org", 27 "description": "Test Org", 28 "public": false, 29 "type": "NORMAL", 30 "links": { 31 "self": [ 32 { 33 "href": "http://auth.example.com/projects/TEST-ORG" 34 } 35 ] 36 } 37 }, 38 "public": false, 39 "links": { 40 "clone": [ 41 { 42 "href": "http://test-user@auth.example.com/scm/test-org/test-repo.git", 43 "name": "http" 44 }, 45 { 46 "href": "ssh://git@auth.example.com:7999/test-org/test-repo.git", 47 "name": "ssh" 48 } 49 ], 50 "self": [ 51 { 52 "href": "http://auth.example.com/projects/TEST-ORG/repos/test-repo/browse" 53 } 54 ] 55 } 56 } 57 }, 58 "toRef": { 59 "id": "refs/heads/master", 60 "displayId": "master", 61 "latestCommit": "7bf35d80676d9ed5eafcd4c56b4127df8b5283aa", 62 "repository": { 63 "slug": "test-repo", 64 "id": 264, 65 "name": "test-repo", 66 "scmId": "git", 67 "state": "AVAILABLE", 68 "statusMessage": "Available", 69 "forkable": true, 70 "project": { 71 "key": "TEST-ORG", 72 "id": 282, 73 "name": "test-org", 74 "description": "Test Org", 75 "public": false, 76 "type": "NORMAL", 77 "links": { 78 "self": [ 79 { 80 "href": "http://auth.example.com/projects/TEST-ORG" 81 } 82 ] 83 } 84 }, 85 "public": false, 86 "links": { 87 "clone": [ 88 { 89 "href": "http://test-user@auth.example.com/scm/test-org/test-repo.git", 90 "name": "http" 91 }, 92 { 93 "href": "ssh://git@auth.example.com:7999/test-org/test-repo.git", 94 "name": "ssh" 95 } 96 ], 97 "self": [ 98 { 99 "href": "http://auth.example.com/projects/TEST-ORG/repos/test-repo/browse" 100 } 101 ] 102 } 103 } 104 }, 105 "locked": false, 106 "author": { 107 "user": { 108 "name": "test-user", 109 "emailAddress": "test-user@example.com", 110 "id": 402, 111 "displayName": "Test User", 112 "active": true, 113 "slug": "test-user", 114 "type": "NORMAL", 115 "links": { 116 "self": [ 117 { 118 "href": "http://auth.example.com/users/test-user" 119 } 120 ] 121 } 122 }, 123 "role": "AUTHOR", 124 "approved": false, 125 "status": "UNAPPROVED" 126 }, 127 "reviewers": [], 128 "participants": [ 129 { 130 "user": { 131 "name": "test-user", 132 "emailAddress": "test-user@example.com", 133 "id": 502, 134 "displayName": "Test User", 135 "active": true, 136 "slug": "test-user", 137 "type": "NORMAL", 138 "links": { 139 "self": [ 140 { 141 "href": "http://auth.example.com/users/test-user" 142 } 143 ] 144 } 145 }, 146 "role": "PARTICIPANT", 147 "approved": false, 148 "status": "UNAPPROVED" 149 } 150 ], 151 "properties": { 152 "mergeCommit": { 153 "displayId": "1bcfc8687a2", 154 "id": "1bcfc8687a29d26593b77d8016973791df1c3b91" 155 } 156 }, 157 "links": { 158 "self": [ 159 { 160 "href": "http://auth.example.com/projects/TEST-ORG/repos/test-repo/pull-requests/7" 161 } 162 ] 163 } 164 }