Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$..[?(@.objectTypeAttributeId==685)].objectAttributeValues[0].value 


Get attribute value for an object

Make a GET request to a single object GET on /rest/insight/1.0/object/{{issue.customfield_12345.first.id}}

Then assign a variable on the child to the attribute value

Code Block
languagegroovy
$.objectEntries.[0].attributes[?(@.objectTypeAttributeId==41076)].objectAttributeValues[0].value