How to auto populate custom fields in parent tickets to subtask

Zahin Hassan September 27, 2023

Hello,

 

Can someone provide instructions or any insight on how to auto populate custom fields in parent tickets to subtask? Is there an automation that someone is aware of.

 

Thanks,

Z

2 answers

1 accepted

2 votes
Answer accepted
Mathew Lederman
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.
September 27, 2023

@Zahin Hassan I would recommend performing this in Automation over Post-Functions as it is far simpler to build/write and you are notified if/when errors occur. Here's how we're performing this task for Active Directory requests.

Unfortunately nothing is built-in so you have to define everything yourself, but this works very well.

image.png

Zahin Hassan September 27, 2023

@Mathew Lederman 

 

Many thanks for that quick turnaround. Is there an option to populate previous historical data from parent tickets to subtasks?

Mathew Lederman
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.
September 27, 2023

Yes, just use Scheduled as your trigger. You'll have to write out the JQL for the appropriate pieces to apply, but you can run a Scheduled automation at-will or you can let it run whenever you like.

Like Zahin Hassan likes this
Zahin Hassan September 27, 2023

@Mathew Lederman 

 

Many thanks!!! This is helping me a lot with a current blocker. Thanks again for your insight and expertise!

0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2023

Hi @Zahin Hassan welcome to the community.  I'd suggest you put this on the Create Transition of the Sub-Task as a post function.  You could also write an automation providing you are using Data Center or Cloud Enterprise.

Zahin Hassan September 27, 2023

Hello Craig,

 

Thanks for the warm Welcome!

 

We are a Data center.

 

Thanks,

Z

Mathew Lederman
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.
September 27, 2023

@Craig Nodwell apologies for the off-topic question, but why do you mention Data Center or Cloud Enterprise? Is automation not available on the Cloud Premium version?

Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2023

They are but there's scaling considerations when on other offerings.

Mathew Lederman
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.
September 27, 2023

Can you share a bit more detail or link me to where I can find more? We are looking to move to Cloud Premium in the coming months and are heavily dependent on automations. I can't find anything about limitations.

Bill Sheboy
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.
September 27, 2023

Hi @Mathew Lederman 

Please look here for all the spirited conversations on the changes to the packaging model for automation rules:

https://community.atlassian.com/t5/Automation-articles/Introducing-our-new-packaging-model-for-Jira-Cloud-Automation/ba-p/2446099

Kind regards,
Bill

Like Craig Nodwell likes this
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2023

Thanks @Bill Sheboy 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer