I have created an automation in Confluence, that collects some information from a Confluence page (stored in a variable) I want to update an issue in Jira with these variables.
My trigger is "Task status changed"
I have two variables:
1) {{CommittedValue}}
2) {{JiraTicketNo}}
Both variables are coming out correctly.
I am using "Send web request" to put the two variables into Jira:
I am the owner of the project in Jira. I have created the Jira ticket/issue. I have created the Token. And I have developed the Confluence Automation.
But I get this error message:
Can anyone see what I am doing wrong???
There could be several causes for what you see. Here are some diagnostic things to try...
#1) How do you know the variables are parsing correctly?
I recommend adding the {{#debug}} ... {{/}} function around the smart value expressions in the Create Variable actions, and then you may confirm the values in the log.
#2) Automation rule actions such as Send Web Request can have timing problems where smart value expressions are not processed fast enough before they are used...leading to strange errors.
The way to mitigate that for Send Web Request is:
#3) What is the type for your customfield_23434?
The JSON expression may not be correct, based upon the field type. Please look here to confirm your expression matches what is expected: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.