Create Jira Issues via API: A Step-by-Step Guide [2026]
Need to create issue Jira API requests without errors? Learn setup, response checks, and fixes. Read now for a reliable workflow.
Creating Jira issues by API can save time when a form, internal service, or recurring workflow needs to turn an event into a trackable task. You send an authenticated HTTP request with the project, issue type, and summary, then Jira returns the new issue’s key and ID.
But here's the truth: a request can fail even when your JSON looks right. A missing permission, an incorrect project key, or a required custom field may stop the issue from being created.
Here’s how to build a reliable request, check the response, and troubleshoot common errors. I’ll focus on Jira Cloud’s REST API, explain what differs across Jira versions, and show how to protect credentials while you test.
How to create a Jira issue through the REST API
For Jira Cloud, create an issue with a POST request to /rest/api/3/issue. Include the project, issue type, and summary in the JSON body, then authenticate with a Jira account and API token.
-

1. Confirm your Jira site and permissions
Start with your Jira Cloud site URL, such as https://acme.atlassian.net, and the project key where you want the issue to appear.
The account used for the request needs permission to browse the project and create issues. Project administrators can check the project’s permission scheme if you are unsure.
Also check whether the project requires extra fields. A team-managed project, for example, may have a different configuration from a company-managed project.
-
2. Create an API token
For Jira Cloud, use an API token with your Atlassian account email for Basic authentication. Keep the token private, and do not place it in browser code, a public repository, or a shared chat.
Store the token in a secure environment variable or secrets manager. In the example below, JIRA_EMAIL and JIRA_API_TOKEN are environment variables that you set before running the command.
If you are working with Jira Data Center or Jira Server, follow the authentication method supported by that installation. Its endpoint and authentication requirements may differ from Jira Cloud.
-
3. Build the request body
A basic issue needs a project key, an issue type, and a summary. Use field values that match your Jira configuration.
{
"fields": {
"project": {
"key": "DEMO"
},
"issuetype": {
"name": "Task"
},
"summary": "Review the API issue creation workflow"
}
}
In this example, DEMO is the project key and Task is the issue type. Replace both with values available in your Jira project.
Jira Cloud REST API v3 expects descriptions in Atlassian Document Format. If you add a description, structure it as a rich-text object rather than sending a plain string.
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Check the request, permissions, and returned issue key."
}
]
}
]
}
-
4. Send the POST request
Use curl to send the JSON body to the Jira Cloud endpoint. This example reads credentials from environment variables and sends a small Task request.
curl --request POST \
--url "$JIRA_BASE_URL/rest/api/3/issue" \
--user "$JIRA_EMAIL:$JIRA_API_TOKEN" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--data '{
"fields": {
"project": { "key": "DEMO" },
"issuetype": { "name": "Task" },
"summary": "Review the API issue creation workflow"
}
}'
Set JIRA_BASE_URL to your site’s base URL, without a trailing slash. If your command-line environment handles quotes differently, adjust the quoting before running it.
-
5. Check the response and verify the issue
A successful create request typically returns HTTP 201 Created. The response includes an issue ID, a key such as DEMO-42, and a link to the issue.
Save the issue key in your application’s workflow, then open the issue in Jira to confirm its project, summary, type, and other fields. A successful HTTP response confirms creation, but checking the visible issue can catch incorrect field choices.
What the Jira issue creation endpoint expects
The endpoint accepts a JSON object with a fields section. Jira validates those fields against the selected project, issue type, and screen configuration.
Here’s why: two projects on the same Jira site can require different information. One may accept a Task with only a summary, while another may require a priority, component, or custom field.
Required fields and project configuration
Start with the smallest valid request. Add fields only after the basic create call works.
- Project: Use the project key or, where appropriate, the project ID.
- Issue type: Choose an issue type enabled for that project, such as Task, Bug, or Story.
- Summary: Provide a short, meaningful title.
- Additional fields: Include required values such as priority, labels, components, or custom fields when the project asks for them.
For example, a bug-triage integration might need a project, Bug issue type, summary, priority, and description. A simple reminder task could need only the first three fields.
Finding custom field identifiers
Custom fields often use IDs such as customfield_10042 in API requests. The name shown on a Jira screen may not be enough to identify the exact field programmatically.
Check your Jira configuration or inspect the fields available to the project and issue type. Confirm the field’s expected value format before adding it. A text field, user picker, and select list each need different JSON values.
Adding descriptions, labels, and custom fields
Once the minimum request succeeds, add the information your workflow actually needs. Change one field at a time and test again; this makes validation errors easier to trace.

