Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns true only if the current transition was being triggered by another JWT post function

It is very common to automate transitions in other issues. If those transitions are being executed manually, it might make sense to have validations and post functions in place.

To make sure that JWT can execute a transition regardless of existing validators / conditions or post functions this function can be used.


Code Block
languagebash
titleSyntax
linenumberstrue
isJwtTriggeredTransition() #Output: Boolean


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
isJwtTriggeredTransition()


This example returns the true if the current transition was triggered by a JWT.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titleboolean


UI Text Box
typetip

This function is useful for bypassing validations or post functions when a transition is being executed as part of an automation workflow.

This function is commonly used in a Logical expression inside the conditional execution parameter of post functions.

If you want to achieve the same for transitions that were triggered by a bulk operation, check out isBulkTriggeredTransition()


UI Text Box
typenote

Transitions being triggered by the Transition issue action (as part of an automation rule) will be detected as well!



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_isjwttriggeredtransition" and space = currentSpace()


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



Page properties
hiddentrue


Short description

Checks whether a transition was executed by a JWT post function.

Output

Status
subtletrue
titleboolean

Available since

Status
subtletrue
colourBlue
title2.1.27

Label

Status
colourRed
titlestaff pick