Release 5.1.x

5.1.6.2

  • Released 15 Sep 2017.

Updates

This update fixes a serious security vulnerability in ScriptRunner for Jira discovered during an internal review. We strongly recommend all customers apply this update at their earliest opportunity. Further details will be released in the coming weeks as part of Adaptavist’s responsible disclosure approach.

All versions of ScriptRunner for Jira from 4.0.0 are affected. Below are instructions on which version we recommend you upgrade to:

  • If you have Jira 7.2 or above, upgrade to 5.3.26

  • If you have Jira 7.0 or 7.1, upgrade to 5.1.6.2

  • If you have Jira 6.4, upgrade to 4.1.3.29

  • If you have Jira 6.3.10 to Jira 6.3.15 inclusive, upgrade to 4.1.3.28

  • If you have Jira 6.3.0 to 6.3.9 inclusive, upgrade to 4.1.3.27

5.1.0

  • Released 30 Aug 2017.

New Features

Canned Script Fields

Scripted Fields allow anyone to make custom fields in Jira that are customizable, automatically generated, and visible and searchable throughout Jira.

While you can write their own custom Scripted Field today, we are very happy to provide new built-in Scripted Fields that make it very easy to get started with your own Scripted Fields - Date of first transition : Easily see when an ticket began, use this in JQL searches to ensure that issues are moving at a good pace - Time of last status change : Keep track of how long issues are in your workflow, use this to surface long-running issues in JQL searches - Number of times in status : Make it easy to see how often an issue is bouncing around, set alerts to help teams swarm on these issues to get them over the line - Show parent issue in hierarchy : Make the relationship between issues and their parent Stories, Epics, and even Portfolio relationships like Theme and Initiatives!

Remote Control and Remote Events

Remote Control is an easy-to-use new feature that allows you to execute code on other Atlassian applications with ScriptRunner installed. This may be come into its own if you have multiple Jira instances to manage, or as an easy way to synchronize data between instances.

Remote Events allows you to listen to events that happen on a linked application, and respond to it locally. This may be a simpler way to integrate applications than adding a REST endpoint to the remote, then writing a listener than invokes it.

Bug Fixes

  • [SRJIRA-2283] - Scope of Behaviors is Poorly Documented
  • [SRJIRA-2302] - Custom web item to trigger dialog renders it only when clicking on the text of a web item
  • [SRJIRA-2183] - Canned Scripted Field - Work Remaining in Linked Issues
  • [SRJIRA-2336] - canned script field to display issue type in the hierarchy above
  • [SRJIRA-2364] - Ensure compatibility with 7.4.* versions
On this page