It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ScriptRunner - Is it possible to create/add a custom field in a Post-function (Create a sub-task)? Edited

WS-BL I'm New Here Oct 22, 2019

Disclaimer: I am very new to both Jira and Scripting.


Situation: ON-Boarding process

Supervisor creates an issue for a new employee and chooses the required ressources via a checklist custom field. During the "start progress"-transition sub-tasks for the different Departments are created based on the selection in the checklist custom field.


Create a "to-do list" checklist custom field in the subtask, whose Options are based on the checked options in the original checklist of the parent task.

e.g.: Supervisor makes a check to require a notebook for the new employee and starts the progress. The subtask now includes a checklist with an unchecked notebook-option, which can be checked after the notebook has been provided.


While searching the community I haven't been able to find information on creation of custom fields through post-functions
I am therefore asking if this is even possible.


Thank you in advance for any help on this.

1 answer


Let's me share my opinion: you don't need to create an additional custom field to store the selected options because the fields already do that.

You can use the sub-task status to track if the notebook was provided or not.

But if you need to use the approach you share, please use anything like this topic:


WS-BL I'm New Here Oct 22, 2019


Thank you for your input.

I am trying to keep several tasks grouped in one sub-task for each department/co-worker since I'd have to create 30 and more sub-tasks otherwise,
which won't be appreciated by the users.

Therefore I am trying to create a "to-do"-list functionality without futher add-ons.

I will have a try at using the information from the link you provided and keep you updated.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

555 views 6 18
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