This is the example code for a PostFunction to transition a linked Issue in status X to another status of the workflow. Very easy with Adaptavist Scriptrunner. See this code.
Here the sample code to add a fixed watcher on the create issue transition of a Workflow. Very easy and useful script! This is a script PostFunction of the Adaptavist Groovy ScriptRunner Atlassian JIRA Plugin. You can add, for example, a user linked to an email of a distribution list.
This example show a button in the "More" option of the issue tickets called "Approve this issue". This button call a Scriptrunner REST custom Endpoint and returns a "flag" Object to be shown as alert in the ticket. First go to "Add-ons-> Scriptrunner --> REST Endpoints" and add this script: Then save the REST Endpoint. … Continue reading JIRA Scriptrunner REST Endpoint & Web Fragment example
Original POST from Lewe.com and adapted for Confluence 5.10 by MrAddon and Jose Manuel Beas (super Agile coach) Instructions: First go to the Conflunce Configuration/Administration and create two User Macros In the first User Macro: chartjs, put this code (with "No Macro body"): In the first User Macro: radarchart, put this code (with "No Macro body"): … Continue reading Radar Charts in Confluence FREE
It's very simple! Just write with your favorite text editor a XML file, like this example: Now upload the XML file to the internet (like github), and get the RAW URL of the file. Now, go to ADD GADGET in your DASHBOARD, then MANAGE GADGETS and install the URL of the XML file. That’s all! … Continue reading How to create a JIRA Server Dashboard Gadget
Hi all, It's a great pleasure for me to present my new JIRA Server Add-on to create a new JIRA Dashboard Gadget "BlockChain Viewer". Control all time the price of the main virtual currencies like Bitcoin, Ethereum, Litecoin, Ethereum Classic, Voxels... with graphs, change monitoring, etc. While the Atlassian people approves the plugin, you can … Continue reading New JIRA Dashboard Gadget BlockChain Viewer
Very easy with a simple example, you only need a text editor or notepad... Create a new file called "atlassian-connect.json" This example creates a button in the Agile Rapid Board of JIRA Cloud and create a link to this blog. Replace the https://url_mandatory_to_the_ftp_of_the_file_atlassian_connect/ by your URL... you can use for example Github to push the repository … Continue reading How to create a new JIRA Cloud addon Hello World
Very easy! Create the required TimeStamps custom fields to fill with a Listener or a PostFunction with Groovy Scriptrunner with a CODE like this Then create a Groovy Scripted Field in JIRA to calculate the SLA (ANS in spanish). You can follow this instructions to create the HTML field Put a code like THIS: That's … Continue reading Calculate the SLA with Scripted Field in ScriptRunner for JIRA
Examples of updating an issue using fields. Example of assigning an issue to user "harry" This simple edit Request example input data Response You should just receive a response with a status of "204 No Content" Example of updating many fields at the same time Here we update the assignee and also the summary, priority, … Continue reading JIRA REST API Example with CURL