Hey team,
I'm getting the following JSON data with the web response. With Advanced Branch, I can find licenseIds with individual values and create an object for each of them. But how can I set other values returned from the JSON data to the attributes for each object? Is there a solution proposal for this?
How can I set each object attribute
Rule details and Web Response Body:
{addonLicenseId=E-3YX-EWxxxxx, appEntitlementId=e30xxxx-df-30cd-9d32-65961d728b3f, appEntitlementNumber=E-3xxxxxC-9ZG-9K4, hostLicenseId=368xxx152, hostEntitlementId=6947xxxxxxxb-4361-ac2d-aa486d4e05bd, hostEntitlementNumber=E-3xxxxxxx7F-3UT, licenseId=SEN-3xxxx52, addonKey=com.spacre.organizationalchart, addonName=Organizational Chart for Jira, hosting=Cloud, lastUpdated=2023-02-09, licenseType=EVALUATION, maintenanceStartDate=2023-02-09, maintenanceEndDate=2023-03-11, status=active, tier=Subscription, contactDetails={company=vicxxxxxxxxn, country=Unknown, region=Unknown, technicalContact={email=vicxxxxxxson@xxxxxtions.com, name=Vixxxx}, billingContact={email=vicxxxxxxson@xxxxxtions.com, name=Vixxxxxx}}}, {addonLicenseId=3xxxx235, appEntitlementId=0xxxxx9-1xxxxxxa-0f8927a529cf, appEntitlementNumber=E-3YXxxxxxxxx3, hostLicenseId=3xxxxx3, hostEntitlementId=b7adxxxxxx44c-a546-7484c1af7f69, hostEntitlementNumber=E-3xxxxxxxxxEJ, licenseId=SEN-3xxxxxx3, addonKey=net.werare.jira.attachmentmanager, addonName=Attachment Manager, hosting=Cloud, lastUpdated=2023-02-09, licenseType=EVALUATION, maintenanceStartDate=2023-02-09, maintenanceEndDate=2023-03-27, status=active, tier=Subscription, contactDetails={company=bxxxxxxxst, country=Israel, region=EMEA, technicalContact={email=elixxxxxa@maxxxxxx.co.il, name=Exxxxx}, billingContact={email=elxxxxxxx@maxxxxxxx.il, name=Exxxxx}}},
Welcome to the community. Question - Were you able to create the object successfully with your automation rule? If so, I would believe that you can just reference to JSON attributes to set the attributes at the same time that you are creating the objects.
Here is a link on smart value when dealing with Assets objects - https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/
I also recommend you seek assistance with Atlassian Support (https://support.atlassian.com) for additional information/guidance.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
@Joseph Chung Yin Hi, thanks for your back.
But as you can see I set the whole details but I am stuck one point.
I know the smart values as I mentioned above.
Ok I will try to get support from Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.