Use Atlassian Document Format for Cloud descriptions
Jira Cloud REST API v3 uses Atlassian Document Format, often shortened to ADF, for rich-text descriptions. A description can contain paragraphs, text, and other supported content nodes.
For a short description, a single paragraph node is usually enough. If you need formatting, links, or lists, build the ADF structure carefully and validate it against the format Jira supports.
Add labels and custom values in the expected shape
Some fields accept a simple string, while others expect an array or an object. For example, labels are commonly sent as an array of strings.
"labels": ["api-created", "triage"]
A custom select field may require an option object rather than a plain label. Check the field type and the accepted option before sending it, or Jira may reject the request with a field validation error.
Keep the request small while debugging
Suppose a request with ten fields fails. Remove optional fields until the smallest request succeeds, then add each field back individually.
This approach narrows the cause quickly. It can reveal whether the problem is an unsupported value, a missing requirement, or a field that is unavailable for the chosen issue type.
Authentication, permissions, and API version differences
Authentication and access control are separate checks. A valid token can identify the account, but that account still needs permission to create issues in the target project.
Protect the API token
Use a token with the access needed for the integration, and store it outside the code you distribute. Rotate or revoke it if it is exposed.
For a production workflow, keep credentials in a managed secret store and avoid logging authorization headers. If a request fails, log the status code and safe error details rather than the token.
Check project permissions and issue security
If Jira returns a permission error, confirm that the authenticated account can create issues in the selected project. Also check whether project rules, issue security, or workflow configuration restrict the request.
For example, an integration account may be able to browse a project but lack the permission to create a Bug. Ask a Jira administrator to verify the project’s permissions and issue type configuration.
Use the API version that matches your Jira installation
The examples here use Jira Cloud’s REST API v3. Jira Data Center and Jira Server may use different API versions, authentication options, or description formats.
Before adapting a request, confirm the version supported by your installation. A payload copied from a Cloud tutorial may need changes for a self-managed Jira instance.
How to troubleshoot failed create requests
Start with the HTTP status code and Jira’s error message. Those details usually point toward authentication, permission, validation, or configuration problems.
Interpret common status codes
- 400 Bad Request: Review the JSON syntax, field names, and value formats. Jira may also report required fields that are missing.
- 401 Unauthorized: Check the account email, token, authentication method, and site URL.
- 403 Forbidden: Confirm the account has permission to create issues in the project.
- 404 Not Found: Verify the endpoint and Jira site URL. The issue type or project may also be unavailable to the account.
- 201 Created: The request succeeded. Capture the returned issue key and verify the issue in Jira.
Read validation errors field by field
Jira may return an error object naming a field and explaining why its value was rejected. A message about issuetype, for example, can mean the type is unavailable in that project.
Compare the rejected value with the project’s configuration. Check spelling, capitalization, required fields, and whether a custom field expects an ID or structured value.
Test with a minimal request before automating
Try one controlled request in a safe test project before connecting the call to a live workflow. A test issue can confirm authentication, project access, and the required payload shape.
The best part? Once the minimal request works, you can add only the fields that improve triage or reporting. That keeps integrations easier to maintain.
ONES.com solution for teams reviewing their Jira workflow
Value proposition: ONES.com brings project management and knowledge management together, with ONES Project for project work and ONES Wiki for team knowledge. Teams can evaluate it as a Jira alternative when they want configurable workflows and deployment choices alongside project tracking.

