Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Server REST API

Fab
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2018

Hi all,

When I run a jql search like the following

https://url/rest/api/2/search?jql=issue=ISSUE-ID&fields=id,key,fixVersions,description"

I have the result: 

{
"expand": "names,schema",
"startAt": 0,
"maxResults": 50,
"total": 1,
"issues": [
{
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "48687",
"self": "https://url/rest/api/2/issue/48687",
"key": "issue-xyz",
"fields": {
"description": null,
"fixVersions": [
{
"self": "https://url/rest/api/2/version/17908",
"id": "17908",
"description": "description abc",
"name": "name abc",
"archived": false,
"released": false
}
]
}
}
]
}

Is it possible to get a specific field of a nested object? For example is possible to get only the field description under fixVersions?

 

1 answer

0 votes
Arun_Thundyill_Saseendran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 19, 2018

AFAIK, you can specify only the fields. It is not possible to specify the field from within an object.

Fab
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2018

@Arun_Thundyill_Saseendran OK, thank you for your help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events