ScriptRunner for Jira Cloud
ScriptRunner for Jira Cloud - Scripted field to display last comment
Let us create a scripted field today using ScriptRunner for Jira on Cloud. #ScriptedField #ScriptRunnerCloud #JiraRESTAPI
Code: https://github.com/sparxsys/ScriptRunner-Scripts/blob/master/jira_cloud…
Scripted Condition using Jira expressions
Today let us learn how to use Scripted condition on Jira Cloud.
Check whether the issue has an attachment of type pdf.
issue.attachments.filter(attachment => attachment.mimeType == 'application/pdf').length > 0
Check whether the issue has comments.
issue.comments
.length > 0
Hide sensitive information in your scripts
Script Variables is a great way to hide sensitive informa
Script Variables on ScriptRunner for Jira Cloud
There is a feature called Script Variables to store sensitive information in variables that you can access in your script.
Create variables like FIRST_NAME, LAST_NAME, URLSTRING and PASSWORD with some values. To access them in your script try this below.
Create Scripted Fields on Cloud using #ScriptRunner @adaptavist
Trying to create scripted fields on cloud?
Want to contact me?
Ravi Sagar
ravi at sparxsys dot com
Author of "Mastering JIRA 7" book. Loves #Jira and #Drupal. #Blogger, #ProblemSolver, #Atlassian #Consultant and #Technologist @ravisagar on twitter
Want my help? raise a support request for me.
Social and other Links
- RSS Feed
- Github
- @ravisagar on Twitter
- Ravi Sagar YouTube: Atlassian tools and Jira tutorials
- Ravi Sagar LBRY: Synced with Ravi Sagar YouTube
- Blackberry Boy YouTube: Linux, Emacs, Org Mode and tech tutorials
- Ravi Sagar Podcast
- @ravisagar.in on Instagram
- Ravi.pro: site published with Org Mode, general IT and tech stuff
- LinuxIndya.com: site published with Org Mode on Linux
- AutoGrid.info: site published with Org Mode on Excel VBA and Google Apps Script