com.atlassian.jira.issue.changehistory.ChangeHistoryManager |
Known Indirect Subclasses |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Manages the change history of issues. TODO: expand this interface to include the functionality from ChangeLogUtils
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
since 5.2 - and will be removed in 6.0, it sucks performance wise and can kill a JIRA instance
if you really need to find all values then use
JiraLuceneFieldFinder | |||||||||||
This method is deprecated.
Use
getIssue(String) instead. Since v6.1. | |||||||||||
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.
| |||||||||||
This method is deprecated.
Use
getAllIssueKeys(Long) instead. Since v6.1.
| |||||||||||
This method is deprecated.
Use
getAllIssueKeys(Long) instead. Since v6.1.
| |||||||||||
Remove all change items associated with an issue.
|
This method is deprecated.
since 5.2 - and will be removed in 6.0, it sucks performance wise and can kill a JIRA instance
if you really need to find all values then use JiraLuceneFieldFinder
Find a map of all names ever used in the change history.
field | The field name. |
---|
This method is deprecated.
Use getIssue(String)
instead. Since v6.1.
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
objectGenericEntityException | if an unexpected error occurs |
---|
Find 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. |
This method is deprecated.
Use getAllIssueKeys(Long)
instead. Since v6.1.
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. |
---|
This method is deprecated.
Use getAllIssueKeys(Long)
instead. Since v6.1.
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 |
---|