Hey guys,
I need to know weather we can get sub-task and bugs time tracking for a single user.
As of now, when I am calling JQL search Api for logged hours of a user, I am only getting time logged in main story. There is no logged hours present for bugs in issue-link field.
Is there any other Api which can provide time logged against a link-issue in JIRA along with the time logged for main story.
Hello Sahil and welcome to the Community!
To ensure I’m understanding correctly, you’re wanting to view all logged hours from a specific user for all issues types and subtypes. The difficult part is that you’re wanting to get all of this via one single REST API call. I went through the Jira cloud REST API endpoints and most of what I found is a staged approach to collect this data. Meaning you will have to phase into this with the following steps:
Executing these steps will be dependant on which scripting language you use and how you choose to access these endpoints. This should assist with gaining access to the users worklogs to get a recorded time.
I hope this proves helpful and you’re able to locate and access the data you need.
Regards,
Stephen Sifers
Hello Stephen
Thank you for your answer.
I am already using same approach. But I have a list of users for which I need to calculate the total time spent by him for all the issues. When I follow the above approach it takes more response time.
As I have to first calculate the issues of a single user and then by processing it we will find issues id's and corresponding to that we are calculate workLog. Again i have to process individual time to calculate total time spent for the issues.
In a case where I have multiple users,this whole calculation takes a lot of time.
Looking for a way, so that I need not pass individual issue id's and its type to calculate the workLog.
Thanks
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.