Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira server issues in search results are missing issuelinks


Running Jira Server 8.5.12

We are using the Jira search API `rest/api/2/search` to get details of a task including `issuelinks` but it always returns an empty list of that field even though there are issues linked to the task. An example of the request is below

curl --request POST \
--url SERVER_URL/rest/api/2/search \
--header 'Accept: application/json' \
--header 'Authorization: xxxx' \
--header 'Content-Type: application/json' \
--data '{
"jql": "issue = ISSUE-1",
"fields": [
"expand": ["changelog"],
"maxResults": 100


Also tried using `"fields": [*all]` with the same result.


What is kinda surprising is that when I use the issue endpoint `/rest/api/2/issue/{issueIdOrKey}`, the issue links are present in the response.

Wondering what could be causing that behavior if anyone has encountered that.



1 answer

0 votes

I generally use the Jira Python library and I see the same thing. The search returns issue and then I have to call that second issue REST resource to get the issue links

I looked for an expand parameter value to do this but didn't see one

Yeah, it is very weird. Doing the extra call isn't really a great option for us since we are querying for many issues at the same time so don't want to overload the server.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

533 views 1 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you