Versions Compared

Key

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


Warning
titleBETA Feature

This feature is currently in beta testing as it may slightly slow down the add-on responsiveness. It might create a custom field on your JIRA instance and keep it in sync with the Checklist's status. However, the syncing occurs when the Checklist is modified. Hence, in certain circumstances (for example, newly created issues), the transition may not work as expected. If you have any feedback, let us know by submitting a support request.


Info

Transition between workflow statuses can go through a validation phase to determine if the transition can go on. To learn more about Configuring Workflows and Workflow Validators, consult the Atlassian Documentation.


Note

To validate a Checklist, ensure that you have administrator rights in JIRA and that you can access the administrative menus.

JIRA Cloud does not allow add-ons to create workflow validators. However, it is possible to prevent an issue from transitioning from one state to another.

To do so, perform the following steps:

  1. Navigate to Settings > Add-ons > Checklist Definitions
  2. Under the Preferences section, select the Sync with custom field check box. This creates a custom field with the name: Checklist Progress, followed by the name of the definition.

    Info

    For more information, refer to the Configuring a Checklist page.


  3. Navigate to Settings > Issues > Workflows
  4. Edit the desired workflow
  5. Click the transition that you want to apply the validator to. For example, Done.
  6. Click Validators
  7. Click Add validator, select the Regular Expression Check option, and click Add.
  8. Select the custom field called: Checklist Progress - <Checklist_name>, enter one of the following in Regular Expression, and click Add.

    Regular ExpressionReason
    (^$|.*Completed)If you only want to allow completed Checklist to go through to the next state.
    (^$|.*[(All Mandatory|Completed]))If you want to allow through the transition any when Checklist that minimally has at least all of their mandatory items completed.

  9. Publish your workflow to ensure that the validator is active. 
Warning
titleCryptic error message

Since the add-on cannot add its own validator and the standard validators do not allow to enter a friendly failure description, you will see the standard message which tells you that the field value does not match regular expression.


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
cqllabel in ( "status_configuration" , "global_item_template" , "configure_checklist" , "general_preferences" , "agile_card" ) and type = "page" and space = currentSpace ( )


Page Properties
hiddentrue


Related issues