Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation to set a Json field

Jill Vieregge April 24, 2024

I've integrated HubSpot with Jira. I can't use csv import to load these fields as they are JSON fields. We don't have ScriptRunner installed, so I figured the best I could do is create a manual automation that I can set to a specific value and then run against a list of issues.

My automation is successful, but its not actually setting the field.

Cf is called "Hubspot Customer Name" and is of type "Object - Hubspot Customer Name"

To use is a JQL, its "Hubspot Customer Name.label"

 

This is my automation:

{
"fields":
{"customfield_nnnnn": {"label": "Value I want put here"}
}
}

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2024

Hi @Jill Vieregge 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

Have you checked the HubSpot documentation to confirm the message fields and structure?

If you edit an issue to set the field manually, does it work as you expect, setting the field value?

Kind regards,
Bill

Jill Vieregge May 16, 2024

I ended up typing it all in by hand (ugh). thanks

Suggest an answer

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

Atlassian Community Events