java.lang.Object | |
↳ | com.atlassian.jira.issue.changehistory.DefaultChangeHistoryManager |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | HISTORY_METADATA_KEY |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Find a map of all names ever used in the change history.
| |||||||||||
Returns an issue that has been moved by searching on the old issue key.
| |||||||||||
Find a list of issues that the given users have acted on.
| |||||||||||
Find a list of issues that the given users have acted on with the option to limit the projects included
in the search.
| |||||||||||
Returns a List of
ChangeHistoryItem 's for the given issue | |||||||||||
Returns a List of ChangeHistory entities
| |||||||||||
Returns a List of ChangeHistory entities for multiple issues.
| |||||||||||
Returns a List of ChangeHistory entities for a single issue.
| |||||||||||
Returns a List of ChangeHistory entities that occurred after the provided date.
| |||||||||||
Returns a List of ChangeItemBean's for the given issue which also are for the provided changeItemFieldName (i.e.
| |||||||||||
Given an issue key, this method returns a list of previous issue keys this issue was moved from.
| |||||||||||
Returns the same as
getPreviousIssueKeys(String) but is slightly more efficient since no lookup of the
issue id needs to be performed. | |||||||||||
Remove all change items associated with an issue.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.issue.changehistory.ChangeHistoryManager
|
Find a map of all names ever used in the change history.
field | The field name. |
---|
Returns an issue that has been moved by searching on the old issue key.
originalKey | the original key of an issue that has since been moved (moving between projects assigns a new key to an issue) |
---|
Issue
objectFind a list of issues that the given users have acted on.
remoteUser | The user executing this request. |
---|---|
userkeys | The keys of users to find the history for. If null, returns the history for all users. If empty, no results will be found. |
maxResults | The maxmimum number of issues to return |
Find a list of issues that the given users have acted on with the option to limit the projects included in the search.
remoteUser | The user executing this request. |
---|---|
userkeys | The keys of users to find the history for. If null, returns the history for all users. If empty, no results will be found. |
projects | The projects to include issues from |
maxResults | The maxmimum number of issues to return |
Returns a List of ChangeHistoryItem
's for the given issue
issue | the issue |
---|
Returns a List of ChangeHistory entities
issue | the issue. |
---|
Returns a List of ChangeHistory entities for multiple issues. This method is much more efficient than getChangeHistoriesForUser(com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User)
and should be
prefered whenever possible.
issues | the issues. |
---|---|
remoteUser | the user who is asking. |
Returns a List of ChangeHistory entities for a single issue.
issue | the issue. |
---|---|
remoteUser | the user who is asking. |
Returns a List of ChangeHistory entities that occurred after the provided date.
issue | the issue. Must not be null. |
---|---|
since | only change histories made after this date will be returned. Must not be null. |
Returns a List of ChangeItemBean's for the given issue which also are for the provided changeItemFieldName (i.e. Link, Fix Version/s, etc). The order of the list will from oldest to newest.
issue | the issue the change items are associated with, not null. |
---|---|
changeItemFieldName | the field name the change item is stored under, not null or empty. |
Given an issue key, this method returns a list of previous issue keys this issue was moved from. This may be useful for source control plugins for example, where a given changeset should be displayed even after an issue has been moved and it's issue key has changed.
Note: The list of previous issue keys is no longer returned in chronological order.issueKey | The current issue key. |
---|
Returns the same as getPreviousIssueKeys(String)
but is slightly more efficient since no lookup of the
issue id needs to be performed. If you have an issue object available with the issue's id use this method.
issueId | The id of the issue being looked up. |
---|
Remove all change items associated with an issue.
issue | affected issue |
---|