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 MoreIt’s super very easy, just enter in your Trello board Add a new Power-Up! (In this case the “Jira” power) Once installed, you can try to configure the connection with your Jira Cloud. Just put the URL of your Jira and that’s all! (example: xxx.atlassian.net) Just create a new “Card” in the Trello board Click…
Read MoreThis is an example of How to create a simple web standalone (that doesn’t use server-side scripts) to get pictures from the webcam, you can name it and save it as a PNG file. Few lines of code and very useful! See it on GitHub By MrAddon
Read MoreImagine, you have a Jira project where your users create tickets with a “fixed” structured text in the description field. And we want to parse the fields and place it the values in real custom fields (for example, we want to do or execute this in a Workflow transition). Example of description field with structured…
Read MoreIf you have deleted a project in Jira Server, and your log are exploiting with lines with this “error“: You can fix it using Adaptavist Scriptrunner. Launching (and modifying) this Groovy code: By MrAddon
Read MoreThis post is the continuation if the previous post: How to print custom PDF templates of Jira tickets using Confluence After do the previous post instructions, we can improve the new “printing” system, adding a new button to Print in Word *.doc format instead of PDF. We can add this javascript to the code: Then you…
Read MoreIn this example, we will create a Confluence page and we will use it as “Template” to print documents (in this case issue tickets) in PDF or directly to the printer. Based on this exercise: How to show Jira ticket fields in Confluence pages As prerequisites we need: Jira Server Confluence Server Optional: Atlassian Crowd to…
Read MoreSome prerequisites: Jira & Confluence must be Server (no Cloud) because we use the HTML Macro to insert Javascript and Ajax Jira & Confluence must have SSO enabled (Single Sign On). For example, using Atlassian Crowd. Recipe: Create a Confluence Server Page Add the HTML Macro and insert something like this: The first Div is…
Read More