I am running into a wall when trying to get this to work. What I would like to do is to sum up all of the time spent on all of the issues linked on an epic, and then all of the epics linked to specific issue.
So it would look something like this (Lets say Theme is the custom issue type)
Theme <- Epics <- Story/Tasks
Is there any way to do this with OOTB, Automation, or with the JMWE plugin?
Hey @Jordan Berry
Unfortunately the way I approach this problem was with automation and with lookupissue smart value. Lookupissue smart value can only be used with specific values (Smart values - general | Jira Service Management Cloud | Atlassian Support). As stated in the previous link that @Trudy Claspill provided, you'll see a workaround for story points, which utilizes the "Create Variable" action within the automation.
I'm not aware if you could use JMWE, since anything from JMWE will be inside the workflow, thus you'll lose the ability of a "listener" (unless JMWE has a listener of its own).
Scriptrunner most likely would be my choice for calculating anything.
Cheers,
Alex
JMWE for Jira Cloud actually offers "Event-based Actions", which is the equivalent of event listeners (which it uses behind the scenes).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello all,
Just thinking about another way to solve this from automation:
I haven't tried it but I expect it should work.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Fischerdidn't know about that! But it's quite good to know that you have this functionality implemented inside JMWE!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have something functioning with JMWE, but for some reason, it doesnt fire on issue updated (When logging time) or when Time Tracking changes. I noticed your solution listens to the Time Tracking field @Alex Koxaras _Relational_ , have you had any issues with it actually getting hit when logging time/work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jordan Berry ,
The only thing that I've noticed, which to me is rather important, is that it takes a quite significant amount of time to calculate it (above 1sec). Other than that, with normal use of the fields, you shouldn't encounter any problem imo.
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This may just be a silly question, but how do you get it to trigger? Just by logging time? Or am I missing something fundamental?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By selecting the appropriate trigger. In our case it would be "Value Change" trigger. Try something like the following:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh. See that is not triggering in my instance. I have opened a ticket with Atlassian and they confirmed there was an issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm.. that's bad luck, but on the bright side it's good that Atlassian confirmed the issue. Now all they have to do is resolve it :)
If it's ok with you, let me know what was the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, community!
That sounds like this existing defect, which includes a suggested work-around:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Concerning trying to do this with Automation you might be able to leverage some of the lessons learned in this post:
(Credit to @Alex Koxaras _Relational_ and @Bill Sheboy )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh this is brilliant. My only issue would be with Story Points, as our teams use that field. Is the .sum function available on fields other that Story Points?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.