In this example, we will see in a script field all the tickets linked that uses a link type “Trigger” relation That’s all! By MrAddon
Read More
www.MrAddon.com ®: Jira & Confluence Administration Support Blog
jira confluence admin administration support script scriptrunner groovy mraddon barcelona plugin custom development it technology barcelonatech development
In this example, we will see in a script field all the tickets linked that uses a link type “Trigger” relation That’s all! By MrAddon
Read More
There is no excerpt because this is a protected post.
Read More
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 More
Sometimes we need to know the “real” closing date of tickets, for different reasons: workflows with bad config (Resolve Issue screen missing in final statuses…), two Resolve Issue screens in Resolved and Closed statuses, etc. And, as always, we have a trick using the plugin Scriptrunner! It’s very simple, just create a Scripted custom field…
Read More
Usually we want to create automatically subtasks in a transition and sometimes with a specific label. We use usually the plugin Adaptavist Scriptrunner in Jira Server to do tasks like this. Just creating a Postfunction in the Workflow. We can use the “Create Sub-task” script Postfunction with the usual parameters… In the “additional issue…
Read More
Other similar examples: How to remove the CLONE option in JIRA Projects In this example we want to disable some option of the Jira Server header For example, the “Power Apps” option. To do this exercise, we need to have installed Adaptavist Scriptrunner, because we need to create a new “Script Fragment” After this, we…
Read More
With Adaptavist Scriptrunner or MyGroovy plugins for Jira Server and a little groovy script we can validate/require or make mandatory the second drop down of a cascading field. Just create a Simple scripted validator in the transition! Example: Very easy! Example: By MrAddon
Read More
Sometimes we need to create new tickets in Jira programmatically each first of month… (yes, in other words, we will create a recurring task each month) and a scheduled process stored in Jira is called “Service”. With Adaptavist Scriptrunner or MyGroovy plugins for Jira Server and a little groovy script we can create programmatically complex…
Read More
In this example we explain how to create a Date-time scripted customfield using Adaptavist Scriptrunner for Jira Server. First create a customfield of type “Scripted field” After this, go to “Script Fields” in Jira Select “Add New Item” and then “Custom Script Field” Select in Template “Date” And add an inline script that returns a…
Read More
If your company has installed Adaptavist Scriptrunner you are in luck! You are available to do a search for labels using a wildcard expression using JQL You can use the JQL function issueFieldMatch Example of usage: issueFunction in issueFieldMatch(“project = JRA”, “labels”, “ie[8|9]”) This will search for tickets with “ie8” and “ie9” labels issueFunction in…
Read More
IMPORTANT NOTE: This script removes permanently a subset of customfields of your Jira. Before launch this script, we STRONGLY recommend to create a backup (following the Atlassian instructions). MrAddon is not responsible of the bad use of this script, the data removed, or some consequence derived. This script removes permanently the Jira customfields that start…
Read More
If your Jira server log is reporting this error: No permission scheme is associated with project ‘XXXX’ Try to launch a Groovy script like this to fix the error. Remember to set the PROJECT_KEY of the project affected, and a PERMISSION_SCHEME existent in your Jira. We recommed to use plugins like Adaptavist Scriptrunner or MyGroovy…
Read More