REST JQL search returning empty expanded fields

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 6.0-OD-06, 5.2.6
    • Affects Version/s: 5.2
    • Component/s: None
    • 5.02

      I'm trying to get the rendered description of a set of issues:

      If I use the REST api for a single issue, the rendered description is returned:
      https://jira.atlassian.com/rest/api/2/issue/JRA-9?fields=description&expand=renderedFields

      {
        "expand": "renderedFields,names,schema,transitions,operations,editmeta,changelog",
        "id": "10148",
        "self": "https://jira.atlassian.com/rest/api/2/issue/10148",
        "key": "JRA-9",
        "fields": {
          "description": "Add time zones to user profile.     That way the dates displayed to a user are always contiguous with their local time zone, rather than the server's time zone."
        },
        "renderedFields": {
          "description": "Add time zones to user profile.     That way the dates displayed to a user are always contiguous with their local time zone, rather than the server's time zone."
        }
      }
      

      However, if I use the JQL REST api, the renderedFields returns empty:
      https://jira.atlassian.com/rest/api/2/search?jql=issuekey+in+(JRA-9)&fields=description&expand=renderedFields

      {
        "expand": "names,schema",
        "startAt": 0,
        "maxResults": 50,
        "total": 1,
        "issues": [
          {
            "expand": "editmeta,renderedFields,transitions,changelog,operations",
            "id": "10148",
            "self": "https://jira.atlassian.com/rest/api/2/issue/10148",
            "key": "JRA-9",
            "fields": {
              "description": "Add time zones to user profile.     That way the dates displayed to a user are always contiguous with their local time zone, rather than the server's time zone."
            },
            "renderedFields": {}
          }
        ]
      }
      

            Assignee:
            Eric Dalgliesh
            Reporter:
            Joshua Tjhin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: