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:
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:
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:
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?
Hi, @Gabriel Teixeira !
As an alternative, try out Recurring Checklists and Report add-on. My team has developed it to create, automate and control team performance using checklists.
To show all text from the action item, use one-page report
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:
Hope that helps,
Jenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gabriel :)
Maybe try something like this:
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 ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the advice, but it didn't work. "Checklist Text" returns empty, just as when I use .split(",") :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.