Get field reference data (POST)
POST
/rest/api/3/jql/autocompletedata
JQL
projectIds
are ignored. System fields are always returned.Component - Component[Dropdown]
enables dropdown fields Component - cf[10061]
and Component - cf[10062]
to be searched simultaneously.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://jira.local:8080/jira/rest//rest/api/3/jql/autocompletedata' \
--header 'Content-Type: application/json' \
--data-raw '{
"includeCollapsedFields": true,
"projectIds": [
10000,
10001,
10002
]
}'
Response Response Example
200 - Success
{
"visibleFieldNames": [
{
"value": "summary",
"displayName": "summary",
"orderable": "true",
"searchable": "true",
"operators": [
"~",
"!~",
"is",
"is not"
],
"types": [
"java.lang.String"
]
},
{
"value": "cf[10061]",
"displayName": "Component - cf[10061]",
"orderable": "true",
"auto": "true",
"cfid": "cf[10061]",
"operators": [
"=",
"!=",
"in",
"not in",
"is",
"is not"
],
"types": [
"com.atlassian.jira.issue.customfields.option.Option"
]
},
{
"value": "cf[10062]",
"displayName": "Component - cf[10062]",
"orderable": "true",
"auto": "true",
"cfid": "cf[10062]",
"operators": [
"=",
"!=",
"in",
"not in",
"is",
"is not"
],
"types": [
"com.atlassian.jira.issue.customfields.option.Option"
]
},
{
"value": "\"Component[Dropdown]\"",
"displayName": "Component - Component[Dropdown]",
"searchable": "true",
"auto": "true",
"operators": [
"=",
"!=",
"in",
"not in",
"is",
"is not"
],
"types": [
"com.atlassian.jira.issue.customfields.option.Option"
]
}
],
"visibleFunctionNames": [
{
"value": "standardIssueTypes()",
"displayName": "standardIssueTypes()",
"isList": "true",
"types": [
"com.atlassian.jira.issue.issuetype.IssueType"
]
}
],
"jqlReservedWords": [
"empty",
"and",
"or",
"in",
"distinct"
]
}
Request
Body Params application/json
Responses
Modified at 2023-07-13 03:27:27