Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use checklist to prevent transition and warn user?

Tiago Machado October 27, 2022

Hi all, good morning,

 

I woke up with idea of using a checklist field to be used to prevent a transition, if one of the checkboxes is not checked.

I believe that is possible, but is there a way to do it and inform the user in that way, some kind of message to be showed?

 

Thanks in advance,

Tiago

2 answers

1 accepted

1 vote
Answer accepted
Tom Lister
Community Champion
October 27, 2022

Hi @Tiago Machado 

you can set a Condition on the workflow transition to check a field value

Screenshot 2022-10-27 at 11.24.05.png

Screenshot 2022-10-27 at 11.26.27.png

Do you need more detailed info?

Tiago Machado October 31, 2022

Hi @Tom Lister ,

Right, that would prevent the transition, but is the user warned about that? That a certain condition for the transition was not met?

Tom Lister
Community Champion
October 31, 2022

Hi @Tiago Machado 

A condition won't warn the user. The option to use the transition won't be shown if the condition fails.

Validators issue warning but there is no option to check a field value in the basic workflow options.

You other options would be left with looking for a plugin to support this such as scriptrunner or Jira Misc Workflow Extensions.

0 votes
Adaeze_Jude_HEROCODERS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2022

Hi @Tiago Machado 

I am Adaeze, a Herocoders Support Specialist.

You can achieve this using our App Issue checklist PRO or Issue checklist free.

Issue Checklist provides you with in-built validators that can be used to stop transition if checklist items are not completed(marked).

To set up this Validator:

  1. Navigate to Project settings > Workflows.
  2. Clist the pencil icon to edit the workflow.
  3. Select Diagram mode and click on the transition where you want to add the Validator.
  4. Click on Validators and then click on add validator.
  5. Select the appropriate validate and then click Add; as shownchrome_0yCeu8CdOy.png
  6. Click Add again to confirm the creation of the validator.
  7. Click publish draft to save the changes.
  8. Test the validator by attempting to transition an issue that does not meet the criteria, and the transition will fail.

Please see our documentation for further details on how Validaors work.

Kay November 26, 2023

@Tom Lister @ADA  Is there a way I can extend this Validator to prevent the Reporter of the issue from completing this Checklist? By the way this Checklist is very helpful

Suggest an answer

Log in or Sign up to answer