Supported options per field types are:MULTI_SELECT - EQUALS, DOES_NOT_EQUAL, IS_ONE_OF, IS_NOT_ONE_OF SINGLE_SELECT - EQUALS, CONTAINS_ANY_OF, CONTAINS_ALL_OF, CONTAINS_NONE_OF USER - EQUALS, DOES_NOT_EQUAL, IS_ONE_OF, IS_NOT_ONE_OF SINGLE_LINE_TEXT - EQUALS, DOES_NOT_EQUAL, STARTS_WITH, ENDS_WITH, CONTAINS, DOES_NOT_CONTAIN MULTI_LINE_TEXT - EQUALS, DOES_NOT_EQUAL, STARTS_WITH, ENDS_WITH, CONTAINS, DOES_NOT_CONTAIN NUMBER - EQUALS, DOES_NOT_EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO PRIORITY - EQUALS, DOES_NOT_EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, IS_ONE_OF, IS_NOT_ONE_OF RESOLUTION - EQUALS, DOES_NOT_EQUAL, IS_ONE_OF, IS_NOT_ONE_OF, IS_RESOLVED, IS_UNRESOLVED REQUEST_TYPE - EQUALS, DOES_NOT_EQUAL, IS_ONE_OF, IS_NOT_ONE_OF
Also, if a field has property “canBeEmpty” equal to ‘true’, a list of options will extend with two additional values - IS_EMPTY and IS_NOT_EMPTY Responses Status |
---|
colour | Green |
---|
title | status 200 |
---|
| application/json returns a list of fields in JSON format Example:
Code Block |
---|
[
{
"id": "summary",
"type": "SINGLE_LINE_TEXT",
"name": "Summary",
"canBeEmpty": true,
"suggestionFieldId": "summary"
},
{
"id": "issuetype",
"type": "MULTI_SELECT",
"name": "Issue Type",
"canBeEmpty": false,
"suggestionFieldId": "issuetype"
},
{
"id": "status",
"type": "MULTI_SELECT",
"name": "Status",
"canBeEmpty": false,
"suggestionFieldId": "status"
},
{
"id": "priority",
"type": "PRIORITY",
"name": "Priority",
"canBeEmpty": false,
"suggestionFieldId": "priority"
},
{
"id": "resolution",
"type": "RESOLUTION",
"name": "Resolution",
"canBeEmpty": false,
"suggestionFieldId": "resolution"
},
{
"id": "assignee",
"type": "USER",
"name": "Assignee",
"canBeEmpty": true,
"suggestionFieldId": "assignee"
},
{
"id": "reporter",
"type": "USER",
"name": "Reporter",
"canBeEmpty": true,
"suggestionFieldId": "reporter"
},
{
"id": "creator",
"type": "USER",
"name": "Creator",
"canBeEmpty": true,
"suggestionFieldId": "creator"
},
{
"id": "affectedVersion",
"type": "MULTI_SELECT",
"name": "Affects Version/s",
"canBeEmpty": true,
"suggestionFieldId": "affectedVersion"
},
{
"id": "fixVersion",
"type": "MULTI_SELECT",
"name": "Fix Version/s",
"canBeEmpty": true,
"suggestionFieldId": "fixVersion"
},
{
"id": "component",
"type": "MULTI_SELECT",
"name": "Component/s",
"canBeEmpty": true,
"suggestionFieldId": "component"
},
{
"id": "environment",
"type": "MULTI_LINE_TEXT",
"name": "Environment",
"canBeEmpty": true,
"suggestionFieldId": "environment"
},
{
"id": "description",
"type": "MULTI_LINE_TEXT",
"name": "Description",
"canBeEmpty": true,
"suggestionFieldId": "description"
},
{
"id": "labels",
"type": "MULTI_SELECT",
"name": "Labels",
"canBeEmpty": true,
"suggestionFieldId": "labels"
},
{
"id": "customfield_10001",
"type": "MULTI_LINE_TEXT",
"name": "Checklists",
"canBeEmpty": true,
"suggestionFieldId": "cf[10001]"
},
{
"id": "customfield_10002",
"type": "SINGLE_LINE_TEXT",
"name": "Smart Checklist Progress",
"canBeEmpty": true,
"suggestionFieldId": "cf[10002]"
}
] |
|