A simple example code: function CaptchaReset(username) Example query: /rest/scriptrunner/latest/custom/CaptchaReset?username=mraddon Example result: {“result”:”OK”} By MrAddon
Read More
A simple example code: function CaptchaReset(username) Example query: /rest/scriptrunner/latest/custom/CaptchaReset?username=mraddon Example result: {“result”:”OK”} By MrAddon
Read MoreSometimes we need to transition issues (or “review” issues) from our usual Dashboard Jira gadget “filter results” with only one click. For this “trick” we need the plugin Scriptrunner for Jira. First create a custom REST Endpoint with Scriptrunner to Transition the issues (and do more actions if they needed). Example code: Note: the name…
Read MoreA simple example code: function getCurrentUser(issueId) Example query: /rest/scriptrunner/latest/custom/getCurrentUser?issueId=KEY-111 Example result: {“currentUser”:”rpelaez”,”issueId”:”KEY-111″} By MrAddon .
Read MoreIn this example we will create a new Dialog inside Jira using Scriptrunner, a little bit of HTML, Groovy and Javascript. First we will create 2 REST Endpoints (one to show the Dialog and another one to show a HTML page with the results of the action). Custom REST EndPoint: showDialogExample (example code extracted from…
Read MoreIn this post we will create in an easy way a new Slack Bot to obtain results of the rankings from Crypto-coin markets. In this case from https://coinmarketrank.io/ Just go to https://api.slack.com/apps?new_app=1 Set an App name and a Workplace to add the robot development like in the picture Click on “Slack Commands” (we will create…
Read MoreFirst of all, please remember How to create and invoke a new REST Endpoint in Jira: JIRA Scriptrunner REST Endpoint & Web Fragment example In this exercise we will create a REST Endpoint in our Jira using Scriptrunner plugin to clone an existing project. The REST endpoint in this case accept two params: project_key and…
Read MoreThis exercise is the continuation of: How to create a Jira custom field with options from an external REST API In this case, instead of use an external REST API to obtain the values of the dropdown, we want to use a static list of values. We will use the same approach than the other…
Read MoreTerraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions. Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure…
Read MoreIn this example, we will try to install in 5 minutes a PHP Jira Client script in a MacOS system. The prerequisites are: (Homebrew) brew for MacOS CURL for MacOS PHP 7 for MacOS Composer for MacOS php-jira-rest-client library Install instructions with example: Download and Install PHP Composer. curl -sS https://getcomposer.org/installer | php Next, run…
Read MoreTo do this exercise, we will use the famous plugin for Jira called Adaptavist Scriptrunner. First step, we need to create a REST Endpoint in our Jira Server. This REST Endpoint will query the external REST API to obtain the values and options (In this example we will query GitHub to obtain a list of…
Read MoreSome days ago, we talk about the possibility of an Open Source Jira Software: What would happen if Atlassian ends its famous ecosystem? Open Jira fork is possible? Exist at this moment one really good system to track tasks and Software projects that can be run On Premise or in SaaS (like Jira Software Cloud).…
Read MoreWe have talked about the Servlet extraction of worklogs: How to extract an Excel report from Tempo Timesheets using an URL We have talked also about the Tempo API REST worklog extraction using groovy: How to list your Jira Tempo Teams and members in a Confluence page Jira Groovy example script to get Tempo Teams…
Read More