Hello, I am successfully querying my issue in PHP using cURL:
$issue->fields->summary
The output, however, is not marked up as it is in the issue's description on JIRA itself. At first I thought it was Markdown, so I sent it through that renderer:
Markdown::convertToHtml($issue->fields->summary)
but that did not work, because it turns out it's not Markdown at all. Here is the syntax: https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all
How do I go about grabbing the full rendered output of the formatted fields, in this case the summary field?
Community moderators have prevented the ability to post new answers.
You're probably talking about the description field. The summary field is not a rendered field, i.e. you cannot use JIRA's wiki syntax to format it.
But to answer your question: You can get the rendered output by expanding renderedFields
. Take a look at the docu for the REST resource GET /rest/api/2/issue/{issueIdOrKey}
and search for renderedFields. There is explains how to use it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.