Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Autofill Subtask Custom Fields based on Same Fields at the Task Level

James
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2020

I'm cloning a Task template with 10 subtasks, and once the clone is created I need to fill out several fields. However, I also need to fill out those same exact fields in all 10 subtasks so I can assign them to different people. Is there a way to have custom fields in each subtask autofill with the exact values of the corresponding fields in at the task level? For example, if I enter "X" in the "Name" field of the task, I want the "Name" field in each subtask to autofill as "X". 

Thank you!

1 answer

0 votes
Tony Rossiter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2020

@James 

Jira won't do this out of the box but there are a few customized options that could work.  

  1. You could write a script to update the fields in the subtasks through ScriptRunner.  Here's a thread where that solution is discussed: https://community.atlassian.com/t5/Jira-questions/Script-Runner-Update-subtask-custom-field-based-on-parent/qaq-p/769490
  2. You can also do it through a Workflow transition with post function using Jira Suite Utilities.  They have a specific post function called Copy Value From Other Field that you could use to copy specific field values from parent to child ticket.  I would do this by setting up the transition from a status to itself (or from any status to itself) and then locking down the transition using a workflow condition so that only specific users could run it

Suggest an answer

Log in or Sign up to answer