github.com/jenkins-x/jx/v2@v2.1.155/pkg/gits/test_data/bitbucket_cloud/pullrequests.test-org.test-repo.json (about) 1 { 2 "merge_commit": null, 3 "description": "", 4 "links": { 5 "decline": { 6 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/decline" 7 }, 8 "commits": { 9 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/commits" 10 }, 11 "self": { 12 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4" 13 }, 14 "comments": { 15 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/comments" 16 }, 17 "merge": { 18 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/merge" 19 }, 20 "html": { 21 "href": "https://bitbucket.org/test-org/test-repo/pull-requests/3" 22 }, 23 "activity": { 24 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/activity" 25 }, 26 "diff": { 27 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/diff" 28 }, 29 "approve": { 30 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/approve" 31 }, 32 "statuses": { 33 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/pullrequests/4/statuses" 34 } 35 }, 36 "title": "Update to fork", 37 "close_source_branch": false, 38 "reviewers": [], 39 "destination": { 40 "commit": { 41 "hash": "77d0a923f297", 42 "links": { 43 "self": { 44 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo/commit/77d0a923f297" 45 } 46 } 47 }, 48 "repository": { 49 "links": { 50 "self": { 51 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo" 52 }, 53 "html": { 54 "href": "https://bitbucket.org/test-org/test-repo" 55 }, 56 "avatar": { 57 "href": "https://bitbucket.org/test-org/test-repo/avatar/32/" 58 } 59 }, 60 "type": "repository", 61 "name": "test-repo", 62 "full_name": "test-org/test-repo", 63 "uuid": "{6b96c974-39f0-40cd-a56f-e1efe5095aba}" 64 }, 65 "branch": { 66 "name": "master" 67 } 68 }, 69 "state": "OPEN", 70 "closed_by": { 71 "username": "test-user", 72 "display_name": "Test User", 73 "type": "user", 74 "uuid": "{0a3c1273-f935-421f-848c-c21435948831}", 75 "links": { 76 "self": { 77 "href": "https://api.bitbucket.org/2.0/users/test-user" 78 }, 79 "html": { 80 "href": "https://bitbucket.org/test-user/" 81 }, 82 "avatar": { 83 "href": "https://bitbucket.org/account/test-user/avatar/32/" 84 } 85 } 86 }, 87 "summary": { 88 "raw": "", 89 "markup": "markdown", 90 "html": "", 91 "type": "rendered" 92 }, 93 "source": { 94 "commit": { 95 "hash": "398444de8758", 96 "links": { 97 "self": { 98 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo-fork/commit/398444de8758" 99 } 100 } 101 }, 102 "repository": { 103 "links": { 104 "self": { 105 "href": "https://api.bitbucket.org/2.0/repositories/test-org/test-repo-fork" 106 }, 107 "html": { 108 "href": "https://bitbucket.org/test-org/test-repo-fork" 109 }, 110 "avatar": { 111 "href": "https://bitbucket.org/test-org/test-repo-fork/avatar/32/" 112 } 113 }, 114 "type": "repository", 115 "name": "test-repo-fork", 116 "full_name": "test-org/test-repo-fork", 117 "uuid": "{7ade3f8c-5aad-4f1e-8a08-74e7cad03339}" 118 }, 119 "branch": { 120 "name": "master" 121 } 122 }, 123 "comment_count": 0, 124 "author": { 125 "username": "test-user", 126 "display_name": "Test User", 127 "type": "user", 128 "uuid": "{0a3c1273-f935-421f-848c-c21435948831}", 129 "links": { 130 "self": { 131 "href": "https://api.bitbucket.org/2.0/users/test-user" 132 }, 133 "html": { 134 "href": "https://bitbucket.org/test-user/" 135 }, 136 "avatar": { 137 "href": "https://bitbucket.org/account/test-user/avatar/32/" 138 } 139 } 140 }, 141 "created_on": "2018-03-26T02:18:12.382035+00:00", 142 "participants": [], 143 "reason": "", 144 "updated_on": "2018-03-26T02:30:36.968080+00:00", 145 "type": "pullrequest", 146 "id": 4, 147 "task_count": 0 148 }