| Package | Description |
|---|---|
| com.atlassian.stash.rest.client.api |
| Modifier and Type | Method and Description |
|---|---|
default PullRequestStatus |
StashClient.createPullRequest(String title,
String description,
PullRequestRef fromRef,
PullRequestRef toRef,
Iterable<String> reviewers)
Creates a new pull request between two branches.
|
PullRequestStatus |
StashClient.createPullRequest(String title,
String description,
PullRequestRef fromRef,
PullRequestRef toRef,
Iterable<String> reviewers,
AvatarRequest avatarRequest)
Creates a new pull request between two branches.
|
default PullRequestStatus |
StashClient.mergePullRequest(String projectKey,
String repositorySlug,
long pullRequestId,
long version)
Merge specified pull request.
|
PullRequestStatus |
StashClient.mergePullRequest(String projectKey,
String repositorySlug,
long pullRequestId,
long version,
AvatarRequest avatarRequest)
Merge specified pull request.
|
| Modifier and Type | Method and Description |
|---|---|
default Page<PullRequestStatus> |
StashClient.getPullRequestsByRepository(String projectKey,
String repositorySlug,
String branchName,
StashClient.PullRequestDirection direction,
StashClient.PullRequestStateFilter stateFilter,
StashClient.PullRequestsOrder order,
long start,
long limit)
Retrieve a page of pull requests to or from the specified repository.
|
Page<PullRequestStatus> |
StashClient.getPullRequestsByRepository(String projectKey,
String repositorySlug,
String branchName,
StashClient.PullRequestDirection direction,
StashClient.PullRequestStateFilter stateFilter,
StashClient.PullRequestsOrder order,
long start,
long limit,
AvatarRequest avatarRequest)
Retrieve a page of pull requests to or from the specified repository.
|
Copyright © 2020 Atlassian. All rights reserved.