com.atlassian.jira.rest.api.issue
Class IssueUpdateRequest
java.lang.Object
com.atlassian.jira.rest.api.issue.IssueUpdateRequest
public class IssueUpdateRequest
- extends Object
Issue update/create request.
- Since:
- v5.0
update
protected Map<String,List<FieldOperation>> update
fields
protected IssueFields fields
transition
protected ResourceRef transition
IssueUpdateRequest
public IssueUpdateRequest()
fields
public IssueFields fields()
fields
public IssueUpdateRequest fields(IssueFields fields)
update
public Map<String,List<FieldOperation>> update()
update
public IssueUpdateRequest update(Map<String,List<FieldOperation>> update)
transition
public IssueUpdateRequest transition(ResourceRef transition)
update
public IssueUpdateRequest update(String field,
List<FieldOperation> updates)
- Sets the update operations for a single field.
- Parameters:
field
- a String containing the field nameupdates
- a List of FieldOperation
- Returns:
- this
update
public IssueUpdateRequest update(String field,
FieldOperation... updates)
- Sets the update operations for a single field.
- Parameters:
field
- a String containing the field nameupdates
- an array of FieldOperation
- Returns:
- this
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.