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.
Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.