Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,948
Community Members
 
Community Events
165
Community Groups

Turn contents of Checklist custom field into issue checklist

Hi.

 

In one of my service desk projects, I use a checklist custom field in one of the request forms. It appears to the customer like this:

 

Capturar.PNG

However, in the team's view, the results of the field appear as a list of the checked options, and you can't even read them fully:

 

Capturar.PNG

Naturally, this isn't satisfactory. I wanted the checklist to appear in the issue as it does in the request form.

I tried creating an automation that would copy the contents of the Checklist PCP field into the Checklist Text field from the Issue Checklist add-on. I do this by editing the Checklist Text field to {{issue.Checklist PCP}}. However, all the marked options appear as one long single option, like this:

 

Capturar.PNG

 

I tried using the .split(",") function but the checklist returns empty. All I want is for the checklist to appear in the issue as it does in the form. Is there a way I can do this?

 

1 answer

0 votes

Hi Gabriel,

I'm not sure why your checklist custom field is rendering that way, but I wanted to give you a few options. With the Issue Checklist App, the Checklist Text field will always show as one text field, and needs to be formatted with line breaks in order to render properly in the Issue Checklist UI. Currently, Issue Checklist does not support customers completing checklists on the JSM portal.

A couple of option you might want to look into are:

  • Checklist for Jira
  • Forms -Forms are now available in all JSM Cloud projects (just below Request types) in the Project Settings. You can add a checklist form field to gather the information from customers without having a custom field.

Hope that helps,

Jenny

>With the Issue Checklist App, the Checklist Text field will always show as one text field, and needs to be formatted with line breaks in order to render properly in the Issue Checklist UI.

 

Can I do some automation in JQL to add line breaks after every comma? that'd solve the issue. I tried using .split(",") and it didn't work

Hi Gabriel :)

Maybe try something like this:
jira automation for regex replace community case.png
replacing XX with the number of your Checklist PCP customfield.

the replaceAll(",",",\r\n") function should replace all commas with a comma followed by return and new line characters. If you don't need the trailing comma you can remove it from the second quoted argument for that function ;)

Thanks for the advice, but it didn't work. "Checklist Text" returns empty, just as when I use .split(",") :(

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

379 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you