Header parameters provide many useful information such as the Content Type, Authorization parameters etc. You can also pass a set of key-value pairs as request headers using the headers parameter. The requests library in Python contains objects and functions that enables you to send and receive requests and response using commonly used HTTP methods. Sending HTTP Requests and parsing the Response Here are some basic examples of how to retrieve data from Jira cloud using Python. The scripts to access the resources from JIRA can be written in any programming language that allows you to send HTTP requests and can receive and parse the response. The Jira REST API uses standard HTTP methods like GET, PUT, POST and DELETE. For example, an HTTP request to following URI gets a list of all the projects. A resource is some data entity in Jira and to get that resource your script need to send a HTTP request to a specific URI and parse the response that you receive. Using REST APIs developers can create scripts/programs to access resources such as projects, issues, comments, users etc., from Jira.
Jira provides REST APIs to interact with Jira on both Server and Cloud platforms.