Hi,
I'm currently using scriptrunner behaviour (cloud) to have some texts displayed in description field. I can able to set the texts, but I also want to have checkboxes rendered along with the text displayed. So, my question is scriptrunner cloud supports rendering checkboxes in a field?
I have created a basic behaviour script, can you check on that?
Hi Jayanth,
Setting the description with behaviours uses the Atlassian document format, and it is possible to set checkboxes with this, as the description field supports this.
One way to visualise the structure is to use the Atlassian document builder tool, which generates the necessary syntax.
Using this, I have created an example script here, which populates the description with an example checklist. You can use this as a reference guide to help create the script you require.
This script will then populate the default description with the checkboxes on the Create view, as shown below.
I hope this information helps.
Regards,
Kristian
Ooh, I didn't realise it could be done via ScriptRunner with a behaviour. Nice to know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jayanth
So, my question is scriptrunner cloud supports rendering checkboxes in a field?
That question gets asked quite frequently, and the answer is still... nope!
Firstly, they are called 'Action Items' not checkboxes, and they cannot be directly entered into the Description field via markdown text via automation. Refer to this thread from a few months ago when someone last asked the question.
Next, refer to this thread from last year when Action Items were first released and the same limitation was discussed in great detail.
Lastly, refer to AUTO-1668 that is the feature request for requesting that Action Items can be added using automation. Add your vote!
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.