The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello, i need to create an Insight object trough an automation and add multiple entries to an attribute.
As I know, this can only be done by Insight API and web request.
I got everything running. Connect API, create Object, add single values as attribute,...
But every time I want to add multiple entries for an attribute, i always get an error.
Error 400: was expecting comma to separate Object entries
At first I create a variable which is an array of entries
And thats my data for the web request:
{
"objectTypeAttributeId": "1372",
"objectAttributeValues": [
{
"value": "{{BudgetID}}.asJsonObject("value")"
}
]
}
I tried this because of this post: https://jira.atlassian.com/browse/JSDCLOUD-9964
Any idea, where the problem is? Thanks for your help
the answer is to create an variable like:
{{"Budget-ID [Insight]".Key.asJsonObject("value")}}
and use this format in the web request:
{
"objectTypeAttributeId": "1372",
"objectAttributeValues": [{{BudgetID}}]
},
Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.