• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • REST API
    • Online
    • 0
    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      We are trying to get a list of work log items for a date range across projects through the rest API. What is the preferred methodology to do this? I don't see a standard function for this. If there isn't an easy way to do this I would like to propose a REST function to return a worklog list.

          Form Name

            [JRASERVER-34311] JIRA Rest API for worklog items

            Adam Labus added a comment -

            Hello guys,

            Please check my plugin Extender for JIRA and documentations Get Worklogs.

            With my plugin you can now search worklogs for specific user, issue or JQL query using dedicated parameters like date, project kay etc.

            Best regards
            Adam Labus

            Adam Labus added a comment - Hello guys, Please check my plugin Extender for JIRA and documentations Get Worklogs . With my plugin you can now search worklogs for specific user, issue or JQL query using dedicated parameters like date, project kay etc. Best regards Adam Labus

            I have an integration software and today I started to implement few features to it and to my surprise there is no API which would return worklogs I need. Basically the need is simple. JIRA should have rest/api/2/worklog/search?some criteria

            That criteria could be JQL or parameters.

            My need is to get worklogs of a person on specific date. Very simple. The other end in my integration provides this functionality.

            Jarmo Muukka added a comment - I have an integration software and today I started to implement few features to it and to my surprise there is no API which would return worklogs I need. Basically the need is simple. JIRA should have rest/api/2/worklog/search?some criteria That criteria could be JQL or parameters. My need is to get worklogs of a person on specific date. Very simple. The other end in my integration provides this functionality.

            Upvote. We used external billing and time tracking. This new rest would be extremely helpful for our integration. Michael's example is good but for our case it would be more helpful if we could get all worklogs from a time period by user, not just specific to an issue. Or if a wild card could be used in a search that would be useful as well.

            David Smith added a comment - Upvote. We used external billing and time tracking. This new rest would be extremely helpful for our integration. Michael's example is good but for our case it would be more helpful if we could get all worklogs from a time period by user, not just specific to an issue. Or if a wild card could be used in a search that would be useful as well.

            Upvoted.

            It would also be useful to pass a time span to the rest/api/2/issue/{issueIdOrKey}/worklog method. Some issues have a huge bunch worklogs. Parsing of the json string takes an extremely long time for such issues.

            For example:
            rest/api/2/issue/{issueIdOrKey}/worklog?start=2013-11-01T00:00:00&end=2013-11-30T23:59:59

            Deleted Account (Inactive) added a comment - Upvoted. It would also be useful to pass a time span to the rest/api/2/issue/{issueIdOrKey}/worklog method. Some issues have a huge bunch worklogs. Parsing of the json string takes an extremely long time for such issues. For example: rest/api/2/issue/{issueIdOrKey}/worklog?start=2013-11-01T00:00:00&end=2013-11-30T23:59:59

            Upvoted. We are attempting to build a similar integration with an external time tracking/billing system. With the current API, it takes an extremely long time to pull all of the worklogs for an individual. We would love to see a method added to the API that can get all of the work logs on issues that match a given JQL, or just a worklog API that works regardless of Issue.

            Perhaps something along the lines of:
            /rest/api/2/worklog/{username}?jql=...

            Eric Grubaugh added a comment - Upvoted. We are attempting to build a similar integration with an external time tracking/billing system. With the current API, it takes an extremely long time to pull all of the worklogs for an individual. We would love to see a method added to the API that can get all of the work logs on issues that match a given JQL, or just a worklog API that works regardless of Issue. Perhaps something along the lines of: /rest/api/2/worklog/{username}?jql=...

            Thanks dpetersen. I think it is clear.

            Bartek.

            Bartosz Gatz (Inactive) added a comment - Thanks dpetersen . I think it is clear. Bartek.

            Hi Bartek,

            Thanks for your response. We have a separate system where we do our billing and store time sheets. In that system we can do billing calculations off of the time spent on projects and tasks. We would like to be able to feed through the work log data from Jira into this system so that we can keep leveraging the power of each individual system. So this is integration that we would be building.

            Is that enough information?

            Thanks,

            Dale

            Dale Petersen added a comment - Hi Bartek, Thanks for your response. We have a separate system where we do our billing and store time sheets. In that system we can do billing calculations off of the time spent on projects and tasks. We would like to be able to feed through the work log data from Jira into this system so that we can keep leveraging the power of each individual system. So this is integration that we would be building. Is that enough information? Thanks, Dale

            Hey dpetersen.

            Thanks for your feedback. You are correct - as of today we do not provide a direct way to extract worklogs for multiple issues for a specific time frame.
            Can I ask you to give me a bit of a background why do you need it? I'd like to understand the actual use case behind it: is it an add-on or integration that you are building, and what is it expected to do?

            Cheers,
            Bartek
            JIRA Product Manager

            Bartosz Gatz (Inactive) added a comment - Hey dpetersen . Thanks for your feedback. You are correct - as of today we do not provide a direct way to extract worklogs for multiple issues for a specific time frame. Can I ask you to give me a bit of a background why do you need it? I'd like to understand the actual use case behind it: is it an add-on or integration that you are building, and what is it expected to do? Cheers, Bartek JIRA Product Manager

              Unassigned Unassigned
              df6923cc3fed Dale Petersen
              Votes:
              24 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated: