Hi @Fidel Castro Armario ,
I need to calcualte the total time taken on each child issues and need to display it in the parent issue .
For ex :
Parent issue 1
child issue 1
child issue 2
child issue 3
These child issues are created using creates issues and subtask post functions .
in parent issues : open --> in progress --> resolved .
need to take the difference b/w resolved and created .
in the same parent issues :
open --> inprogress --> resolved --> rejected --> in progress --> resolved .
in this scenario , i dont need to take the difference between created and resolved .
i copied the transition time when it is resolved to rejected as Reopened Time .
Once again i changed to resolved Then resolved field will updated with the current time .
So i have to check the scenarios :
if Reopened date is null then need to take differenece b/w created and resolved .
else reopened date is not null then need to take the difference b/w reopened date and resolved .