Integrations
- Integrations
- 1Password
- Abnormal
- Absolute
- AbuseIPDB
- Adaptive Shield
- Adobe Cloud
- ADP
- Agari Phishing Response
- Airlock
- Airlock Digital
- Akamai Identity Cloud Social
- Alert Logic
- AlgoSec Firewall Analyzer
- AlienVault OTX
- AlienVault USM
- Anodot
- Ansible
- Anvilogic
- Any Run
- Apex One
- ArcSight ESM
- Area 1
- Asana
- Asset Panda
- Atlassian User Management
- Atlassian User Provisioning
- auth0
- Authentik
- Authomize
- Automox
- AWS
- AWS IAM Identity Center
- Axonius
- Azure
- Azure Data Explorer
- Azure DevOps
- Azure Log Analytics
- Azure Storage
- BambooHR
- Big Fix
- BigPanda
- Bitbucket
- Bitbucket
- Actions
- Overview
- Bitbucket Custom Action
- Clone
- Create Or Update Repo SSHKey
- Create Pull Request
- Create Repo Web Hook
- Create Repository
- Delete Repo SSHKey
- Delete Repository
- Get Pull Request
- List Branches
- List Commits
- List Pull Requests
- List Repo Web Hooks
- List Workspace Repos
- Merge Pull Request
- Update Pull Request
- Update Repository
- Triggers
- Bitdefender
- Bitsight
- Bitwarden
- Black Duck
- Black Kite
- Blink
- BMC Remedy
- Box
- Brinqa
- Cato Networks
- Censys
- Check Point Harmony
- Check Point Infinity Events
- Check Point XDR-XPR
- Check Point Management
- Checkmarx One
- Checkmarx SAST
- Chorus
- Chronicle
- Cisco Advanced Phishing Protection
- Cisco Domain Protection
- Cisco Meraki
- Cisco Talos
- Cisco Umbrella
- Cisco Webex
- Claroty xDome
- ClearPass
- ClickHouse
- ClickUp
- Cloud Custodian
- Cloudflare
- Cobalt
- Compass
- Confluence
- Confluence Data Center
- Coralogix
- Coralogix Incident Management
- Cortex XDR
- Cortex Xpanse
- CredStash
- Cribl
- CrowdStrike
- CyberArk
- Cybersixgill
- CyCognito
- Cyera
- Cylance
- Cyware CTIX
- Darktrace
- Dasera
- Databricks
- Datadog
- DataSet
- Delighted
- Delinea
- Devo
- Discord
- Docusign
- Domo
- Drata
- Dropbox
- Dropbox Business
- Druva
- Duo
- Duo Auth
- Dynatrace
- EasyVista
- EchoTrail
- Egnyte
- Egnyte Secure Govern
- Elasticsearch
- Entro
- Ermetic
- Exabeam
- Exchange Online
- Expel
- F5 BIG IP
- Falcon LogScale
- Falcon Surface
- Flare.io
- Forcepoint DLP
- Forescout
- FortiGate
- Freshservice
- GCP
- Ghostwriter
- Git
- GitHub
- GitLab
- Glean
- Gmail
- Google Calendar
- Google Chat
- Google Docs
- Google Drive
- Google Forms
- Google Looker
- Google Meet
- Google Sheets
- Google Workspace
- Grafana
- Grip Security
- GYTPOL
- Have I Been Pwned
- HiBob
- HubSpot
- Hunters
- Hybrid Analysis
- Hyperproof
- IBM Cloud
- IBM NS1 Connect
- IBM X Force
- Imperva
- incident.io
- Infoblox Cloud Services Portal
- Integrations
- Intercom
- Intezer
- IP API
- IPinfo
- IPWHOIS
- Ironscales
- Ivanti RiskSense
- Jamf
- JetBrains
- JFrog
- Jira
- Jira Data Center
- Joe Sandbox
- JumpCloud
- Kandji
- Keeper Secrets Manager
- Kenna Security
- KnowBe4
- KnowBe4 Events
- Kubernetes
- Lacework
- LaunchDarkly
- Linear
- Litmos
- LogicMonitor
- LogRhythm
- Manage Engine ServiceDesk Plus
- Mattermost
- Maven
- Microsoft Defender For Cloud
- Microsoft Defender For Cloud Apps
- Microsoft Defender For Endpoints
- Microsoft Defender XDR
- Microsoft E-Discovery
- Microsoft Entra ID
- Microsoft Graph
- Microsoft Intune
- Microsoft Office 365 Management Activity
- Microsoft Outlook
- Microsoft Purview
- Microsoft Sentinel
- Microsoft SQL Server
- Microsoft Teams
- Mimecast
- MISP
- Monday
- MongoDB Atlas
- MxToolbox
- Neo4j
- NetBox
- Netography
- Netskope
- New Relic
- Nightfall AI
- NinjaOne
- Notion
- Nozomi Networks
- Nuclei
- Nucleus
- Nutanix Hypervisor
- Obsidian
- Okta
- OneDrive
- OneLogin
- OneTrust
- OpenAI
- OpenCTI
- Opsgenie
- OPSWAT
- Oracle Cloud
- Oracle HCM
- Orca Security
- OWASP ZAP
- PagerDuty
- Palo Alto Cloud NGFW
- Palo Alto Firewall
- Panther
- Pentera
- Perception Point
- PhishLabs
- PhishLabs Incident Data
- PhishLabs Open Web Monitoring
- Pingdom
- PingID
- PingOne
- PlexTrac
- PortSwigger
- Postman
- Postman SCIM
- Power BI
- PowerShell
- Prisma Access
- Prisma Cloud CSPM
- Prisma Cloud CWP
- Prometheus
- Proofpoint
- Proofpoint ITM
- Proofpoint Protection Server
- Proofpoint Security Awareness Training
- Proofpoint TAP
- Proofpoint Threat Response Auto Pull
- Pub-Sub
- QRadar
- Qualys
- Rapid7
- Rapid7 InsightIDR
- Rapid7 InsightVM Cloud
- Rapid7 Threat Command
- Reco
- Recorded Future
- Red Hat IdM
- Rippling
- runZero
- SafeBase
- Sage HR
- SailPoint
- SailPoint IdentityIQ
- Salesforce
- SAP Ariba
- ScienceLogic
- Securin
- Securin VI
- SecurityScorecard
- Securonix
- SemGrep
- SentinelOne
- ServiceNow
- SharePoint
- Shodan
- Shopify
- Silverfort
- Slack
- Smartsheet
- Snipe-IT
- Snowflake
- Snyk
- SolarWinds Service Desk
- SonarQube
- Sophos
- Split
- Splunk
- Splunk Observability
- Splunk SOAR
- Spur
- StrongDM
- Sumo Logic
- Symantec EDR
- Sysdig
- Tableau
- Tanium
- TeamCity
- TeamViewer
- Telegram
- Tenable
- Tenable Security Center
- Terraform
- Terraform Cloud
- TheHive
- Thinkst Canary
- ThreatQuotient
- Trellix Email Security
- Trello
- Trend Vision One
- Twilio
- UKG HR
- Uptycs
- URLScan
- Vault
- Veracode
- Verkada
- Vertica
- VirusTotal
- VMware Carbon Black
- VMware vSphere
- WeChat
- WhatsApp
- Whois
- WildFire
- Wiz
- Workday
- Workspace ONE UEM
- YesWeHack
- Zendesk
- Zero Networks
- Zoom
- Zscaler Internet Access
- Zscaler Private Access
Actions
List Pull Requests
Returns all pull requests on the specified repository.
By default only open pull requests are returned. This can be controlled using the state
query parameter. To retrieve pull requests that are in one of multiple states, repeat the state
parameter for each individual state.
This endpoint also supports filtering and sorting of the results. See filtering and sorting for more details.
To learn more, visit the Bitbucket documentation.
Parameters
Parameter | Description |
---|---|
Repo Slug | This can either be the repository slug or the UUID of the repository,surrounded by curly-braces, for example: {repository UUID} . |
State | Only return pull requests that are in this state. |
Workspace Slug | This can either be the workspace ID (slug) or the workspace UUIDsurrounded by curly-braces, for example: {workspace UUID} . |
Example Output
{ "values": [ { "comment_count": 0, "task_count": 0, "type": "pullrequest", "id": 31, "title": "bhjg created online with Bitbucket", "description": "bhjg created online with Bitbucket", "state": "OPEN", "merge_commit": null, "close_source_branch": true, "closed_by": null, "author": { "display_name": "David Korochik", "links": { "self": { "href": "https://api.bitbucket.org/2.0/users/%7B54af34e6-01f7-4a1d-a643-b7687553909d%7D" }, "avatar": { "href": "https://secure.gravatar.com/avatar/d5977080980b9212b5ff014e1cd1641c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FDK-5.png" }, "html": { "href": "https://bitbucket.org/%7B54af34e6-01f7-4a1d-a643-b7687553909d%7D/" } }, "type": "user", "uuid": "{54af34e6-01f7-4a1d-a643-b7687553909d}", "account_id": "618c35eafba4d0006ad8a3aa", "nickname": "David Korochik" }, "reason": "", "created_on": "2023-02-06T12:24:07.924404+00:00", "updated_on": "2023-02-06T12:24:08.984122+00:00", "destination": { "branch": { "name": "master" }, "commit": { "type": "commit", "hash": "7dded1edaa57", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/commit/7dded1edaa57" }, "html": { "href": "https://bitbucket.org/david2kk/triggers/commits/7dded1edaa57" } } }, "repository": { "type": "repository", "full_name": "david2kk/triggers", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers" }, "html": { "href": "https://bitbucket.org/david2kk/triggers" }, "avatar": { "href": "https://bytebucket.org/ravatar/%7Ba17d5b9a-6b9f-4248-af61-a13577a7ce6e%7D?ts=default" } }, "name": "triggers", "uuid": "{a17d5b9a-6b9f-4248-af61-a13577a7ce6e}" } }, "source": { "branch": { "name": "David-Korochik/bhjg-created-online-with-bitbucket-1675686243720" }, "commit": { "type": "commit", "hash": "895a85fa4319", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/commit/895a85fa4319" }, "html": { "href": "https://bitbucket.org/david2kk/triggers/commits/895a85fa4319" } } }, "repository": { "type": "repository", "full_name": "david2kk/triggers", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers" }, "html": { "href": "https://bitbucket.org/david2kk/triggers" }, "avatar": { "href": "https://bytebucket.org/ravatar/%7Ba17d5b9a-6b9f-4248-af61-a13577a7ce6e%7D?ts=default" } }, "name": "triggers", "uuid": "{a17d5b9a-6b9f-4248-af61-a13577a7ce6e}" } }, "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31" }, "html": { "href": "https://bitbucket.org/david2kk/triggers/pull-requests/31" }, "commits": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/commits" }, "approve": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/approve" }, "request-changes": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/request-changes" }, "diff": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/diff/david2kk/triggers:895a85fa4319%0D7dded1edaa57?from_pullrequest_id=31&topic=true" }, "diffstat": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/diffstat/david2kk/triggers:895a85fa4319%0D7dded1edaa57?from_pullrequest_id=31&topic=true" }, "comments": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/comments" }, "activity": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/activity" }, "merge": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/merge" }, "decline": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/decline" }, "statuses": { "href": "https://api.bitbucket.org/2.0/repositories/david2kk/triggers/pullrequests/31/statuses" } }, "summary": { "type": "rendered", "raw": "bhjg created online with Bitbucket", "markup": "markdown", "html": "<p>bhjg created online with Bitbucket</p>" } }, ], "pagelen": 50, "size": 3, "page": 1}
Workflow Library Example
List Pull Requests with Bitbucket and Send Results Via Email
Preview this Workflow on desktop
Was this page helpful?