Forums

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

Getting values from sub task

ChocoMilkTea April 23, 2020

I have created an issue with multiple sub tasks. When all the sub tasks are done, it will closed the current issue and send an email with details of when the sub tasks are completed.

 

I want to retrieve "Updated" date in the sub task. Is there anyway I can retrieve the "Updated" value from either one of the sub task or all of the sub tasks?

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Benziane
Community Champion
April 23, 2020

Hello @ChocoMilkTea 

You want to copy the value from the subtask to the parent ? If yes you will need an addon like scriptrunner.

ChocoMilkTea April 23, 2020

Hi!

Is there any method like the following:

{{ issue.subtasks }} to retrieve all the subtasks and also get the information from each of the subtasks like "Updated", "Description", etc without using addons?

Mohamed Benziane
Community Champion
April 23, 2020

No, you will need an addon, or you can extract the data using a filter. Or use the jira api

ChocoMilkTea April 23, 2020

Ok. Thanks for the information!

Suggest an answer

Log in or Sign up to answer