public class CreateIssueParams extends PostParams
parameters
Constructor and Description |
---|
CreateIssueParams(java.lang.Object projectId,
java.lang.String summary,
java.lang.Object issueTypeId,
Issue.PriorityType priority)
Constructor
|
Modifier and Type | Method and Description |
---|---|
CreateIssueParams |
actualHours(java.math.BigDecimal actualHours)
Sets the issue actual hours.
|
CreateIssueParams |
actualHours(float actualHours)
Sets the issue actual hours.
|
CreateIssueParams |
assigneeId(java.lang.Object assigneeId)
Sets the issue assignee user.
|
CreateIssueParams |
attachmentIds(java.util.List attachmentIds)
Sets the issue attachment files.
|
CreateIssueParams |
categoryIds(java.util.List categoryIds)
Sets the categories start date.
|
CreateIssueParams |
checkBoxCustomField(CustomFiledItems customFiledItems)
Sets the checkbox type custom field.
|
CreateIssueParams |
checkBoxCustomField(long customFieldId,
java.util.List<java.lang.Long> customFieldItemIds)
Sets the checkbox type custom field.
|
CreateIssueParams |
checkBoxCustomFieldMap(java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> customFieldMap)
Sets the checkbox type custom field with Map.
|
CreateIssueParams |
checkBoxCustomFields(java.util.List<CustomFiledItems> customFiledItemsList)
Sets the checkbox type custom field with Map.
|
CreateIssueParams |
customFieldOtherValue(CustomFiledValue customFieldValue)
Sets the other value for radio or checkbox type custom field.
|
CreateIssueParams |
customFieldOtherValue(long customFieldId,
java.lang.String otherValue)
Sets the other value for radio or checkbox type custom field.
|
CreateIssueParams |
customFieldOtherValueMap(java.util.Map<java.lang.Long,java.lang.String> customFieldOtherValueMap)
Sets the other value for radio or checkbox type custom field with Map
|
CreateIssueParams |
customFieldOtherValues(java.util.List<CustomFiledValue> customFieldValueList)
Sets the other value for radio or checkbox type custom field with Map
|
CreateIssueParams |
dateCustomField(CustomFiledValue customFieldValue)
Sets the date type custom field.
|
CreateIssueParams |
dateCustomField(long customFieldId,
java.lang.String customFieldValue)
Sets the date type custom field.
|
CreateIssueParams |
dateCustomFieldMap(java.util.Map<java.lang.Long,java.lang.String> customFieldMap)
Sets the date type custom field with Map.
|
CreateIssueParams |
dateCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
Sets the date type custom field with Map.
|
CreateIssueParams |
description(java.lang.String description)
Sets the description.
|
CreateIssueParams |
dueDate(java.lang.String dueDate)
Sets the issue due date.
|
CreateIssueParams |
estimatedHours(java.math.BigDecimal estimatedHours)
Sets the issue estimate hours.
|
CreateIssueParams |
estimatedHours(float estimatedHours)
Sets the issue estimate hours.
|
CreateIssueParams |
milestoneIds(java.util.List milestoneIds)
Sets the issue milestones.
|
CreateIssueParams |
multipleListCustomField(CustomFiledItems customFiledItems)
Sets the multiple list type custom field.
|
CreateIssueParams |
multipleListCustomField(long customFieldId,
java.util.List<java.lang.Long> customFieldItemIds)
Sets the multiple list type custom field.
|
CreateIssueParams |
multipleListCustomFieldMap(java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> customFieldMap)
Sets the multiple list type custom field with Map.
|
CreateIssueParams |
multipleListCustomFields(java.util.List<CustomFiledItems> customFiledItemsList)
Sets the multiple list type custom field with Map.
|
CreateIssueParams |
notifiedUserIds(java.util.List notifiedUserIds)
Sets the issue notified users.
|
CreateIssueParams |
numericCustomField(CustomFiledValue customFieldValue)
Sets the textarea type custom field.
|
CreateIssueParams |
numericCustomField(long customFieldId,
java.math.BigDecimal customFieldValue)
Sets the textarea type custom field.
|
CreateIssueParams |
numericCustomField(long customFieldId,
float customFieldValue)
Sets the textarea type custom field.
|
CreateIssueParams |
numericCustomFieldMap(java.util.Map<java.lang.Long,java.lang.Float> customFieldMap)
Sets the textarea type custom field with Map.
|
CreateIssueParams |
numericCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
Sets the textarea type custom field with Map.
|
CreateIssueParams |
parentIssueId(java.lang.Object parentIssueId)
Sets the parent issue parameter.
|
CreateIssueParams |
radioCustomField(CustomFiledItem customFiledItem)
Sets the radio type custom field.
|
CreateIssueParams |
radioCustomField(long customFieldId,
long customFieldItemId)
Sets the radio type custom field.
|
CreateIssueParams |
radioCustomFieldMap(java.util.Map<java.lang.Long,java.lang.Long> customFieldMap)
Sets the radio type custom field with Map.
|
CreateIssueParams |
radioCustomFields(java.util.List<CustomFiledItem> customFiledItemList)
Sets the radio type custom field with Map.
|
CreateIssueParams |
singleListCustomField(CustomFiledItem customFiledItem)
Sets the single list type custom field.
|
CreateIssueParams |
singleListCustomField(long customFieldId,
long customFieldItemId)
Sets the single list type custom field.
|
CreateIssueParams |
singleListCustomFieldMap(java.util.Map<java.lang.Long,java.lang.Long> customFieldMap)
Sets the single list type custom field with Map.
|
CreateIssueParams |
singleListCustomFields(java.util.List<CustomFiledItem> customFiledItemList)
Sets the single list type custom field with Map.
|
CreateIssueParams |
startDate(java.lang.String startDate)
Sets the issue start date.
|
CreateIssueParams |
textAreaCustomField(CustomFiledValue customFieldValue)
Sets the text type custom field.
|
CreateIssueParams |
textAreaCustomField(long customFieldId,
java.lang.String customFieldValue)
Sets the text type custom field.
|
CreateIssueParams |
textAreaCustomFieldMap(java.util.Map<java.lang.Long,java.lang.String> customFieldMap)
Sets the text type custom field with Map.
|
CreateIssueParams |
textAreaCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
Sets the text type custom field with Map.
|
CreateIssueParams |
textCustomField(CustomFiledValue customFieldValue)
Sets the text type custom field.
|
CreateIssueParams |
textCustomField(long customFieldId,
java.lang.String customFieldValue)
Sets the text type custom field.
|
CreateIssueParams |
textCustomFieldMap(java.util.Map<java.lang.Long,java.lang.String> customFieldMap)
Sets the text type custom field with Map.
|
CreateIssueParams |
textCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
Sets the text type custom field with Map.
|
CreateIssueParams |
versionIds(java.util.List versionIds)
Sets the issue versions.
|
getParamList
public CreateIssueParams(java.lang.Object projectId, java.lang.String summary, java.lang.Object issueTypeId, Issue.PriorityType priority)
projectId
- the project identifiersummary
- the issue titleissueTypeId
- the issue type identifierpriority
- the priority of the issuepublic CreateIssueParams parentIssueId(java.lang.Object parentIssueId)
parentIssueId
- the parent issue identifierpublic CreateIssueParams description(java.lang.String description)
description
- the issue descriptionpublic CreateIssueParams startDate(java.lang.String startDate)
startDate
- the issue descriptionpublic CreateIssueParams dueDate(java.lang.String dueDate)
dueDate
- the issue due datepublic CreateIssueParams estimatedHours(float estimatedHours)
estimatedHours
- the issue estimate hourspublic CreateIssueParams estimatedHours(java.math.BigDecimal estimatedHours)
estimatedHours
- the issue estimate hourspublic CreateIssueParams actualHours(float actualHours)
actualHours
- the issue actual hourspublic CreateIssueParams actualHours(java.math.BigDecimal actualHours)
actualHours
- the issue actual hourspublic CreateIssueParams categoryIds(java.util.List categoryIds)
categoryIds
- the categories start datepublic CreateIssueParams versionIds(java.util.List versionIds)
versionIds
- the version identifierspublic CreateIssueParams milestoneIds(java.util.List milestoneIds)
milestoneIds
- the milestone identifierspublic CreateIssueParams assigneeId(java.lang.Object assigneeId)
assigneeId
- the assignee user idpublic CreateIssueParams notifiedUserIds(java.util.List notifiedUserIds)
notifiedUserIds
- notified user identifierspublic CreateIssueParams attachmentIds(java.util.List attachmentIds)
attachmentIds
- the attachment file identifierspublic CreateIssueParams textCustomField(CustomFiledValue customFieldValue)
customFieldValue
- the identifier and the value of custom fieldpublic CreateIssueParams textCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
customFieldValueList
- list of the identifiers and the values of custom fieldpublic CreateIssueParams textAreaCustomField(CustomFiledValue customFieldValue)
customFieldValue
- the identifier and the value of custom fieldpublic CreateIssueParams textAreaCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
customFieldValueList
- list of the identifiers and the values of custom fieldpublic CreateIssueParams numericCustomField(CustomFiledValue customFieldValue)
customFieldValue
- the identifier and the value of custom fieldpublic CreateIssueParams numericCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
customFieldValueList
- list of the identifiers and the values of custom fieldpublic CreateIssueParams dateCustomField(CustomFiledValue customFieldValue)
customFieldValue
- the identifier and the value of custom fieldpublic CreateIssueParams dateCustomFields(java.util.List<CustomFiledValue> customFieldValueList)
customFieldValueList
- list of the identifiers and the values of custom fieldpublic CreateIssueParams singleListCustomField(CustomFiledItem customFiledItem)
customFiledItem
- the custom field identifiers and custom field item identifierpublic CreateIssueParams singleListCustomFields(java.util.List<CustomFiledItem> customFiledItemList)
customFiledItemList
- list of the custom field identifiers and custom field item identifierpublic CreateIssueParams radioCustomField(CustomFiledItem customFiledItem)
customFiledItem
- the custom field identifiers and custom field item identifierpublic CreateIssueParams radioCustomFields(java.util.List<CustomFiledItem> customFiledItemList)
customFiledItemList
- list of the custom field identifiers and custom field item identifierpublic CreateIssueParams multipleListCustomField(CustomFiledItems customFiledItems)
customFiledItems
- the custom field identifiers and custom field item identifierspublic CreateIssueParams multipleListCustomFields(java.util.List<CustomFiledItems> customFiledItemsList)
customFiledItemsList
- list of the custom field identifiers and custom field item identifierspublic CreateIssueParams checkBoxCustomField(CustomFiledItems customFiledItems)
customFiledItems
- the custom field identifiers and custom field item identifierspublic CreateIssueParams checkBoxCustomFields(java.util.List<CustomFiledItems> customFiledItemsList)
customFiledItemsList
- list of the custom field identifiers and custom field item identifierspublic CreateIssueParams customFieldOtherValue(CustomFiledValue customFieldValue)
customFieldValue
- the identifier and the value of custom fieldpublic CreateIssueParams customFieldOtherValues(java.util.List<CustomFiledValue> customFieldValueList)
customFieldValueList
- list of the identifiers and the values of custom fieldpublic CreateIssueParams textCustomField(long customFieldId, java.lang.String customFieldValue)
customFieldId
- the identifier of custom fieldcustomFieldValue
- the value of custom fieldpublic CreateIssueParams textCustomFieldMap(java.util.Map<java.lang.Long,java.lang.String> customFieldMap)
customFieldMap
- set of the identifiers and the valuespublic CreateIssueParams textAreaCustomField(long customFieldId, java.lang.String customFieldValue)
customFieldId
- the identifier of custom fieldcustomFieldValue
- the value of custom fieldpublic CreateIssueParams textAreaCustomFieldMap(java.util.Map<java.lang.Long,java.lang.String> customFieldMap)
customFieldMap
- set of the identifiers and the valuespublic CreateIssueParams numericCustomField(long customFieldId, float customFieldValue)
customFieldId
- the identifier of custom fieldcustomFieldValue
- the value of custom fieldpublic CreateIssueParams numericCustomField(long customFieldId, java.math.BigDecimal customFieldValue)
customFieldId
- the identifier of custom fieldcustomFieldValue
- the value of custom fieldpublic CreateIssueParams numericCustomFieldMap(java.util.Map<java.lang.Long,java.lang.Float> customFieldMap)
customFieldMap
- set of the identifiers and the valuespublic CreateIssueParams dateCustomField(long customFieldId, java.lang.String customFieldValue)
customFieldId
- the identifier of custom fieldcustomFieldValue
- the value of custom fieldpublic CreateIssueParams dateCustomFieldMap(java.util.Map<java.lang.Long,java.lang.String> customFieldMap)
customFieldMap
- set of the identifiers and the valuespublic CreateIssueParams singleListCustomField(long customFieldId, long customFieldItemId)
customFieldId
- the identifier of custom fieldcustomFieldItemId
- the identifier of custom field itempublic CreateIssueParams singleListCustomFieldMap(java.util.Map<java.lang.Long,java.lang.Long> customFieldMap)
customFieldMap
- set of the custom field identifiers and custom field item identifierspublic CreateIssueParams radioCustomField(long customFieldId, long customFieldItemId)
customFieldId
- the identifier of custom fieldcustomFieldItemId
- the identifier of custom field itempublic CreateIssueParams radioCustomFieldMap(java.util.Map<java.lang.Long,java.lang.Long> customFieldMap)
customFieldMap
- set of the custom field identifiers and custom field item identifierspublic CreateIssueParams multipleListCustomField(long customFieldId, java.util.List<java.lang.Long> customFieldItemIds)
customFieldId
- the identifier of custom fieldcustomFieldItemIds
- the identifiers of custom field itemspublic CreateIssueParams multipleListCustomFieldMap(java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> customFieldMap)
customFieldMap
- set of the custom field identifiers and custom field item identifierspublic CreateIssueParams checkBoxCustomField(long customFieldId, java.util.List<java.lang.Long> customFieldItemIds)
customFieldId
- the identifier of custom fieldcustomFieldItemIds
- the identifiers of custom field itemspublic CreateIssueParams checkBoxCustomFieldMap(java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> customFieldMap)
customFieldMap
- set of the custom field identifiers and custom field item identifierspublic CreateIssueParams customFieldOtherValue(long customFieldId, java.lang.String otherValue)
customFieldId
- the identifier of custom fieldotherValue
- the other valuepublic CreateIssueParams customFieldOtherValueMap(java.util.Map<java.lang.Long,java.lang.String> customFieldOtherValueMap)
customFieldOtherValueMap
- set of the custom field identifiers and the other value