com.atlassian.bitbucket.integration.jira.JiraIssueService |
Service used to retrieve and modify Jira issue to commit mappings
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves changesets for commits that are linked to the specified Jira issue.
| |||||||||||
Retrieves Jira issues associated with any of the specified commits.
| |||||||||||
Retrieves Jira issues that are associated with the specified pull request.
|
Retrieves changesets for commits that are linked to the specified Jira issue. This method performs a cross-repository query, but will only return commits in repositories that the user is permitted to see. If a commit exists in multiple repositories, an arbitrary repository is chosen.
For each matching commit that the user is allowed to see, the first maxChanges
are retrieved
and used to build a Changeset
.
issueKey | the issue key |
---|---|
maxChanges | the maximum number of Change changes to return for each changeset |
pageRequest | specifies the offset and limit for the paging of changesets |
Retrieves Jira issues associated with any of the specified commits.
By default, issues are only drawn from the first 100 commits in the provided set. If the set contains
more than 100 commit IDs, some issues may not be returned. That limit may be raised by adjusting
plugin.jira-integration.pullrequest.attribute.commits.max
.
commitIds | a set of full commit IDs ; partial
IDs or display IDs will not match |
---|
Retrieves Jira issues that are associated with the specified pull request. Issues are associated with the pull request if they appear in:
title
source branch
By default, issues are only drawn from the first 100 commits on the pull request. If the pull request
includes more than 100 commits, some issues may not be returned. That limit may be raised by adjusting
plugin.jira-integration.pullrequest.attribute.commits.max
.
repositoryId | the ID of the repository to which the pull request will be merged |
---|---|
pullRequestId | the ID of the pull request within the repository |