Class IssueUpdateRequest
java.lang.Object
com.atlassian.jira.rest.api.issue.IssueUpdateRequest
Issue update/create request.
- Since:
- v5.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IssueFieldsprotected ResourceRefprotected Map<String, List<FieldOperation>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfields()fields(IssueFields fields) historyMetadata(HistoryMetadata historyMetadata) Sets the history metadata for the update operationproperties(List<IssueUpdateRequest.IssueProperty> properties) Sets the history metadata for the update operationtoString()transition(ResourceRef transition) update()update(String fieldId, FieldOperation... updates) Sets the update operations for a single field.update(String fieldId, List<FieldOperation> updates) Sets the update operations for a single field.update(Map<String, List<FieldOperation>> update)
-
Field Details
-
update
-
fields
-
transition
-
-
Constructor Details
-
IssueUpdateRequest
public IssueUpdateRequest()
-
-
Method Details
-
fields
-
fields
-
update
-
update
-
transition
-
update
Sets the update operations for a single field.- Parameters:
fieldId- a String containing the field IDupdates- a List of FieldOperation- Returns:
- this
-
update
Sets the update operations for a single field.- Parameters:
fieldId- a String containing the field IDupdates- an array of FieldOperation- Returns:
- this
-
historyMetadata
Sets the history metadata for the update operation- Since:
- JIRA 6.3
-
properties
Sets the history metadata for the update operation- Since:
- JIRA 7.1
-
toString
-