1. Place a file with name credentials.properties Under <script_root> : app.url=http://example.com app.user=myuser app.password=secret 2. Create an Accessor class in <script_root>/mycompany/MyCompanyProperties.groovy: package mycompany import com.onresolve.scriptrunner.runner.ScriptRunner import com.onresolve.scriptrunner.runner.ScriptRunnerImpl import java.nio.file.Files import java.io.File import groovy.util.logging.Log4j @Singleton @Log4j public class MyCompanyProperties { final String configFileName = ‘credentials.properties’ public Properties getProperties() { def scriptRoots = ScriptRunnerImpl.getPluginComponent(ScriptRunner).getRootsForDisplay()?.split(“, “)?.toList()…
Read MoreHow to create a description template based on a Jira ticket (Part II)
This post is the continuation of: How to set a default description template in your Jira tickets. Now in the second part of the post we want the same thing, but not “hardcoded”. We want to create new tickets based on a description of an existing Jira ticket (and we will use this kind of…
Read MoreProtected: Groovy for Jira Training Documentation
There is no excerpt because this is a protected post.
Read MoreScriptRunner for Jira – Script Fields trick to use Common Classes
For a large scripts exist a trick to reduce the complexity of the Script Fields if you use classes that can be “common” and reused between other Script Fields. For example, imagine we want to create a Script field that show a report HTML inside the tickets with the Lean metrics. Something like this: And…
Read MoreAtlassian is obfuscating Jira Cloud!!! ¿¿Why??
Today we have an incident from a MrAddon client indicating that for a few hours they could not see the colors of the statuses … the strange thing is that it had only stopped working in the queues of Jira Service Desk. Testing in our test instance, we realize that Atlassian has updated the Jira…
Read MoreProtected: Mastering Jira Training Documentation
There is no excerpt because this is a protected post.
Read MoreJira Groovy script to send a mail to Jira groups
Sometimes we need to schedule some mails to be sent to different groups of Jira. For example, for worklog compliance, or similar cases. For this reason in Jira we usually create Services to do these tasks. We cannot send mails directly to groups, but with a simple script we can obtain the mail list of…
Read MoreeazyBI JIRA plugin basic training video
A great Workshop! See the basic training course in this link
Read More