Forums

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

Smart Checklists cannot validate transition

Allen Chun
Contributor
October 7, 2018

I'm using SmartChecklist with Jira and I integrate it with Automation addon. Basically, I'm auto-creating subtasks, in each of the subtasks I added smart checklist using custom field Text Field (Multi-line). The validation should be I cannot move the sub-task to done unless all items in the checklist we're checked. 

 

I already added a transition validation for done

according to this https://railsware.atlassian.net/wiki/spaces/CHK/pages/144015403/Validate+before+transitionScreenshot 2018-10-08 12.23.26.png

 

But it seems even I check all the items from the checklist and move the issue to done. It's not validating. 

Screenshot 2018-10-08 12.33.57.png

Is it because I used a custom field as a smart checklist? 

1 answer

1 accepted

2 votes
Answer accepted
Pavel Pavlovsky
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.
October 8, 2018 edited

Hi @Allen Chun,

 

Thanks for your report! Can you please confirm that along with "Checklists" custom field to store the add-on content you have also configured "Smart Checklist Progress" field as described in instructions that you refer to.

If/when you do that - try to check/uncheck checklist item and make transition again.

 

Thanks,

Pavel Pavlovsky

Product Manager of Smart Checklist

Allen Chun
Contributor
October 8, 2018

Hi @Pavel Pavlovsky _Railsware_ I tried to rename my custom field Text field (multi-line) from Checklists to Smart Checklist Progress but the items are not showing now in an issue. According to the instruction, I need to rename my field to Smart Checklist Progress to work with the transition validation. 

 

So to summarize here's what I did: 

1) Rename the custom field to Smart Checklist Progress

Screenshot 2018-10-09 11.08.46.png 2) Added a transition validation that all items should be checked off before moving to done.Screenshot 2018-10-09 11.09.05.png 3) Define the items in the smart checklist progress using the automation Screenshot 2018-10-09 11.04.28.png

4)The items defined from the automation is not showing in the issue-detail-view. even I re-index the whole project/system. Screenshot 2018-10-09 11.07.59.png

Pavel Pavlovsky
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.
October 10, 2018 edited

@Allen Chun, thanks for detailed report!

I see some inconsistency in your configuration.First of all you don't need to rename a field.

You do need 2 fields:

  • "Checklists" Text field (multi-line) - to store checklist content
  • "Smart Checklist Progress" Text field (Single-line) - to store checklist progress
    Our validator uses "Smart Checklist Progress" to check if it has "DONE" word in it and if yes it'll allow transition.


So, please

  1. make one step back to bring "Checklists" field name back. Use it to set checklist value in Automation rule
  2. create new "Smart Checklist Progress" per instructions, with proper type. Associate to proper screens. And you don't need to change/touch it manually.

Cheers

Like • Parvaneh Zand likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, dance, gamification, badge, razzle dazzle, team '25 anaheim

Earn a one-day badge today and do the Atlazzle Dazzle! 🕺

Today only! Share what you’re the most excited about for Team ‘25 or just dance out the beginning of a new quarter with us.

Comment the post
AUG Leaders

Atlassian Community Events