Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


StatusTech reviewtodo
Page properties
hiddentrue
id
0


Field code

{issue.temporaryNumber1} ... {issue.temporaryNumber5}

Type
Status
title

Status

title

subtle

todostatus

true
colour

Yellow

Green
title

Ready for review StatuscolourGreentitledone

read / write

Available since
Label

Status
colourRed
title

flagged

staff pick




Page propertiescode
0
hiddenlanguagetruebashid
titleField code
linenumberstrue
%
{issue.temporaryNumber1
-5
} ... {issue.temporaryNumber5}
Type

Image AddedRead


statussubtletrue
Page properties
id
1
colourGreen
titlewrite only
Available since
Code Block
languagebash
titleField code
linenumberstrue
%{issue.temporaryNumber1-5}


Returned valueNumber previously stored in the temporary field
Output data type

Status
subtletrue
titlenumber

Example output10




Image ModifiedWrite


Page properties
id2


Valid text input
A text containing base 10 representation of a number
Valid numerical input
Integers, real numbers and also any date-time fields
Example input10



UI Text Box
typeinfo

There are 5 temporary number fields. Use them to store values temporarily.

  • %{issue.temporaryNumber1}
  • %{issue.temporaryNumber2}
  • %{issue.temporaryNumber3}
  • %{issue.temporaryNumber4}
  • %{issue.temporaryNumber5}

These fields are used to hold temporary numeric and date-time values returned by a postfunction, which can be used as input by another post function.Once the used in a subsequent post function within the same workflow transition.


UI Text Box
typetip

Conditions using temporary number fields:

  • JQL condition - store the number of issues returned by the JQL in the field temporary number 1.


UI Text Box
typenote

Please note that:

  • once a transition execution has ended, all temporary fields are cleared.
(warning) You
  • you cannot use temporary fields to pass values from one transition to another.
UI Text Box
typetip

Example

You want to copy the closest du date from all linked issues into a custom field called: Closest due date



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

UI Steps
UI Step

Set up a Copy fields from linked issues or subtasks post function to retrieve the closest due date from all linked issues and copy it into a Temporary number 1 field.

Image Removed

UI Step

Set up a second post function: Copy the temporary value into the custom field.

ui-step