Get issues using JQL
Searches for issues using JQL. Sorting the jql parameter is a full <a href=“http://confluence.atlassian.com/display/JIRA/Advanced+Searching">JQL</a> expression, and includes an ORDER BY clause. The fields param (which can be specified multiple times) gives a comma-separated list of fields to include in the response. This can be used to retrieve a subset of fields. A particular field can be excluded by prefixing it with a minus. By default, only navigable (*navigable) fields are returned in this search resource. Note: the default is different in the get-issue resource – the default there all fields (*all). *all - include all fields *navigable - include just navigable fields summary,comment - include just the summary and comments -description - include navigable fields except the description (the default is *navigable for search) *all,-comment - include everything except comments GET vs POST: If the JQL query is too large to be encoded as a query param you should instead POST to this resource. Expanding Issues in the Search Result: It is possible to expand the issues returned by directly specifying the expansion on the expand parameter passed in to this resources. For instance, to expand the changelog for all the issues on the search result, it is necessary to specify changelog as one of the values to expand.
/api/2/searchAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
expandStringListA comma-separated list of the parameters to expand
jqlstringa JQL query string
maxResultsinteger<int32>the maximum number of issues to return (defaults to 50)
validateQuerybooleanwhether to validate the JQL query
fieldsStringList[]the list of fields to return for each issue
startAtinteger<int32>the index of the first issue to return (0-based)
Returns a JSON representation of the search results.
expandstringissuesIssueBean[]Show propertiesHide properties
IssueBeanchangelogChangelogBeanShow propertiesHide properties
historiesChangeHistoryBean[]Show propertiesHide properties
ChangeHistoryBeanauthorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringcreatedstring<date-time>historyMetadataHistoryMetadataShow propertiesHide properties
activityDescriptionstringactivityDescriptionKeystringactorHistoryMetadataParticipantShow propertiesHide properties
avatarUrlstringdisplayNamestringdisplayNameKeystringidstringtypestringurlstringcauseHistoryMetadataParticipantdescriptionstringdescriptionKeystringemailDescriptionstringemailDescriptionKeystringextraDataobjectgeneratorHistoryMetadataParticipanttypestringidstringitemsChangeItemBean[]Show propertiesHide properties
ChangeItemBeanfieldstringfieldtypestringfromstringfromStringstringtostringtoStringstringmaxResultsinteger<int32>startAtinteger<int32>totalinteger<int32>editmetaEditMetaBeanfieldsobjectfieldsToIncludeIncludedFieldsShow propertiesHide properties
includedstring[]idstringkeystringnamesobjectoperationsOpsbarBeanShow propertiesHide properties
linkGroupsLinkGroupBean[]Show propertiesHide properties
LinkGroupBeangroupsLinkGroupBean[]Show propertiesHide properties
LinkGroupBeanLinkGroupBean.headerSimpleLinkBeanShow propertiesHide properties
hrefstringiconClassstringidstringlabelstringparamsobjectstyleClassstringtitlestringweightinteger<int32>idstringlinksSimpleLinkBean[]styleClassstringweightinteger<int32>propertiesPropertiesBeanShow propertiesHide properties
propertiesobjectrenderedFieldsobjectschemaobjectselfstring<uri>transitionsTransitionBean[]Show propertiesHide properties
TransitionBeandescriptionstringfieldsobjectidstringnamestringopsbarSequenceinteger<int32>toStatusJsonBeanShow propertiesHide properties
descriptionstringiconUrlstringidstringnamestringselfstringstatusCategoryStatusCategoryJsonBeanShow propertiesHide properties
colorNamestringidinteger<int64>keystringnamestringselfstringstatusColorstringversionedRepresentationsobjectmaxResultWindowinteger<int32>The maximum number of results that can be retrieved from the underlying search engine, or null if unlimited
maxResultsinteger<int32>The number of results to return in this page.
namesobjectschemaobjectstartAtinteger<int32>totalinteger<int32>warningMessagesstring[]Returned if there is a problem with the JQL query.