Versions Compared

Key

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


StatusTech review
Page properties
hiddentrue
id
0


Field code

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

Type

Status
subtletrue

Status
colourRed
titleflagged
status

colour

Red

Green
title

staff pick
Status
titletodo

read / write

Available since
Label

Status
colour

Yellow

Red
title

Ready for review StatuscolourGreen

staff pick




Code Block
languagebash
title
done
Status
colourRed
titleflagged
Page properties
hiddentrue
id0
Field code
linenumberstrue
Field code%
{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.

  • %{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 in another post functionused in a subsequent post function within the same workflow transition.


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

Conditions using temporary number fields:

  • JQL condition - store the number of issues returned by the JQL in the field temporary number 1.
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


UI Text Box
typenote

Please note that:

  • once a transition execution has ended, all temporary fields are cleared.
  • you cannot use temporary fields to pass values from one transition to another.



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