Hi all,
Is there a way in Jira to see how much time I logged today? (We do have Jira 7.13.1)
I know I can filter with JQL for Items I logged time on and that I filter with times (start/endOfDay())
But I don't see how much of the time logged on this tickets was
1) logged by me
2) was logged by me today
Is there a way with plain Jira (or ScriptRunner) to do so in the Web interface?
If not is there some REST interface that returns that as JSON/XML/XLS that I can query via Postman to retrieve that information?
There are some plugins that gives this information. You can also retrieve worklog information with REST API but you need write a script. Because it only returns worklogs for today and you need to send a second query for every worklog returned from first query to retrieve worklog detail. After that you need to filter for your own username.
https://docs.atlassian.com/software/jira/docs/api/REST/8.4.0/#api/2/worklog
This may be easier with ScriptRunner. You can use getWorklogsUpdatedSince method of WorklogManager class. But you still need to implement some filtering logic.
Hi,
The script would be fine for me ...
Are there any simply ready-to-use samples for real scripts to see how to start/how complicated it is?
Maybe with something basic query like getting all tickets of a user that are in progress?
Getting started links are not working on the API page ... and they seem to be for Plugin Developers - is there something that is really for an external script?
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.