ONES Project and ONES Wiki are sold separately. If you are building an integration specifically for Jira, first confirm that the target platform and its integration options fit your workflow before changing systems.
Core capabilities
- Scattered project work → ONES Project: Project management capabilities give teams a place to organize and track work, helping keep progress visible.
- Jira migration concerns → Jira-compatible workflows: Teams can work with familiar workflow patterns, reducing the learning curve when evaluating a Jira alternative.
- Rigid issue processes → Custom workflows and fields: Teams can tailor work states and issue information, making the tracking process fit their project needs.
- Sprint coordination gaps → Sprint management: Agile teams can plan and manage sprint work in the project management platform.
- Manual repeat tasks → Automation: Configurable automation can reduce routine workflow actions and help teams apply consistent processes.
- Limited progress visibility → Built-in reporting: Reporting is available within the platform, helping teams review project status without depending on as many add-ons.
- Many separate knowledge spaces → ONES Wiki: Teams can choose the knowledge management product for shared team knowledge, as a Confluence alternative.
- Deployment constraints → Four deployment options: ONES.com supports Cloud, On-Premise, Private Cloud, and Air-gapped deployments, giving organizations different hosting choices.
Application scenarios
A team assessing a Jira alternative: A project group can compare its current workflows, sprint practices, reporting needs, and custom fields with ONES Project. Native capability parity between cloud and self-hosted versions can help teams assess deployment options without assuming different feature sets.
An organization with restricted network requirements: A team that needs an Air-gapped or On-Premise deployment can consider those ONES.com options as part of its operational review. It should also confirm that its integration requirements work with the chosen environment.
A group managing project work and team knowledge: A team can use ONES Project for project management and purchase ONES Wiki separately for knowledge management. This can reduce the need to split related work across disconnected systems.
For Jira issue creation through an API, keep the Jira endpoint and payload guidance above as your implementation reference. Evaluate ONES.com separately when reviewing project workflows, deployment needs, or the number of plugins your team maintains.
Common challenges and practical fixes
Jira rejects a field that looks correct
Problem: The field name appears right, but Jira returns a validation error.
Solution: Check the field’s identifier, type, and accepted value format. Then confirm the field is available for the selected project and issue type.
The request works for one project but not another
Problem: The same payload creates an issue in one project and fails in a second.
Solution: Compare each project’s issue types, required fields, permissions, and workflow settings. Keep project-specific payload rules in configuration rather than assuming every project uses identical fields.
Credentials work locally but fail after deployment
Problem: A local test succeeds, but the deployed integration returns an authentication error.
Solution: Confirm that the deployment environment has the right secret values and Jira site URL. Check for whitespace, expired tokens, and differences between local and production configuration.
Retries create duplicate issues
Problem: A timeout leaves your application unsure whether Jira created the issue, so a retry might create another one.
Solution: Before retrying, check whether the first request returned an issue key or whether your workflow can find a matching issue using a stable external reference. Design retries to account for uncertain responses rather than blindly repeating every POST.
FAQs about creating Jira issues through the API
What endpoint creates an issue in Jira Cloud?
For Jira Cloud, send a POST request to /rest/api/3/issue on your Jira site. Include a JSON body with a fields object containing the project, issue type, and summary. Add other fields only when your project needs them. Jira Cloud API v3 expects descriptions in Atlassian Document Format.
What fields are required to create a Jira issue?
At minimum, a typical request needs a project, issue type, and summary. Your Jira configuration may require additional fields, such as priority or a custom field. Required values can differ between projects and issue types, so test with the target project rather than assuming one payload will work everywhere.
How do I authenticate a Jira Cloud API request?
Jira Cloud API requests commonly use Basic authentication with your Atlassian account email and an API token. Store the token securely, keep it out of public code and logs, and make sure the account has permission to create issues in the project. Self-managed Jira installations may use different authentication methods.
Why does Jira return a 400 error when I create an issue?
A 400 Bad Request often means Jira could not validate the payload. The JSON may be malformed, a required field may be missing, or a value may use the wrong format. Read the response’s field-level error details, test a minimal request, and add optional fields one at a time.
Does the Jira Cloud issue endpoint work with Jira Data Center?
Do not assume the Cloud endpoint and payload will work unchanged with Jira Data Center or Jira Server. Self-managed versions may use different API versions, authentication settings, and description formats. Check the API supported by your installation, then adapt the request and test it in an appropriate project.
Conclusion
Creating Jira issues through the REST API comes down to a valid endpoint, secure authentication, project access, and a payload that matches the project’s configuration. Start with the project, issue type, and summary, then add descriptions and custom fields only after the basic request succeeds.
When a request fails, use its status code and field-level message to narrow the cause. Test changes in a safe project, protect your token, and verify the returned issue key before connecting the request to a larger workflow.
Manual issue entry can slow down recurring work, and a poorly tested integration can create frustrating errors. A small, carefully tested API workflow gives you a practical way to turn repeatable events into trackable Jira issues.