Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Update existing asset object with custom field value from new issue

Manuel Gogl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 17, 2024

Hello Community!

I have been tinkering with a solution for automation for some time and unfortunately I am not getting any results.

The requirement: I want to use an automation to read a value from a custom field (array) on the issue and write it to an object.

  • Custom Field Valuue -> objectId
    2024-09-17 11_56_58-blackdiamondequipment.atlassian.net_rest_api_2_issue_BDGSD-296_expand=names.png
  • Automation to find and update the asset object

    2024-09-17 11_59_26-Audit log - Automation - Black Diamond Global Service Desk - Jira.png

The problem: So far, it is not possible to read the value from the array of the custom field. I use 'Branch on AQL' for this and have already queried the custom field in several ways in the query. So far, unfortunately, without result.

What I've tried:

- objectid = ${customfield_10244}
- objectid = ${customfield_10244.id}
- objectid = ${customfield_10244.objectid}
- objectid = ${customfield_10244${2}}
- object HAVING inboundReferences(objectid = ${customfield_10244${2}})

 

Perhaps someone here can help.

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events