Questions tagged [jira-rest-api]

JIRA REST APIs are for developers who want to integrate JIRA with other standalone or web applications and administrators who want to script interactions with the JIRA server.

The Atlassian REST APIs provide a standard interface for interacting with JIRA and our other applications.

REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. REST APIs operate over HTTP(s) making it easy to use with any programming language or framework.

The input and output format for the JIRA REST APIs is JSON.

JIRA uses the Atlassian REST plugin to implement the JIRA APIs. The REST plugin is bundled with JIRA. You can add your own REST APIs to JIRA by creating a JIRA plugin that includes the REST plugin module. See the basic principles we employ in our REST API design.

Source:

1188 questions
90
votes
8 answers

Basic authentication for REST API using spring restTemplate

I am completely new in RestTemplate and basically in the REST APIs also. I want to retrieve some data in my application via Jira REST API, but getting back 401 Unauthorised. Found and article on jira rest api documentation but don't really know how…
shippi
  • 1,984
  • 5
  • 19
  • 27
19
votes
4 answers

Is it possible to change jira issue status with python-jira?

I want to change jira issue status with python-jira.The python-jira API is http://jira-python.readthedocs.org/en/latest/ .I can't find any way to do this. I was trying to use issue.update(status="Closed").But it didn't work.I found Issue status and…
wind
  • 203
  • 1
  • 2
  • 6
18
votes
5 answers

Integration of JIRA with TortoiseSVN

Could anyone specify the ways to integrate JIRA with TortoiseSVN to track the issue details? What URL should be specified in URL section, what are the other parameters needed? Is there anything you have to do on JIRA side to ensure the integration?
shaggy
  • 211
  • 1
  • 2
  • 6
16
votes
1 answer

Access Jira API using OAuth2.0 2-legged approach in .NET

How to create access token for JIRA Rest API? Of relevant data I have User key Private/public key combo Jira's Rest API Oauth example assumes 3-legged approach, and is very unclear on what the actual parameters to send are (I wish Swagger is more…
Igor
  • 2,696
  • 1
  • 18
  • 28
14
votes
3 answers

How to get all sprints in project using JIRA REST API

Is there anything something like "http://www.example.com/jira/rest/agile/1.0/sprint?project=XYZ", to retrieve all the sprints in a project. JIRA platform api can retrieve projects info and JIRA software API can retrieve sprints for a given board.…
phani
  • 3,123
  • 7
  • 33
  • 62
11
votes
1 answer

Create a User on Keycloack including password from curl command

I have tried to create a user(without giving any password while creating) on keycloak using CURL command, it's success, but not able to know the password to login. So, how to give password to a user while creating. and also how to set default…
fayaz
  • 111
  • 1
  • 3
11
votes
2 answers

Unauthorized (401) when I try to access JIRA REST API with PHP

I'm trying to use JIRA REST API with PHP. When I copy the url below and paste it straight into the browser it works fine. The resulting issue is returned as json. But with the code below it doesn't work. I get Unauthorized (401) as a return…
Weblurk
  • 5,763
  • 16
  • 52
  • 101
11
votes
6 answers

JIRA REST API get all users

I'm trying to get all users from JIRA REST API. I need to save all users to my Database from my own java client. Is it possible to do that ? If so how we going to do that?
11
votes
1 answer

jira-ruby gem limiting number of returned issues?

I'm trying to fetch issuses from JIRA using gem called jira-ruby. The problem is, that the result contains 70 issues, but I can see only the first 50. When using directly the JIRA REST API, I can set maxResults parameter (outside the JQL) to a…
Rafael K.
  • 1,779
  • 2
  • 14
  • 29
11
votes
3 answers

Getting Issue Type Scheme and Workflow Scheme for JIRA project using REST API

I'm doing an integration for JIRA using REST API 6.2.6. One thing that I need to do is to get Issue Type Scheme and Workflow Scheme for a project. What I tried: Issue Type Scheme The only thing that I can get right now is a list of issue types using…
Aleksandr Ivanov
  • 2,643
  • 4
  • 24
  • 35
10
votes
4 answers

File not uploading in server ionic3

I have a scenario where I am uploading a image file from my local drive (type jpeg or png) to an API endpoint using ionic. Here is my code below : fileupload.html --> //---------------------------------------------------
Alex
  • 197
  • 2
  • 19
10
votes
3 answers

Get fields from a specific Jira issue

I'm trying to get all the fields and values from a specific issue my code: authenticated_jira = JIRA(options={'server': self.jira_server}, basic_auth=(self.jira_username, self.jira_password)) issue = authenticated_jira.issue(self.id) print…
Kobi K
  • 6,689
  • 5
  • 36
  • 75
10
votes
3 answers

SSL3 Certificate Verify Failed when Connecting to JIRA API Using Python

I'm currently running into an error when attempting to connect to JIRA using Python2.7 and the JIRA REST API (http://jira-python.readthedocs.org/en/latest/). When I execute the following: from jira.client import JIRA options = { 'server':…
pyNovice89
  • 159
  • 2
  • 2
  • 9
9
votes
1 answer

Enable CORS in JIRA REST API

I´m calling JIRA REST API from JavaScript in a Confluence User Macro and I´m facing CORS issues because JIRA and Confluence are on two different domains and preflight request from browser is failing. I have tried several CORS solutions as described…
Ismar Slomic
  • 4,547
  • 6
  • 37
  • 57
9
votes
1 answer

How to get JIRA Agile issues assigned to the current sprint for the current user using the JIRA REST API?

I'm getting started working with the JIRA REST API. I've learned how to get all the issues assigned to the current user: rest/api/2/search?jql=assignee=currentuser() ...now I am trying to filter those by the current sprint. I think this…
Andrew
  • 196,883
  • 184
  • 487
  • 673
1
2 3
79 80