A 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 More
A 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 exercise, we will use a sample code of Adaptavist library in order to create a new “Escalation Service” in Jira (using the plugin Scriptrunner for Jira) to create scheduled alerts from a Jira JQL query to a Slack channel (using a Webhook). (click here to see the sample code) As first step, go…
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 MoreWe can use Behaviours in order to hide options of a customfield/dropdown in Jira depending of the value of the IssueType. If you are new I recommend first to do this example: Show/Hide Mandatory fields in Jira dynamically with Behaviours Behaviours is part of the Scriptrunner plugin of Adaptavist. In this example we will observe two…
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 MoreUsing EPIC issue type can help us in organize all own issues. Out-of-the-box functionalities give us all the necessary BUT….. ….. if we need more information from issue in EPIC, what we can do to show new columns? Let me explain We have a great help using Issue Matrix from Botron. This addon helps us…
Read MoreChristmas has arrived and it’s time to give you my gift! In this case, it is an example of an HTML5 type Web template that looks similar to Netflix (using the web template called Webflix). With this simple template and modifying it a bit, you can make a totally free web portal on the internet…
Read MoreTo do this exercise Docker must be installed and running in your Mac computer. We will use Docker Desktop for Mac (download from here). After the install process, open it! Now configure the total RAM and capacity of the Docker service. Now we are ready to start! Just open the Command Line Terminal and execute this…
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 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 More