Forums

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

Getting Bad request 400 using REST API POST Call ( Using Salesforce Apex)

Vigneshwar Kotha
November 3, 2023

I am getting a Bad Request with an Error Code 400 issue. find the below Json Request.

Working in UAT but not in production. Please let me know if any suggestions.

{
"fields": {
"summary": "Testing 123 - Push to Jira",
"reporter": {
"id": "5fb422c74a09640069d1***"
},
"project": {
"id": "10297"
},
"issuetype": {
"id": "10004"
},
"description": {
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Problem Description:",
"marks": [
{
"type": "strong"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Delete when done"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Steps to Reproduce:",
"marks": [
{
"type": "strong"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "N/A"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Desired Result:",
"marks": [
{
"type": "strong"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "N/A"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Actual Result:",
"marks": [
{
"type": "strong"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "N/A"
}
]
}
]
},
"customfield_10204": "PR-0004956",
"customfield_10172": {
"value": "Moderate"
}
}
}

2 answers

1 accepted

1 vote
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 12, 2018

Hi Kundan,

Currently, the supported identity providers are Azure, Bitium, Centrify, Okta and OneLogin.

You can find more information on the link below:

- SAML single sign-on

If you have any other question, please let us know.

Regards,
Angélica

0 votes
Mateusz Miara
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 14, 2019

Kundan, 

Crowd 3.4 has just released and it comes with SSO 2.0 - Crowd’s single point of access for Jira, Jira Service Desk, Bitbucket, and Confluence across different domains with one common login page. For more information, see our documentation

Hope this helps,

Mateusz

Suggest an answer

Log in or Sign up to answer