public class

IssueUpdateRequest

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.api.issue.IssueUpdateRequest

Class Overview

Issue update/create request.

Summary

Fields
protected IssueFields fields
protected ResourceRef transition
protected Map<StringList<FieldOperation>> update
Public Constructors
IssueUpdateRequest()
Public Methods
IssueFields fields()
IssueUpdateRequest fields(IssueFields fields)
IssueUpdateRequest historyMetadata(HistoryMetadata historyMetadata)
Sets the history metadata for the update operation
String toString()
IssueUpdateRequest transition(ResourceRef transition)
IssueUpdateRequest update(String field, FieldOperation... updates)
Sets the update operations for a single field.
IssueUpdateRequest update(String field, List<FieldOperation> updates)
Sets the update operations for a single field.
IssueUpdateRequest update(Map<StringList<FieldOperation>> update)
Map<StringList<FieldOperation>> update()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected IssueFields fields

protected ResourceRef transition

protected Map<StringList<FieldOperation>> update

Public Constructors

public IssueUpdateRequest ()

Public Methods

public IssueFields fields ()

public IssueUpdateRequest fields (IssueFields fields)

public IssueUpdateRequest historyMetadata (HistoryMetadata historyMetadata)

Sets the history metadata for the update operation

public String toString ()

public IssueUpdateRequest transition (ResourceRef transition)

public IssueUpdateRequest update (String field, FieldOperation... updates)

Sets the update operations for a single field.

Parameters
field a String containing the field name
updates an array of FieldOperation
Returns
  • this

public IssueUpdateRequest update (String field, List<FieldOperation> updates)

Sets the update operations for a single field.

Parameters
field a String containing the field name
updates a List of FieldOperation
Returns
  • this

public IssueUpdateRequest update (Map<StringList<FieldOperation>> update)

public Map<StringList<FieldOperation>> update ()