Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to sum JSM spent time based on condition?

I have a JSM project, where service desk can log in spent time for each request.

I am trying to find out some way to automatically sum the logged time for all request by month whenever a time is logged in...

So the questions are:

1. how to sum all request under same project?

2. How to sum based on condition, say, between 2 dates etc

1 answer

1 accepted

1 vote
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 02, 2023 • edited

Hi @Wong Zhao Cai , natively there isn't a place to record data across issues, e.g. in a project field.  information. With that said, here is an idea for your consideration. You could create a top level task, used to record this sum of all logged time for the month. Then you could use automation to find all the issues where time has been logged, and some that up and place the value into a field (comment, description, custom field, etc) of your "summation" task. Not knowing how you wish to use the data it is hard for me to provide an exact solution. However, let's say that you just want to be able to record that information and review it or maybe even notify folks at the end of each month. In that event, I would create the automation rule to run at the end of each month or the beginning of the next month, and sum the values into a variable, which would be added into a comment, such as "The sum of all logged time for the month of September was {{sumvar}}."

The other option to consider would be to look at an add-on application. You can check the marketplace for this.

Hi Jack, yes you are right, I am trying to get the time spent for each month as a record.In this case I still need to create a top level task in JSM? Sorry I am quite new to Jira, does top level task means a separated request in the queue? and thanks for your reply!
1.PNG

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 06, 2023

Yes. Or you could export to Excel/Sheets and sum using those apps.

Like Wong Zhao Cai likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events