Getting more fields from Search Endpoint

marcomarquez February 11, 2013

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

0 votes
marcomarquez February 17, 2013

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