com.atlassian.jira.rest.api.issue
Class IssueUpdateRequest

java.lang.Object
  extended by com.atlassian.jira.rest.api.issue.IssueUpdateRequest

public class IssueUpdateRequest
extends Object

Issue update/create request.

Since:
v5.0

Field Summary
protected  IssueFields fields
           
protected  ResourceRef transition
           
protected  Map<String,List<FieldOperation>> update
           
 
Constructor Summary
IssueUpdateRequest()
           
 
Method Summary
 IssueFields fields()
           
 IssueUpdateRequest fields(IssueFields fields)
           
 String toString()
           
 IssueUpdateRequest transition(ResourceRef transition)
           
 Map<String,List<FieldOperation>> update()
           
 IssueUpdateRequest update(Map<String,List<FieldOperation>> update)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

update

protected Map<String,List<FieldOperation>> update

fields

protected IssueFields fields

transition

protected ResourceRef transition
Constructor Detail

IssueUpdateRequest

public IssueUpdateRequest()
Method Detail

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 name
updates - 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 name
updates - an array of FieldOperation
Returns:
this

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.