Support the ongoing development of Laravel.io →
Eloquent Views Configuration
Last updated 2 years ago.
0

Thanks, that seems to be what I need to do, but the API library I'm using seems to already expand the renderedFields automatically. The information I receive looks like this:

Issue {#211 ▼
  #expand: array:6 [▼
    0 => "operations"
    1 => "versionedRepresentations"
    2 => "editmeta"
    3 => "changelog"
    4 => "transitions"
    5 => "renderedFields"
  ]
  #id: "12106"
  #self: "redacted/rest/api/2/issue/12106"
  #key: "TEST-1"
  #fields: array:11 [▼
    "Serial Number" => "102-001"
    "Issue Type" => array:7 [▶]
    "Contract ID" => "5703"
    "Job #" => "111360"
    "Electrical Print #" => "ELE1_1"
    "Voltage" => null
    "Description" => """
      *Option X:* Lasers\r\n
      *Option Y*: Guns\r\n
      *Option Z*: Rockets
      """
    "Project" => array:6 [▶]
    "E-Print State" => array:3 [▶]
    "Customer" => "Microsoft"
    "Status" => array:6 [▶]
  ]
  #expandedInformation: []
}

I'm not sure how to get the description to render though... I am using this JIRA API library for Laravel: https://github.com/chobie/jira-api-restclient

0

Sign in to participate in this thread!

Eventy

Your banner here too?

gmask gmask Joined 1 Dec 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.