This is my current script :
if (issue.get("Dev - Actual Effort Hours") == 0 )
return (issue.get("Dev - Actual Effort Hours") /
(issue.get("Dev - Actual Effort Hours") + issue.get("Dev - Balance To Go Hrs")));
return numberTool.format(Math.round(value*100))+" <b>%</b>";
But I would like to set the return output to 100% when the Status goes to / has been to "Dev Completed".
Any help would be greatly appreciated.
Why don't you simply clear the "Dev - Balance To Go Hrs" field when you reach the "Dev Completed" status?
Otherwise, you'll need to create a field that will "remember" that the issue went through the "Dev Completed" status at some point, and use that field in an if statement.
Hey David! Dev - Balance To Go Hrs is a calculated field which is the difference between Estimated and Actual. We don't want this changed as this will give us data on how estimates are being done.
Thanks for the inputs! I'll try to use a flag as suggested.
Just wanted to try and check if its doable in another way.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs