jira-plugin

How to override event.stopPropagation(),preventDefault().stopImmediatePropagation()

烈酒焚心 提交于 2019-12-10 22:27:20
问题 I am trying to modify Jira Tempo plugin's plan work form. So in the tempo time sheet page I have a button who has 2 actions bind-ed, one is a click action and one is a focus out. the click action opens a popup. and the focus out verifies the form in the popup. I need the clik action to be executed first and then the focus out. The problem is when the popup opens there is a call to all of the three functions. event.stopPropagation().preventDefault().stopImmediatePropagation(); so the focus out

Filter issues updated by particular user in period of time using JQL

时光毁灭记忆、已成空白 提交于 2019-12-10 13:57:34
问题 Is there any way to find all issues updated by particular user in particular time period in every day by using JQL or is there any plugin to solve this?. 回答1: If by updated you mean change of status you can chack something like this: status changed by "user.name" and updated > startOfDay("-1") Of course the start of the day -1 shows everything updated since yesterday, but you can also go with hours. 回答2: You could run a query like this: reporter = usernameGoesHere AND created > startOfDay()

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

谁都会走 提交于 2019-12-09 16:24:33
问题 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

Export JIRA Data

瘦欲@ 提交于 2019-12-09 10:55:07
问题 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? 回答1: 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 JQL: coloring cards by blocked status

烂漫一生 提交于 2019-12-08 18:33:28
问题 I'm trying to use the "Card colors" feature of JIRA Agile, plus the ScriptRunner plugin, to color blocked cards on a JIRA agile board. My definition of "blocked" is: ticket has a value for the "Blocked" field or is linked to an unresolved ticket in a "is blocked by" relationship. The best I can do is the following JQL: (Blocked is not EMPTY) OR issueFunction in hasLinks("is blocked by") This finds tickets that have a value for the "Blocked" field, and tickets that are linked to another ticket

Apache axis logging - ClassCastException while using it inside a Jira plugin

别来无恙 提交于 2019-12-08 04:55:35
问题 My Jira 5.0 plugin is broken with the following exception: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.ExceptionInInitializerError at org.apache.axis.description.OperationDesc.<clinit>(OperationDesc.java:65) at com.xyz.germander.AddTestTrackLinkDialogAction.doConfirm(AddTestTrackLinkDialogAction.java:23) ... 148 more Caused by: java.lang.ClassCastException: org.apache.commons.logging.impl.SLF4JLogFactory

Apache axis logging - ClassCastException while using it inside a Jira plugin

僤鯓⒐⒋嵵緔 提交于 2019-12-07 19:23:26
My Jira 5.0 plugin is broken with the following exception: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.ExceptionInInitializerError at org.apache.axis.description.OperationDesc.<clinit>(OperationDesc.java:65) at com.xyz.germander.AddTestTrackLinkDialogAction.doConfirm(AddTestTrackLinkDialogAction.java:23) ... 148 more Caused by: java.lang.ClassCastException: org.apache.commons.logging.impl.SLF4JLogFactory cannot be cast to org.apache.commons.logging.LogFactory at org.apache.axis.components.logger.LogFactory

JiraTestResultReporter.JiraReporter aborted due to exception error in Jenkins

六眼飞鱼酱① 提交于 2019-12-07 12:35:26
问题 I configured JIRA plugin with Jenkins , I'm getting this error after build get completed. Could anyone explain how can I fix this issue with explanation. Jenkins ver. 1.580 JIRA plugin 1.39 JiraTestResultReporter plugin 1.0.4 ERROR: Publisher JiraTestResultReporter.JiraReporter aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at JiraTestResultReporter.JiraReporter.perform(JiraReporter.java:105)

JIRA: On Sub Task creation, inherit custom fields from Parent

邮差的信 提交于 2019-12-07 04:30:59
问题 In JIRA, is there a way when a sub task is created, to have it inherit custom field values from the parent? For example, we have custom fields called "Epic" and "Feature". If the story has an "Epic" value of "Email" and the "Feature" value of "Stylesheets". When you click the "Create sub task", the sub task should automatically have "Epic" = "Email" and "Feature" = "Stylesheets". What ways have you done this in the past? Thanks 回答1: I do this two ways: Use the Create and Link plugin. You can

JiraTestResultReporter.JiraReporter aborted due to exception error in Jenkins

余生颓废 提交于 2019-12-05 18:31:31
I configured JIRA plugin with Jenkins , I'm getting this error after build get completed. Could anyone explain how can I fix this issue with explanation. Jenkins ver. 1.580 JIRA plugin 1.39 JiraTestResultReporter plugin 1.0.4 ERROR: Publisher JiraTestResultReporter.JiraReporter aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at JiraTestResultReporter.JiraReporter.perform(JiraReporter.java:105) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild