Get Pull Request by ID and Send Slack Message
GET {{bitbucketdomain}}/2.0/repositories/{{workspace}}/{{repo}}/pullrequests/{{pull_request_id}}
RESPONSES
status: OK
{"comment_count":0,"task_count":1,"type":"pullrequest","id":2246,"title":"[BILLING-1403] Fix total subcription amount and statement items in case of unbilled slot and instruction to change the subscription","description":"* \\[BILLING-1403\\] Fix the statement items and upcoming invoice amount when unbilled slots and instruction to change the subscription are present\r\n* Fixed the internal teams test failing due to a redis variable issue\r\n* Moved the account billing overview tests to a different location to avoid conflicts\r\n\r\n","rendered":{"title":{"type":"rendered","raw":"[BILLING-1403] Fix total subcription amount and statement items in case of unbilled slot and instruction to change the subscription","markup":"markdown","html":"\u003cp\u003e[\u003ca rel=\"nofollow\" href=\"https://postmanlabs.atlassian.net/browse/BILLING-1403\" target=\"_blank\" data-module-key=\"dvcs-connector-issue-key-linker\" data-link-key=\"dvcs-connector-issue-key-linker\" data-app-key=\"jira-bitbucket-connector-plugin.0d13b137-2934-4b74-a921-694ab83c54c5\" data-principal-uuid=\"{7835da64-4ff8-4c33-8f7e-7e99989f0128}\" class=\"ap-connect-dialog\"\u003eBILLING-1403\u003c/a\u003e] Fix total subcription amount and statement items in case of unbilled slot and instruction to change the subscription\u003c/p\u003e"},"description":{"type":"rendered","raw":"* \\[BILLING-1403\\] Fix the statement items and upcoming invoice amount when unbilled slots and instruction to change the subscription are present\r\n* Fixed the internal teams test failing due to a redis variable issue\r\n* Moved the account billing overview tests to a different location to avoid conflicts\r\n\r\n","markup":"markdown","html":"\u003cul\u003e\n\u003cli\u003e[\u003ca rel=\"nofollow\" href=\"https://postmanlabs.atlassian.net/browse/BILLING-1403\" target=\"_blank\" data-module-key=\"dvcs-connector-issue-key-linker\" data-link-key=\"dvcs-connector-issue-key-linker\" data-app-key=\"jira-bitbucket-connector-plugin.0d13b137-2934-4b74-a921-694ab83c54c5\" data-principal-uuid=\"{7835da64-4ff8-4c33-8f7e-7e99989f0128}\" class=\"ap-connect-dialog\"\u003eBILLING-1403\u003c/a\u003e] Fix the statement items and upcoming invoice amount when unbilled slots and instruction to change the subscription are present\u003c/li\u003e\n\u003cli\u003eFixed the internal teams test failing due to a redis variable issue\u003c/li\u003e\n\u003cli\u003eMoved the account billing overview tests to a different location to avoid conflicts\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\u003c/p\u003e"}},"state":"OPEN","merge_commit":null,"close_source_branch":true,"closed_by":null,"author":{"display_name":"Smit Shah","links":{"self":{"href":"https://api.bitbucket.org/2.0/users/%7Bdd7297c3-11b2-48a0-be20-852f7582c37b%7D"},"avatar":{"href":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/SS-0.png"},"html":{"href":"https://bitbucket.org/%7Bdd7297c3-11b2-48a0-be20-852f7582c37b%7D/"}},"type":"user","uuid":"{dd7297c3-11b2-48a0-be20-852f7582c37b}","account_id":"5e12cbcc9af3650e9e404746","nickname":"smit.shah"},"reason":"","created_on":"2022-04-11T10:46:24.130206+00:00","updated_on":"2022-04-13T13:36:33.066995+00:00","destination":{"branch":{"name":"develop"},"commit":{"type":"commit","hash":"2b5a7603afa1","links":{"self":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/commit/2b5a7603afa1"},"html":{"href":"https://bitbucket.org/postmanlabs/postman-god-server/commits/2b5a7603afa1"}}},"repository":{"type":"repository","full_name":"postmanlabs/postman-god-server","links":{"self":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server"},"html":{"href":"https://bitbucket.org/postmanlabs/postman-god-server"},"avatar":{"href":"https://bytebucket.org/ravatar/%7Bf33dd5c7-9c57-43ff-9274-10afdefd68f5%7D?ts=php"}},"name":"postman-god-server","uuid":"{f33dd5c7-9c57-43ff-9274-10afdefd68f5}"}},"source":{"branch":{"name":"feature/BILLING-1403/fix-total-sub-amount-in-case-of-unbilled-slot-and-instruction-to-change-sub"},"commit":{"type":"commit","hash":"c7c87f34b4cf","links":{"self":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/commit/c7c87f34b4cf"},"html":{"href":"https://bitbucket.org/postmanlabs/postman-god-server/commits/c7c87f34b4cf"}}},"repository":{"type":"repository","full_name":"postmanlabs/postman-god-server","links":{"self":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server"},"html":{"href":"https://bitbucket.org/postmanlabs/postman-god-server"},"avatar":{"href":"https://bytebucket.org/ravatar/%7Bf33dd5c7-9c57-43ff-9274-10afdefd68f5%7D?ts=php"}},"name":"postman-god-server","uuid":"{f33dd5c7-9c57-43ff-9274-10afdefd68f5}"}},"reviewers":[{"display_name":"Sabih Siddiqui","links":{"self":{"href":"https://api.bitbucket.org/2.0/users/%7Bc4e19507-0998-47e5-8c35-66cd5e83696b%7D"},"avatar":{"href":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/SS-2.png"},"html":{"href":"https://bitbucket.org/%7Bc4e19507-0998-47e5-8c35-66cd5e83696b%7D/"}},"type":"user","uuid":"{c4e19507-0998-47e5-8c35-66cd5e83696b}","account_id":"5b0fc6cfc898a7196b5d1545","nickname":"Sabih Siddiqui"},{"display_name":"Chetan Waingankar","links":{"self":{"href":"https://api.bitbucket.org/2.0/users/%7B41457ee9-e1d8-40ff-b924-24ac4c563141%7D"},"avatar":{"href":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/CW-3.png"},"html":{"href":"https://bitbucket.org/%7B41457ee9-e1d8-40ff-b924-24ac4c563141%7D/"}},"type":"user","uuid":"{41457ee9-e1d8-40ff-b924-24ac4c563141}","account_id":"5eddbc701c63760ab0ffcb11","nickname":"Chetan Waingankar"},{"display_name":"Tanmay Gadpayle","links":{"self":{"href":"https://api.bitbucket.org/2.0/users/%7Bb044ec3e-52ac-4e5e-b077-e7c04b3593de%7D"},"avatar":{"href":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/TG-5.png"},"html":{"href":"https://bitbucket.org/%7Bb044ec3e-52ac-4e5e-b077-e7c04b3593de%7D/"}},"type":"user","uuid":"{b044ec3e-52ac-4e5e-b077-e7c04b3593de}","account_id":"5ef96f692a72950bbf961f74","nickname":"Tanmay Gadpayle"}],"participants":[{"type":"participant","user":{"display_name":"Tanmay Gadpayle","links":{"self":{"href":"https://api.bitbucket.org/2.0/users/%7Bb044ec3e-52ac-4e5e-b077-e7c04b3593de%7D"},"avatar":{"href":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/TG-5.png"},"html":{"href":"https://bitbucket.org/%7Bb044ec3e-52ac-4e5e-b077-e7c04b3593de%7D/"}},"type":"user","uuid":"{b044ec3e-52ac-4e5e-b077-e7c04b3593de}","account_id":"5ef96f692a72950bbf961f74","nickname":"Tanmay Gadpayle"},"role":"REVIEWER","approved":false,"state":null,"participated_on":null},{"type":"participant","user":{"display_name":"Sabih Siddiqui","links":{"self":{"href":"https://api.bitbucket.org/2.0/users/%7Bc4e19507-0998-47e5-8c35-66cd5e83696b%7D"},"avatar":{"href":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/SS-2.png"},"html":{"href":"https://bitbucket.org/%7Bc4e19507-0998-47e5-8c35-66cd5e83696b%7D/"}},"type":"user","uuid":"{c4e19507-0998-47e5-8c35-66cd5e83696b}","account_id":"5b0fc6cfc898a7196b5d1545","nickname":"Sabih Siddiqui"},"role":"REVIEWER","approved":true,"state":"approved","participated_on":"2022-04-11T12:22:40.385449+00:00"},{"type":"participant","user":{"display_name":"Chetan Waingankar","links":{"self":{"href":"https://api.bitbucket.org/2.0/users/%7B41457ee9-e1d8-40ff-b924-24ac4c563141%7D"},"avatar":{"href":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/CW-3.png"},"html":{"href":"https://bitbucket.org/%7B41457ee9-e1d8-40ff-b924-24ac4c563141%7D/"}},"type":"user","uuid":"{41457ee9-e1d8-40ff-b924-24ac4c563141}","account_id":"5eddbc701c63760ab0ffcb11","nickname":"Chetan Waingankar"},"role":"REVIEWER","approved":false,"state":null,"participated_on":null}],"links":{"self":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246"},"html":{"href":"https://bitbucket.org/postmanlabs/postman-god-server/pull-requests/2246"},"commits":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/commits"},"approve":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/approve"},"request-changes":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/request-changes"},"diff":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/diff/postmanlabs/postman-god-server:c7c87f34b4cf%0D2b5a7603afa1?from_pullrequest_id=2246"},"diffstat":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/diffstat/postmanlabs/postman-god-server:c7c87f34b4cf%0D2b5a7603afa1?from_pullrequest_id=2246"},"comments":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/comments"},"activity":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/activity"},"merge":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/merge"},"decline":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/decline"},"statuses":{"href":"https://api.bitbucket.org/2.0/repositories/postmanlabs/postman-god-server/pullrequests/2246/statuses"}},"summary":{"type":"rendered","raw":"* \\[BILLING-1403\\] Fix the statement items and upcoming invoice amount when unbilled slots and instruction to change the subscription are present\r\n* Fixed the internal teams test failing due to a redis variable issue\r\n* Moved the account billing overview tests to a different location to avoid conflicts\r\n\r\n","markup":"markdown","html":"\u003cul\u003e\n\u003cli\u003e[\u003ca rel=\"nofollow\" href=\"https://postmanlabs.atlassian.net/browse/BILLING-1403\" target=\"_blank\" data-module-key=\"dvcs-connector-issue-key-linker\" data-link-key=\"dvcs-connector-issue-key-linker\" data-app-key=\"jira-bitbucket-connector-plugin.0d13b137-2934-4b74-a921-694ab83c54c5\" data-principal-uuid=\"{7835da64-4ff8-4c33-8f7e-7e99989f0128}\" class=\"ap-connect-dialog\"\u003eBILLING-1403\u003c/a\u003e] Fix the statement items and upcoming invoice amount when unbilled slots and instruction to change the subscription are present\u003c/li\u003e\n\u003cli\u003eFixed the internal teams test failing due to a redis variable issue\u003c/li\u003e\n\u003cli\u003eMoved the account billing overview tests to a different location to avoid conflicts\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\u003c/p\u003e"}}