Page History
Page properties | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
On this page
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
Throughout the documentation we refer to to data types that that can be used in the the expression parser and and its functions and field codes. Data types define what kind of data a function needs as input and what you should expect as output. |
Data types in JWT
Data type | DescriptionExample | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| This type represents any kind of text or character string including all kinds of select and multi-select fields | |||||||||||||||||||||||||||||||||||||||||||||||
Expand |
Any field type or data type is susceptible of being transformed to text, so any field can be referenced as a text-string value using the following notation: | "Hello world" |
| This type represents numeric values, and is also used to store Date date, Time time and Date-Time (
UI Expand |
1, 1.1, -1.1, .1, -.1 date-time values. Learn more about Dates, times and time zones
| |||||||||||||||||||||||||||||||||||||||||||
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||
Status | ||||||||||||||||||||||||||||||||||||||||||||||||
subtle | true | |||||||||||||||||||||||||||||||||||||||||||||||
title | Boolean | Comparison operators return a logical value true or false . | isActive(text user_name) |
Additional data types
You will find many data type references throughout the documentation that need to be explained in more detail. They all related to one of the categories above.
title | Text |
---|
Status | ||||
---|---|---|---|---|
|
This type represents a user. The user is mapped to its Atlassian account ID, i.e. a
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents a date value. A
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents a value that contain both date and time parts. A
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents the type of an issue and mapped to its name, i.e. a
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents the type of an issue and mapped to its name, i.e. a
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents the category of the status of an issue. It's mapped to a TEXT
This type represents the priority of an issue. It's mapped to a TEXT
This type represents the project to which an issue belongs. A
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents the resolution of an issue. It's mapped to its name, i.e. a
Status | ||||
---|---|---|---|---|
|
Learn more about Lists
|
This type represents the security level of an issue. It's mapped to its name, i.e. a
Status | ||||
---|---|---|---|---|
|
title | Number |
---|
title | List |
---|
Status | ||||
---|---|---|---|---|
|
This type represents a list of users. The user is mapped to its Atlassian account ID, i.e. a
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents a list of components. A
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents a list of versions. A
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This type represents a list of labels. A
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Casting (converting) data types
UI Text Box | ||||
---|---|---|---|---|
| ||||
Casting (or transforming) data types is very important throughout all functions provided by JWT. To be able to set, transform or calculate values it might be necessary to turn a text value to a number, a number or a timestamp to a text, and even individual text or number values to a list. The following functions will help you to achieve that. |
Available functions
Page properties report | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
| Some operators, workflow functions, parser functions, and automation elements return a logical, or boolean, value of These examples include, but are not limited to: |
Converting (casting) data types
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Automatic casting from Number to Text-String
type | tip |
---|
Whenever you write a numeric term at the right-hand side of concat operator +
or a comparison operator like =
, and the left-hand side is occupied by a text-string term, the parser will automatically transform the right-hand side term into a string
+
(string concat): "His age is "
+ 30
is equivalent to "His age is " + toString(30)
=
(any comparison operator): "30"
= 30 is equivalent to "30" = toString(30)