jira-plugin

Updating Jira tickets from Jenkins workflow (jenkinsfile)

流过昼夜 提交于 2019-12-05 01:08:15
问题 How can I update a jira issue from within a Jenkinsfile (jenkins-worflow/pipeline)? Is there a way I could use the Jira Issue Updater plugin as a step in the Jenkinsfile? I know I could use the Jira RestAPI, but I'm trying to figure out if I can re-use the functionality provided by the jira-updater-issue. What I'm looking for is a something similar to the example below calling Junit archiver, and atifact archiver, but calling jira updater. node { git url: 'https://github.com/jglick/simple

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

淺唱寂寞╮ 提交于 2019-12-04 04:16:58
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 functionality is provided by the JIRA Agile (Greenhopper) plugin, but I can't find any documentation for it. I came across some interesting data which appears to be the identifier for the sprint that the issue is assigned to: customfield_10005: [ "com.atlassian.greenhopper.service.sprint.Sprint@3094f872[rapidViewId=30,state=CLOSED,name=Sprint 2014-06-02

Updating Jira tickets from Jenkins workflow (jenkinsfile)

前提是你 提交于 2019-12-03 16:50:47
How can I update a jira issue from within a Jenkinsfile (jenkins-worflow/pipeline) ? Is there a way I could use the Jira Issue Updater plugin as a step in the Jenkinsfile? I know I could use the Jira RestAPI, but I'm trying to figure out if I can re-use the functionality provided by the jira-updater-issue . What I'm looking for is a something similar to the example below calling Junit archiver, and atifact archiver, but calling jira updater. node { git url: 'https://github.com/jglick/simple-maven-project-with-tests.git' def mvnHome = tool 'M3' sh "${mvnHome}/bin/mvn -B -Dmaven.test.failure

Export JIRA Data

笑着哭i 提交于 2019-12-03 12:34:00
What is the best way to export all JIRA data (projects, issues, ...)? I saw that there is an API and a plugin mechanism which probably can provide all the information. But what is the easiest way to export the data? Does it work out of the box or do I have to implement a plugin? Gupta Generally, there are two main approaches to backup your JIRA data. The first one is to back up your database in which JIRA info is stored. The second one is to use the “Backup Data to XML feature”, which is a JIRA feature. Personally, I prefer the second one, because it can be restored to any database engine

Create JIRA sub-tasks automatically when issue created

三世轮回 提交于 2019-12-03 12:18:13
问题 I am wondering there is a way to create sub-tasks automatically when issue created. For example, I create a custom Standard Issue Type, XXX, and Sub-tasks Issue Type YYY and ZZZ. When I create a issue with type XXX, then two sub-tasks with respective issue type YYY and ZZZ will be created automatically. 回答1: You could so this easily using Jira Scripting Suite by using post function on issue creation transition on the project's workflow. Sample code: from com.atlassian.jira.util import

Create JIRA sub-tasks automatically when issue created

核能气质少年 提交于 2019-12-03 02:42:37
I am wondering there is a way to create sub-tasks automatically when issue created. For example, I create a custom Standard Issue Type, XXX, and Sub-tasks Issue Type YYY and ZZZ. When I create a issue with type XXX, then two sub-tasks with respective issue type YYY and ZZZ will be created automatically. Kuf You could so this easily using Jira Scripting Suite by using post function on issue creation transition on the project's workflow. Sample code: from com.atlassian.jira.util import ImportUtils from com.atlassian.jira import ManagerFactory from com.atlassian.jira.issue import MutableIssue

Jira for bug tracking and customer support?

微笑、不失礼 提交于 2019-12-02 19:45:26
We are thinking of using Jira for bug tracking and to integrate it with Git to connect bug fixes with version handling. Do you recommend Jira also for customer support or should we find another system like for example Zendesk for that purpose? I know that it is possible somehow to integrate for example Hipchat with Jira to enable chat functionality with customers but is Jira too complex for Customer Service to handle? What is your experience? We use Jira for customer support, but we found that Jira is missing many must-have features that are needed for this. that's why we make many changes.

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

Jira Soap with a Php

两盒软妹~` 提交于 2019-12-01 11:55:22
I have seen little to know instruction on using php to develop a client website to make remote calls to JiRA. Currently I'm trying to make a soap client using JSP/Java to connect to a local jira instance. I would like to create and search issues that is all. We are currently having some problems using Maven2 and getting all the files we need from the repository since we are behind a major firewall(yes I've used the proxy). I have a lot of experience with PHP and would like to know if using the PHP soapclient calls can get the job done. http://php.net/manual/en/soapclient.soapclient.php Yes it

XPathFactoryImpl not found error (using myBatis)

大兔子大兔子 提交于 2019-12-01 07:38:05
Using myBatis standAlone (Atlassian jira plugin(OSGi) environmnent) The following error has occurred. [INFO] [talledLocalContainer] org.apache.ibatis.exceptions.PersistenceException: [INFO] [talledLocalContainer] ### Error building SqlSession. [INFO] [talledLocalContainer] ### Cause: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default o bject model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: java. util.ServiceConfigurationError: javax.xml.xpath