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
Community Members
Community Events
Community Groups

Automatic create checklist based on checkboxes

Hello everyone! I need to resolve some simple task.

I need a script that would create a checklist based on checked positions in checkboxes list. Script should start in post function workflow. I know that it can be realized in scipts via ScriptRunner but I don't know java language :(

3 answers

Hi Vadim,

Correct me if Im wrong, in short term you just want a script code for getting the selected value in checkbox field?

Ill try to help you out. try to use this SIL routine getFieldOptions("Project Key", "Issue Type","Field Name");
customfield_id (where you gonna display those selected values)

code: %customfield_id% = getFieldOptions("Project Key", "Issue Type","Field Name");

Thank you,

Actually, I need a code for creating checklist.

base on your explanation. you should get the value that the user selected in the check boxes? and filled it up in your own checklist details right? so you should get the value by using getFieldOption routine then feed it in your custom field(checklist).

Javascript can't help with this problem. Somebdoy know how to add a checklist items via groovy script?


Could you explain with an example?

We using a Service Desk. When customer creates a ticket he checks some checkboxes (for example - services that he need) in a request form. After applying a request we should recieve a ticket with automatic created checklist filled with items from checked checkboxes.

Really i don't know why you didn't use the checkboxes?

if i have understood :), you have several checkboxes and for each checkbox values are selected 

Chex1:V11, V22


and you want that all these values selected or checked in chexboxes chex1 ad check 2 will be selected in check list like this

check list selected values will be V11, V12 , V21, V22

is it your need ?

if yes , why did you want do this ?

Oh, my English is too bad for so complicate explanations from my side.

Let me explain my question in list :)

1) Customer create a  request in "Help Center". When customer fills a request, he checks some position of checkboxes (V11, V14, V15..) 

2) In "Basic Support" project creates a ticket with checklist of chosen positions by customer (V11, V14, V15...) and a few base positions (e-mail, AD account, workstation). After all I must have a checklist with positions (e-mail, AD account. workstation, V11, V14, V15).

Don't worry , me too i am not well in English :).

Ok I think that's i have understood like i have explained

Maube you can do it with java script or with your plugin scripting

so you could create a checklist with all values of all checkboxes like

Positions by customer (V11, V14, V15...)

Base positions (e-mail, AD account, workstation)

and create a checklist with values :

V11, V14, V15...,e-mail, AD account, workstation

and with scripting plugin or javascript you select the values selected in checkboxes

for example :

checked values in:

Positions by customer: V11, V14

Base positions :e-mail, AD account

The selected values in checklist are V11, V14,e-mail, AD account

I don't know if really what do you need :)

I am just trying to give you help if possible:)

Yeah, you understood me right) But the problem is that I don't even know JS or JAVA and I can't write this script. I hope somebody can help me with this.

I could Help you to do it with javascript :), but it will take sometimes  could you share with me your creation screen ?

which scripting plugin are you using ?

Can we talk in any messenger? It will be faster and I can give you some more information. My skype vadim.lutsevich.jandall or u can choose any other messenger.

in gmail nadirmeziani if possible , later i will try to do it in my instance Jira core


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

320 views 0 10
Join discussion

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