Behaviours Supported Fields and Products

Supported Jira products

Jira ProductSupported CapabilitySupported on Cloud

Jira 

Company-managed projects

(tick)


Team-managed projects

(tick)

Jira Service Management


(error)

Behaviours is only supported in the Create view for Business company-managed projects.

Supported Jira view-specific limitations

ViewProject type
Jira global issue create

Company-managed

Team-managed

Jira issue view

Company-managed

Team-managed

Jira issue transition

Company-managed

Refer to Atlassian's Jira UI modifications documentation for more details.

Supported fields

Behaviours mapping wildcard limitations

You can select the wildcard option for either All projects or All issue types only; due to an Atlassian limitation, both options cannot be chosen simultaneously. 

Using the 'All Projects' field on a behaviour means only 1 context is used for projects. If it is used with several Issue Types, then this 1 context is multiplied by the number of issue types selected. If we enable this behaviour for multiple view types, this value is also multiplied by the number of view types. For example:

Field

Selected

Contexts

Project

All Projects (100 Projects)

1

Issue Type/s

Story, Bug, Task

3

View Types

Issue Create, Issue View

2


Total

6

Developing Behaviours on Cloud and adding more functionality to this feature remains a high priority for the ScriptRunner team! Behaviours can be applied to Sub-tasks and the supported fields outlined below for the Global Issue Create, Issue and Transition views. We continually strive to support the functionality provided by Atlassian. For more information, please refer to Atlassian's UI Modifications guide.

Modifications can only be made to supported fields, depending on your selected view, as outlined in the CreateIssue and Transition view sections below.

System Fields & Custom Fields

In Behaviours, some Jira-native system fields can be custom field types. An example of this is the Labels field, which is a Jira-native system field. Only Jira-native system fields are supported, so your Behaviours may not function correctly if you have created a custom field of type Labels. System field types are identified in each of the Supported Fields tables below, while custom field types are marked with a (error).

Create view supported fields

Issue view supported fields

Hidden fields

On Issue view, fields with no value are automatically hidden when they are set to read-only. For example, empty read-only date picker, text (single), select list (single and multiple), checkbox, radio and number fields are hidden. This is the default behavior when the user does not have permission to edit the issue.

Field/methodsSystem
Field Type
setName
getName
setDescription
getDescription
setVisible
isVisible
setValue
getValue
setReadOnly
isReadOnly
setRequired
isRequired
setOptionsVisibility
getOptionsVisibility
affects versions
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
assignee
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
cascading select
(error)
(tick)
(tick)
(tick)
(tick)
(tick)

(error)

(error)
components
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)

(error)

(error)
checkboxes
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
(tick)
date picker
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
date time picker
(error)
(tick)
(tick)
(tick)
(tick)

(tick)

(error)(error)
description
(tick)
(tick)
(error)
(tick)
(tick)
(tick)
(error)(error)
fix versions
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
labels
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
multi select
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
(tick)
multi user picker
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
number
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
original estimate
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
paragraph
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
parent
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
priority
(tick)
(tick)
(error)
(tick)
(tick)
(tick)
(error)(error)
project picker
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
radio buttons
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
reporter
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
single select
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
(tick)
status(tick)(error)(error)(error)
(tick)
(error)
(error)(error)
summary(tick)(error)(error)(error)
(tick)
(tick)
(error)(error)
text field
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
url
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)(error)
user picker
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)

(error)

Supported views for issue view

Behaviours configured to run on the Issue View are triggered when accessed through one of the views outlined below, which are highlighted with example images:

  • full page issue 
  • board issue 
  • backlog issue
  • list issue
  • Issues issue
  • search issue (global search)

Transition view supported fields

Atlassian's New Transition Dialog

Behaviours on transition view run only in the new Issue transition dialog, as defined by Atlassian’s UI Modifications API. If this has not been enabled for your instance then Behaviours on transition view will not work.

Field/methodsSystem
Field Type
setName
getName
setDescription
getDescription
setVisible
isVisible
setValue
getValue
setReadOnly
isReadOnly
setRequired
isRequired
setOptionsVisibility
getOptionsVisibility
affects version
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
assignee
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
cascading select
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
checkboxes
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
date picker
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
date time picker
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
description
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
fix versions
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
issue type(tick)(error)(error)(error)
(tick)
(error)(error)
(tick)
labels
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
multi select
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
multi user picker
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
number
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
original estimate
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
paragraph
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
parent
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
priority
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
project picker
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
radio buttons
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
reporter
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
resolution
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
(tick)
single select
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
text field
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
url
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)
(error)
user picker
(error)
(tick)
(tick)
(tick)
(tick)
(tick)
(tick)

(error)



On this page