Hello!
I would like to ask for help, because I can't really manage to get the global automation to work well. I created two custom fields: Test Estimate, Test Remaining. The Test Estimate is filled in by the consultant when he creates the ticket, and then an automaton copies this value to the Test Remaining. The goal would be that when the ticket is transferred from the In Progress status to the Test, the time logged in the Test status is deducted from the number entered in the Test Remaining field. I'm here for now, but even if I log in, 0 is still entered in the logged time:
The point would be that only the hours logged in Test status are subtracted from the value of Test Remaining. If it is in a different status, do not run the automation.
Thanks for the help!
Hi @Dick !
I solved the problem, this is the solution: {{#=}}{{ issue.fields.customfield_xxxxx }}-{{issue.worklog.last.timeSpentSeconds.divide(3600).round}}{{/}}
Thanks,
Adrienne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to tell Jira that it's a math expression by using
{{#=}} math expression {{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!
Help us plant more trees
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.