Versions Compared

Key

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


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Validation of linked issues checks all the issue links but if you want to check only those issue links added to the transition screen, use the Logical validator with the configuration below.


Configuration

UI Steps


UI Step

Add the Logical validator to the desired workflow transition.


UI Step

Expression

Add the following expression:

Code Block
languagebash
linenumberstrue
count(transitionLinkedIssues("")) >= 1 AND count(filterByProject(filterByIssueType(transitionLinkedIssues("duplicates"), "Improvement, Bug"), %{issue.project.key})) = count(transitionLinkedIssues(""))


UI Text Box
typeinfo

This expression checks the following:

  • At least one issue needs to be linked during the transition
  • The issues are being linked by the link type "duplicates"
  • All issues linked within the transition must be of type Improvement or Bug and must be in the current project





Screenshots


Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor in ("27066629","32215720")


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow functionLogical validator
Use case descriptionCheck only the issue links added to the transition screen.
Parser functions

count()

transitionLinkedIssues()

filterByProject()

filterByIssueType()

Label



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