Forums

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

Send Web Request

Birthe Schmidt August 6, 2025

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"

1.png

 

I have two variables:

1) {{CommittedValue}}

2.png

 

2) {{JiraTicketNo}}

 

3.png

Both variables are coming out correctly.

 

I am using "Send web request" to put the two variables into Jira:

4.png

 

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:

5.png

 

Can anyone see what I am doing wrong???

 

 

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.
August 6, 2025

Hi @Birthe Schmidt 

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:

  • Create a variable for the dynamic URL, forcing it to be fully evaluated before it is needed.  Then use that variable as the URL in the action.  This also allows adding the noted debug function for additional logging.
  • Create a variable for the entire, dynamic JSON expression, repeating the above steps to use the variable name as the JSON.

 

#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

Suggest an answer

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

Atlassian Community Events