Getting more fields from Search Endpoint

Hi Everyone,

I'm trying to understand something regarding the response that I get from my POST call to /search endpoint. When I input the following data:

{
    "jql": "key=JIRA-20692",
    "startAt": 0,
    "maxResults": 15,
}

Everything seems to be working perfectly. However, when I input the following:

{
    "jql": "key=JIRA-20692",
    "startAt": 0,
    "maxResults": 15,
    "fields": [
        "summary",
        "status",
        "assignee"
    ]
}

I don't get a response anymore, it's all empty. Is there something that I am missing? I just want to get more information with the response. And while I could do an extra call to the /issue endpoint to get that info. I would rather get everything in one.

I have the old school JIRA 4.4, I dont know if that may have anything to do with it.

BTW: "expand": ["renderedFields"] also fails :s

1 answer

Any help? I really need to get this done.

I just don't want to make a bunch of calls for every single issue to find out the information that I need and that I can easily get in the web search tool

Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,608 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you