com.atlassian.jira.issue.changehistory.metadata.HistoryMetadataManager |
![]() |
@Internal
or @PublicApi
.
Allows storing and retrieving metadata related to issue history entries.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HistoryMetadataManager.HistoryMetadataResult | Holds the information about retrieving history metadata, or errors encountered |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the HistoryMetadata related to the ChangeHistory.
| |||||||||||
Retrieves the HistoryMetadata releated to the ChangeHistory with the given id.
| |||||||||||
Persists the HistoryMetadata related to the change group.
|
Retrieves the HistoryMetadata related to the ChangeHistory.
changeHistory | the change history to get the metadata for |
---|---|
user | the user retrieving the information (requires the VIEW_ISSUE permission for the associated issue), null if anonymous |
Retrieves the HistoryMetadata releated to the ChangeHistory with the given id. Doesn't check any permissions
changeHistoryId | the changehistory id to get the metadata for |
---|
Persists the HistoryMetadata related to the change group. Does not check permissions for the entity being stored.
changeGroupId | the id of the changegroup to save the metadata for |
---|---|
user | the user that performed the change, null if anonymous |
historyMetadata | the metadata to persist |