Currently the rest api manual is missing the complete list of projecttemplatekeys and projecttypekeys which are necessary in order to create all the possible project types in jira they fall in to three main categories.
Jira service desk api examples.
In addition jira software and jira service desk provide apis for application specific functionality.
I have spent endless hours looking for a simple example.
These apis are common to all jira applications.
The jira rest api examples guide contains a range of examples including examples of requests for creating issues updating issues searching for issues and more.
Crowd atlassian access.
Using passwords with jira rest api basic authentication.
All the api examples i found until now were too old and api s no longer worked.
Support for passwords in rest api basic authentication is deprecated and will be removed in the future while the jira rest api currently accepts your atlassian account password in basic auth requests we strongly recommend that you use api tokens instead.
We ve also provided a simple example below to get you started.
A primary use case for api tokens is to allow scripts to access rest apis for atlassian cloud products using http basic authentication.
For example when using curl you could do something like this.
Our affordable and transparent pricing lets you get started quickly and deliver value fast.
When you make a request to a paged api the response will wrap the returned values in a json object with paging metadata as follows.
The jira platform provides java apis that you can use to interact with jira programmatically.
Creating an issue using the jira rest api is as simple as making a post with a json document.
You must be a registered user to add.
Provide it service and support without the cost and complexity of traditional itsm solutions.
For example the jira software api has methods for sprints and so on.
Pagination is enforced for methods that could return a large collection.
The jira service desk rest api uses pagination to conserve server resources and limit the size of responses.
List of projecttypekey and corresponding projecttemplatekey s.
Deliver exceptional it service fast.
We expect that support for passwords will be deprecated in the future and advise.
Jira service desk.
Below you will find a complete list of these and examples of each.
Spin up new services with jira service desk s intuitive codeless setup and configuration.
The example shows you how to create an issue using the jira rest api.
To create an issue you will need to know certain key metadata like the id of the project that the issue will be created in or the id of the issue type.