Versions Compared

Key

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

Description

The 'Fields Required'

Panel
bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Server/Data Center

This is the documentation for JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, see our JSU Cloud documentation.

Excerpt

Description

The Fields Required validator checks whether values for specified fields are set for a given transition.

If the validation fails, the transition will not be completed.JSU default behaviour

Since version 1.4.10, Σ Time Spent may be used to validate that work has already been logged once, before the current transition or within itself. And a new option has been added, to be able to ignore the context check on fields made by the app.

Configuration

You must select mandatory fields, when configuring the transition. For example:

Image Removed

Configuration

Define which fields should be mandatory for the transition. JSU’s default behavior is to apply the context settings

,

; this means that if a field

that

is required by this

validator

check, but

having

has no valid context for the current issue,

wont

it won't be checked.

 Thus you may select

 You can choose to ignore the context, in that case, a field will be required

by this validator, Include PageCustom Error MessageCustom Error Message

even if its context is not configured for the current issue. 

For information on how to configure a validator in JIRA, see the JIRA documentation.

Example

A workflow is configured so that the

'

Resolve

'

transition has the

'

Fields Required

' validator

check where

'

the Fix Version

'

field is mandatory. If a user attempts to resolve an issue on this workflow, where the

'

Fix Version

'

field

its

value is not set, the

validation

check will fail and

the transition will not be completed.

...

no action will be performed.

Example configuration of the Fields Required validator as described on this page.Image Added

Optional error message

You can define a custom error message for JSU validators to provide a clear explanation of the situation to your users. If you leave this field empty, a default error message from Jira will be displayed on validation errors.

Supported field types

Include Page
Supported Field Types
Supported Field Types