Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Alteryx Workflow Failing to Send JSON Payload to Jira API - 400 Bad Request Error

rajeshkamisetti
5 - Atom

**Description:**
I am experiencing an issue with an Alteryx workflow that is supposed to send a JSON payload to the Jira REST API to create an issue. The API call results in a 400 Bad Request error with the message "No Issue Create payload supplied," suggesting that the payload is not being transmitted.

**Steps to Reproduce:**
1. Set up an Alteryx workflow using the Download Tool configured with the following:
- URL: https://[your-domain].atlassian.net/rest/api/3/issue
- Method: POST
- Headers:
- Content-Type: application/json
- Authorization: [Using Basic Auth or API Token]
- Data: JSON payload containing issue details (summary, description, project key, issue type).
2. Execute the workflow to initiate the API call.

**Observed Result:**
- The workflow execution fails, and the API responds with a 400 Bad Request error and the message: {"errorMessages":["No Issue Create payload supplied"],"errors":{}}.

**Expected Result:**
- The JSON payload should be successfully sent, resulting in the creation of a Jira issue.

**Additional Information:**
- The JSON payload structure is correct and works when tested in an environment outside of Alteryx (e.g., using Postman).
- Verified that the Download Tool is set to POST and the payload is being input correctly.
- Checked for any misconfigurations in the workflow but the issue persists.


Please assist in identifying any potential issues with how Alteryx is handling the API call and provide guidance on ensuring the JSON payload is correctly transmitted to the Jira API.

7 REPLIES 7
apathetichell
19 - Altair

post the payload you are sending in. - this sounds like it's formatted incorrectly.

rajeshkamisetti
5 - Atom

Hi,

I have attached my workflow, could you please validate payload and configuration once?

Thank you!

apathetichell
19 - Altair

Your JSON is off for the V3 api -> something like this:

{"fields": {
"description": {
"content": [
{
"content": [
{
"text": "This is a test issue created via the Jira API from an Alteryx workflow",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"issuetype": {
"id": "10001"
},
"summary": "created by Alteryx",
"project": {
"key": "SCRUM"
}
}
}

rajeshkamisetti
5 - Atom

Still facing the same issue.
URL DownloadData DownloadHeaders
https://XXXXXXXXXXXXX/rest/api/3/issue {"errorMessages":["No Issue Create payload supplied"],"errors":{}} HTTP/1.1 400 Bad Request
Date: Tue, 11 Feb 2025 17:55:05 GMT
Content-Type: application/json;charset=UTF-8
Server: AtlassianEdge
Timing-Allow-Origin: *
X-Arequestid: 0d43e58b558a036bd2925e03fe61333c
Set-Cookie: atlassian.xsrf.token=2ae311ad920e354b...

apathetichell
19 - Altair

The information I quoted above goes in your download tool payload directly -> or in a field which is supplied to the download tool. It is a payload - not a form. If you have additional validation rules for tasks in this project you will need to check with your JIRA admin to see what they are.

rajeshkamisetti
5 - Atom

I have provided my JSON payload in the 'Use the following for Query String/Body' section. Now, it is working fine!

Thank you for your support!"

apathetichell
19 - Altair

Cool - can you mark my post as a solution?

Labels
Top Solution Authors