jira-rest-java-api

JIRA creating issue using java

放肆的年华 提交于 2019-12-11 05:40:31
问题 What I'm trying to do is creating a new issue on JIRA over Java. Actually I'm on internship and didn't work with APIs before. Here is the code I found while studying JIRA's documents. Not sure if paramaters are wrong. public class ExampleCreateIssuesAsynchronous { private static URI jiraServerUri = URI.create("https://stajtest.atlassian.net/"); public static void main(String[] args) throws IOException { final AsynchronousJiraRestClientFactory factory = new AsynchronousJiraRestClientFactory();

Is there a way to to see what dates/times tickets changed Status via the JIRA API?

筅森魡賤 提交于 2019-12-11 03:44:52
问题 I am trying to run queries against the JIRA API and get results in which I can see the dates and times that each issue went through a status change. E.g.: Run a query to grab all issues with a certain assignee and see, along with the rest of the information, timestamps for when each issue changed from "Open" to "Resolved". Is this possible? EDIT: I have tried expanding the changelog, but while that tells me what status changes a ticket went through (e.g., that the particular ticket

How do I retrieve issues of specific status with JQL

谁都会走 提交于 2019-12-04 13:47:22
Entering a url, or running with curl, like: https://<myurl>/rest/api/2/search?jql=project=<myproject>&status=closed&fields=id,key,status,project&maxResults=5 returns me 5 items in my project but with all statuses. For some reason I can't query for a specific status. The output (part of it) is: { "expand": "schema,names", "startAt": 0, "maxResults": 5, "total": 727, "issues": [ { "expand": "editmeta,renderedFields,transitions,changelog,operations", "id": "79577", "self": "https://<myurl>/rest/api/2/issue/79577", "key": "<myproject>-774", "fields": { "project": { "self": "https://<myurl>/rest

Java Program to fetch custom/default fields of issues in JIRA

↘锁芯ラ 提交于 2019-12-02 16:36:43
问题 I have developed a simple java program to fetch the data of issues/user stories. I want to fetch 'description' field of a perticular issue. I have used GET method to get response but I'm getting errors while connecting to JIRA. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; public class JiraIssueDescription { public static void main(String[] args) { try

PermGen Space error when deploying tomcat 7? [duplicate]

淺唱寂寞╮ 提交于 2019-11-28 18:48:09
This question already has an answer here: PermGen space Error in tomcat 11 answers 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 thanks in advance java.lang.RuntimeException: PermGen space at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run

Maven dependency for jira-rest-java-client-0.2-m1.jar

狂风中的少年 提交于 2019-11-28 10:10:26
问题 I want to download jira-rest-java-client-0.2-m1.jar using maven. But I dont know the dependency for that. I tried the following <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-java-client</artifactId> <version>0.2-m1</version> </dependency> But it is not downloading. When I run mvn compile it says [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.444s [INFO] Finished at: Thu May 02 09:53:19 IST

PermGen Space error when deploying tomcat 7? [duplicate]

廉价感情. 提交于 2019-11-27 11:41:03
问题 This question already has an answer here: PermGen space Error in tomcat 11 answers 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 thanks in advance java.lang.RuntimeException: PermGen space at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke