---
title: "getPullRequestList"
canonical: "https://support.appfire.com/space/BCCLI/65768699/getPullRequestList"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766635)

> Macro (details)
> 
> | **Description** | Get List of pull requests for a user with optional filtering on repository, state and optional regex filtering on name. Date range filtering on created date is available using startDate and endDate parameters. When no start date is specified, the default will be to limit the results to the last 365 days - - the default is equivalent to using '--startDate -365d'. Use '--startDate @all' to avoid the limit. |
> | --- | --- |
> | **Required Parameters** | [repository](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766277) |
> | **Optional Parameters** | [workspace](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65765634), [state](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768146), [regex](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767227), [columns](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766357), [select](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768292), [options](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767811), [outputType](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768516), [file](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768095), [encoding](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766303), [append](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65765977) |
> | **Type** | [Get](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768932/Action+Types#ActionTypes-Get) |
> | **Category** | [Pull Requests](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766329/Action+Categories#ActionCategories-PullRequests) |
> | **Output Formats** | , |
> | **Replacement Variables** |  |
> | **Since Version** | 9.3 |
> | **Examples** | [getPullRequestList](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766633/Examples#getPullRequestList) |

## Related How To's

> Macro (cql-query)