Versions Compared

Key

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

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.

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 add-on.

Configuration

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

Image Removed

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

Include PageCustom Error MessageCustom Error Message

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 is required by this check, but has no valid context for the current issue, it won't be checked. You can choose to ignore the context, in that case, a field will be required even if its context is not configured for the current issue. 

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