Questions tagged [jira-rest-java-api]

REST Java Client for JIRA is for developers who want to integrate JIRA with other Java-based standalone or web applications.

REST Java Client for JIRA

This is not a plugin per se. It's a Java client library (usuable from any JVM-based language like Scala, Groovy, JRuby, etc.).

The purpose of this library is to make JIRA REST API very easy to use on the client side.

JRJC removes the need of traversing URIs, preparing requests and parsing the output.

This project is not actively supported by Atlassian, but feel free to contribute to it.

Source: REST Java Client for JIRA

306 questions
19
votes
3 answers

PermGen Space error when deploying tomcat 7?

I installed tomcat 7 to upgraded my JIRA projeect version from 5.0 to 6. After I place the project folder in tomcat's webapps. I run this localhost:8080/jira after long time running, it throws some error message. Please help us to fix this problem…
Maharajan
  • 303
  • 1
  • 2
  • 13
13
votes
4 answers

Get all Jira Issues for a specified Project

I am using Jira REST API to get all the Issues in Jira for a specific Project. I don't want to have maxResults=50, which is the default. I just want to retrieve all issues for the project. Here is my command: { my $result = `curl -D- -u…
Shereen Hussein
  • 175
  • 1
  • 2
  • 9
13
votes
2 answers

Missing dependency 'class javax.annotation.Nullable'

I was trying to use the jira-rest-java-client provided by Atlassian in a Scala program I am developing. I am using Eclipse as my IDE. When I have an object of type Issue and I try to look at the properties I see there are far fewer properties than…
Jeffrey Cameron
  • 9,975
  • 10
  • 45
  • 77
8
votes
3 answers

Check JIRA REST API version?

How to check, that rest api is enabled in JIRA and it has appropriate version? I know, that it is possible to request 'api/latest', but if latest installed version isn't compatible with methods, that i call?
Nikolai Golub
  • 3,327
  • 4
  • 31
  • 61
6
votes
3 answers

Update JIRA ticket status using REST API

I am able to create a ticket in JIRA using CURL command and having a json data handy. curl -D- -u : -X POST --data @< filename> -H "Content-Type: application/json" http://< hostname>:< port>/rest/api/2/issue/ I was now trying to update the status…
Anuj Balan
  • 7,629
  • 23
  • 58
  • 92
6
votes
3 answers

Exception while fetching issue in jira

I am new to JIRA and using JIRA REST API to fetch issue from the remote host. I wrote a simple program to fetch the issue according to this tutorial following is the code public class JIRAClient { public static void main(String[] args) throws…
Bhavik Shah
  • 5,125
  • 3
  • 23
  • 40
5
votes
2 answers

How to use JIRA REST client library?

I need to use JIRA REST client version 5.2.0 or higher. Cloud JIRA does not work with an earlier version of the client. In my pom.xml file I have the following dependencies: com.atlassian.jira
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
5
votes
0 answers

Getting "JSONObject["loginInfo"] not found" error on trying to login using Jira rest client sdk

We are using Jira rest client sdk(jira-rest-java-client-api-2.0.0-m31.jar and jira-rest-java-client-core-2.0.0-m31.jar) for login and fetching data from Jira. Till friday morning(12th May,2017) we were able to login to Jira using mentioned Jira…
5
votes
1 answer

How to increment/update a issue custom Value in JIRA, based on its previous value?

Hello I have a lot of automatic issue creation and commenting in JIRA. And wanted to add to the issue a customField named "Number of automatic updates" that increments everytime an issues is commented. The tipical solution for this is using the…
CMPSoares
  • 4,175
  • 3
  • 24
  • 42
5
votes
1 answer

How to get all issues of project via Jira REST Java Client?

I'm trying to get all issues of project and then find which are done, but I don't know how. I connected user to Jira and than wanted to get all of his project and all of issue on him. Then I want to find, which issues from that are done. Can anybody…
Jitka Hodná
  • 53
  • 1
  • 1
  • 4
5
votes
2 answers

How to include JIRA REST Java Client in a JIRA plugin?

I'm new with JIRA plugin development, so my question might sound too easy, but please be patient and read it carefully, because I've tried so many things, found on the internet, and none of them worked. That's why I'm asking it here, as my last…
Mladen B.
  • 2,784
  • 2
  • 23
  • 34
4
votes
2 answers

Jira query to return issue status in a specific date using resolution date

I am trying to run a query using a resolution date and retrieve a list of results with the actual status according to the resolution date. When running this query today, I receive a list with the resolved bugs while I would like to know if they were…
EpsilonTal
  • 437
  • 4
  • 20
4
votes
2 answers

How to add path parameters in httpclient when building rest-api

I have the following uri www.xyz.com - base uri I need to add userId to end of the uri as path parameter. As per swagger document the uri format is www.example.com/{userId} Parameter type = Path ,Value = userId(String) I could add body to the post…
user7699179
  • 81
  • 2
  • 6
4
votes
1 answer

JIRA - Java API or REST API

i am actually analyzing JIRA for my company regarding the functionalities and the different APIs. At the Atlassian Homepage i found two official provided APIs (JAVA API or JIRA REST API). My further intentions are to program an interface between my…
InfoEngi
  • 303
  • 1
  • 10
  • 23
4
votes
4 answers

How retrieve a list of attachments JIRA rest api via java?

How do I get the list of attachments using JIRA API with Java? I don't need the attachments I just want to know what attachments are there, and their ID. I followed basics of using a query to get issues and I am getting issues but not their…
Whitecat
  • 3,882
  • 7
  • 48
  • 78
1
2 3
20 21