automation for jira web request

Patrik Ytterström March 23, 2021

Im trying to create a question in Confluence plugin Questions & Answers with automation for jira web request but stumbles with the message 
"
Can not deserialize instance of java.util.ArrayList out of VALUE_NUMBER_INT token at [Source:
"

This works with python:


works.PNG

Using same settings in automation for jira:


wont work.PNG

Any ideas ?

1 answer

1 accepted

2 votes
Answer accepted
Patrik Ytterström March 23, 2021

Fixed it by adding Content-Type : application/x-www-form-urlencoded in headers and formated the custom data as:
{postId=0&title=Hello+Patrik&body=This+is+a+question&tag=it}

Suggest an answer

Log in or Sign up to answer