Quantcast
Browsing all 279 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Not able to throw exceptions in scriptrunner

I am using the following postfunction to throw errors when the user enters incorrect input and I am not able to see any errors thrown when I try out my code on the UI of Jira. Here is my code, why are...

View Article


How to retrieve the value of the summary system field using the postfunction...

I am trying to retrieve the value of the Summary system field in Jira using ScriptRunner. I am using the following code in scriptrunner but the problem is that the variable cf returned by the line def...

View Article


Image may be NSFW.
Clik here to view.

JQLParseException: Cannot execute JQL query in ScriptRunner to print number...

I am trying to execute some code in script runner to know how many issues have a certain value as a summary. The code should be super easy and straightforward but I am running into a JQLParseException....

View Article

JIRA API issues?

I'm trying to figure out how to work the Java API for Jira.I've added in this dependency into my...

View Article

changeLog.internalDelegator [GenericEntity.get] "internalDelegator" is not a...

I am writing some scriptrunner listener code in Jira to be triggered when an issue of type impediment is updated and here is my code: import com.atlassian.event.Eventimport java.util.HashMap;import...

View Article


Image may be NSFW.
Clik here to view.

Cannot create a fragment with a corresponding REST endpoint in Jira

I am trying to create a custom web item that navigates to a link when clicking on it. Here is a screenshot of the way in which I have created the custom web item: I have also defined a REST endpoint as...

View Article

Status is not updated after performing transitionResult =...

I would like an issue to be automatically transitioned from the following statuses: From Open to Fixed From Fixed to Tested From Tested to CompletedThe problem is that the status of my issue does not...

View Article

get the transition name in Jira listener

I am using use a listener in Jira to execute some code if a specific transition was made. I need to retrieve the transition name to only fire the event if the transition is called "MounaTransition". It...

View Article


Image may be NSFW.
Clik here to view.

How to allow anonymous access for a REST endpoint?

I am using the JIRA web fragment and trying to create a REST endpoint. I am using a web fragment and its corresponding REST endpoint which is called "MounaBulkSummary". How can I enable "anonymous...

View Article


Image may be NSFW.
Clik here to view.

Simple JIRA DataCenter REST endpoint not working

I am trying to perform a REST endpoint with its corresponding web fragment but I am getting the error:script function failed on issue: issue: SF-347, user: mouh, fieldId: __init__, file: <inline...

View Article

Image may be NSFW.
Clik here to view.

Simple REST endpoint and fragment not working Script function failed on...

I am using a really simple REST endpoint and its corresponding fragment and it is not working for me. The fragment I created is the following: Here is the error that I get printed in the log:...

View Article

Caused by: org.ofbiz.core.entity.GenericTransactionException: Commit failed,...

I am trying to execute a transition when clicking on a menu item in Jira Data Center. I have tried the following code. It is using the APIs workflowTransitionUtil.setAction,...

View Article

NoClassDefFoundError on com.sun.org.apache.xalan.internal.xsltc.trax package...

I'm trying to parse WSDL files using the EasyWSDL library on my (atlassian) maven plugin project. I keep getting this error when I try to parse the file and it fails when the project tries to reach the...

View Article


Image may be NSFW.
Clik here to view.

How to add jira dashboard to confluence

I want add jira dashboard to confluence.I tried with iframe gadget & set width is 1500 & height as 1700.But it displays as I attached image in belowIs anyone know how to add jira dashboard to...

View Article

Image may be NSFW.
Clik here to view.

Results of running two subqueries do not add up to the number of results when...

I am running a JQL query to count how many issues have an empty value for the "Components" field versus how many issues have a non empty value for the "Components" field.Here is the screenshot that I...

View Article


Run some statistics about which projects are used versus which ones are not used

I would like to run some statistics about my Jira projects. For example, I would like to know if a project has almost no issues or if all issues have been created more than 1 year ago and the project...

View Article

Image may be NSFW.
Clik here to view.

A gadget to count how many fields are empty versus non empty for all projects...

I would like to produce a table letting me know about how many fields for my Jira issues have a value versus how many are empty for all projects belonging to a given category and any issue type. Here...

View Article


Image may be NSFW.
Clik here to view.

How can I add a Jira dashboard to Confluence?

I want add a Jira dashboard to Confluence.I tried with an iframe gadget and set the width to 1500 and the height as 1700.But it displays as in this image:

View Article

QSH Verification, I have tried to verify qsh string but i get a "abc" qsh...

I have used this video to properly understand how JWT QSH is created from a SHA hashed conical requesthttps://www.youtube.com/watch?v=5EpEMKPbUjUI also have gone through, this site Understanding JWT....

View Article

Script editor for Jira not throwing any compile time/syntax errors

ScriptRunner for Jira is not even throwing basic compile time errors! I was using a variable that was written wrong and I didn't even receive a warning for that and it took me so much time to figure it...

View Article
Browsing all 279 articles
Browse latest View live