Forums

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

Custom field to calculate logged time for parent and child issue types

Priti Sonar February 8, 2022

Hi Team,

Is it possible with any way (Listener , post function ) , to set field value .

The field will calculate the total logged time(Logged : system field) of the  parent and their respective child issues.

Scripted Field can fulfil this requirement ,since scripted fields are not visible over any gadget , as this field in needed in gadget.

Can you please suggest a script and way to achieve this goal .

Let me know if you need more inputs

1 answer

1 accepted

0 votes
Answer accepted
Melo
Community Champion
February 9, 2022

Hi @Priti Sonar 

I believe you could accomplish that using Automation for Jira

Using the trigger Work logged and getting the values and summing up using smart values e.g {{worklog.timeSpentSeconds}}

Smart value list: https://confluence.atlassian.com/automation/smart-values-993924860.html

Math expression examples: https://support.atlassian.com/cloud-automation/docs/examples-of-using-math-expression-smart-values/

Please let me know if it helped.

Cheers,

Melo

Priti Sonar May 1, 2022

Hi @Melo ,

Thank you very much , It is working as expected 

Like Melo likes this

Suggest an answer

Log in or Sign up to answer