Forums

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

Automate issue checklist population.

Patrick Keller
Contributor
July 11, 2024

So, I'm trying to attempt to automate the population of checklist within a Jira employee onboarding project. 

Jira issue slide 1.png

I want to have it set up to when an issue (employee) is moved to the next bucket phase 

Jira issue slide 2.png

Then a checklist for that issue (employee) automatically populates within the issue pertaining to that bucket. (a list of items that should be completed and checked off before migrating to the next bucket or phase)

Jira issue slide 3.png

I have the templates saved for each bucket with the "Issue Checklist Free app for Jira" and I can load them manually myself from the ellipsis menu within the checklist block after adding checklist from the top issue bar tab as seen above.

Jira issue slide 4.png

Jira issue slide 5.pngJira issue slide 6.png

The issue is I want this auto-populating each bucket it transitions to. I have it set up within the workflow the stages to which an issue (employee) must transition before the next bucket phase

Jira issue slide 7.pngJira issue slide 7.5.png

The problem persists within the Automation rule configuration trying to set it up for when it moves to the next bucket it selects the correct checklist template to add. 

Jira issue slide 8.png

I have the correct flow to the left, but I can't figure out where I'm going wrong with the JSON syntax for the new rule field. 
 I'm not completely knowledgeable with JSON so I've been trying to use GPT to piece together the syntax and I've tried different syntax formatting to make it work. 

{
"fields": {
"Checklist": {
"template": "Orientation"
    }
  }
}
This was the original syntax I was using although it kept throwing an error when I was trying to save. 
I appreciate anyone's help with this issue! Thanks in advance.

2 answers

3 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.
July 12, 2024
Thank you, @Marc Koppelaar - Devoteam, for sharing this document.
 
@Patrick Keller  You can also choose to use the labels integration feature.
 
This feature automatically adds a checklist when a label is added to an issue. The label should be named exactly the same as your Templates. In your case, the label should be: Orientation
 
First, you should enable the feature by navigating to Jira settings > Apps >Issue Checklist Free- Global settings; you will find the option at the bottom of the page, as shown:
RDeiwZxm05.png
 
After that, your automation should look like this:
 
 chrome_Vl09kghwdM.png
 
I've added a last step to remove the label as you do not need it there when the Checklist is added, as shown:(SN: Removing the Label does not remove the Checklist)
 
 chrome_KORDTxLB7j.png
 
Please reach out here if you have further questions.
Patrick Keller
Contributor
July 12, 2024

Thank you so much for the advice @Adaeze_Jude_HEROCODERS

This will work for now, at least until I understand JSON and figure out a way to get the syntax to work within Jira. 

Like Adaeze_Jude_HEROCODERS likes this
Patrick Keller
Contributor
July 12, 2024

@Adaeze_Jude_HEROCODERS How do you add the {And: Re-fetch issue data} component. It's not within my triggers.

**Edit** Never mind I found it haha*

Like Adaeze_Jude_HEROCODERS likes this
Patrick Keller
Contributor
July 12, 2024

It works! you're a life saver <3

Like Adaeze_Jude_HEROCODERS likes this
0 votes
Marc - Devoteam
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.
July 11, 2024

Hi @Patrick Keller 

Check the app documentation.

there is loads of info how to create checklists via automation.

Note: don't use the YAML field as its deprecated, use the checklist text option.

Example: https://docs.herocoders.com/checklist/append-checklist-item-s-on-issue-transition 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events