Only have relevant items in your checklist.
Too many times I see release checklists full of items that don't apply to this release.
This teaches and reinforces people to gloss over items, sometimes missing crucial tasks.
Imagine the checklist below with no downpage
Task | Needed With This Release? |
---|---|
Create Downpage | No |
Push Code | Yes |
Remove Downpage | No |
You now have two items ( Create Downpage and Remove Downpage ) that are no longer needed on your checklist.
First create a question
function questions(){
return [
{id:1,text:'Is there a downpage?',description:'',default:false}
];
}
Then tie the tasks to the question.
Push code has no questionsRequiredYes so that tasks shows no matter what.
The tasks Create Downpage and Remove Downpage only show when the question with an id of 1 is set to True.
function tasks() {
return [
{questionsRequiredYes:[1],questionsAnyYes:[],role:'Developer',type:'Release',task:'Create Downpage'},
{questionsRequiredYes:[],questionsAnyYes:[],role:'Developer',type:'Release',task:'Push Code'},
{questionsRequiredYes:[1],questionsAnyYes:[],role:'Developer',type:'Release',task:'Remove Downpage'}
];
}
questionsRequiredYes => Put in any question ids that must be true for this item to be present
questionsAnyYes => If any of these questions are true this item will show
role => Who is responsible for this task
type => What section of the checklist will this task be put in
Clone the repo and checkout the examples in the examples folder
This project is licensed under the Apache 2.0 license.