Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Bitbucket Cloud Command Line Interface (CLI)
  • Reference
    Reference
     This trigger is hidden
  • User's Guide
    User's Guide
     This trigger is hidden
  • Administrator's Guide
    Administrator's Guide
     This trigger is hidden
  • Release notes
    Release notes
     This trigger is hidden
  • Share data with the Support team
    Share data with the Support team
     This trigger is hidden
  • Downloads
    Downloads
     This trigger is hidden
Results will update as you type.
  • User's Guide
    • Reference
      • Actions
        • getClientInfo
        • getFileList
        • getReplacementVariableList
        • getRepository
        • getRepositoryList
        • getSource
        • help
        • publishSource
        • run
        • runFromCsv
        • runFromJson
        • runFromList
        • runFromSql
        • runIf
        • setReplacementVariables
        • createProject
        • deleteProject
        • getBranch
        • getBranchList
        • getCommit
        • getCommitList
        • getProject
        • getProjectList
        • getPullRequest
        • getPullRequestList
        • getTeam
        • getTeamList
        • updateProject
        • getBuildStatusList
        • getUser
        • getWorkspace
        • getWorkspaceList
        • renderRequest
        • runFromWorkspaceList
        • getUpgradeInfo
        • provideFeedback
        • getDeploymentList
        • getEnvironmentList
        • getPipeline
        • getPipelineList
        • getRunnerList
        • runFromProjectList
        • runFromRepositoryList
        • startPipeline
        • addVariables
        • getVariableList
        • removeVariables
        • updateVariables
        • addDownload
        • addEnvironment
        • getDownload
        • getDownloadList
        • getEnvironment
        • getPipelineCacheList
        • removeDownload
        • removeEnvironment
        • removePipelineCache
        • runFromDeploymentList
        • runFromDownloadList
        • runFromEnvironmentList
        • runFromPropertyFile
        • sleep
        • addRunner
        • createPullRequest
    Calendars
You‘re viewing this with anonymous access, so some content might be blocked.
/
getPullRequest

getPullRequest

Dec 03, 2024

See also: Actions

Description

Get pull request information under a repository. Pull request can be identified by number. Name can also be used to identify the pull request, but this is done via name search determined lookup on a list of pull requests which uses a most recent filter based on started date and defaulting to the last 365 days equivalent to using '--startDate -365d'. Use '--startDate @all' to avoid the limit.

Required Parameters

repository, pullRequest

Optional Parameters

workspace, outputType, file, append, encoding

Type

Get

Category

Pull Requests

Output Formats

Replacement Variables

pullRequest, pullRequestName, repository, repositoryFullKey, repositoryName, repositoryUuid, workspace, workspaceName, workspaceUuid

Since Version9.3

Examples

getPullRequest

Related How To's

, multiple selections available, Use left or right arrow keys to navigate selected items
cli-action
cli-action-getpullrequest
cli-parameter-repository
cli-parameter-pullrequest
cli-parameter-file
cli-parameter-encoding
cli-parameter-action
cli-parameter-dateformat
cli-parameter-dateformat2
cli-parameter-help
cli-parameter-outputtype
cli-parameter-special
cli-parameter-quiet
cli-parameter-verbose
cli-parameter-debug
cli-action-category-pull-requests
cli-action-type-get
cli-parameter-workspace
cli-parameter-append

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.

{"serverDuration": 14, "requestCorrelationId": "a6a0bd1c10d643ce8b43aaccef45c6eb"}