JIRA Timesheet Plugin REST Api

I see that the JIRA timesheet plugin has a REST API, as it's shows as one of the modules when I view the plugin config.

What I can't find is the port or address that it's runnign on so I can try connecting to it to see if I can use it to help with some custom data extraction that I need.

6 answers

1 accepted

Accepted Answer
0 votes

Port is the same as your JIRA is running, and url is jira/rest/timesheet-gadget/1.0/raw-timesheet.json, please see https://studio.plugins.atlassian.com/browse/TIME-269 for more details.

Thank you.

I tried hiting that link ( and the variation defined in the link you provided) but both return back an error.

SyntaxError: Unexpected token )

That makes me think there is a bug in the plugin and the marshaller can't produce valid JSON output for it. But I don't know if maybe the URL is wrong (specifically the version part) can anyone else provide any guidance?

Port is the same as your JIRA is running, and url is jira/rest/timesheet-gadget/1.0/raw-timesheet.json, please see https://studio.plugins.atlassian.com/browse/TIME-269 for more details.

Thank you.

Installed the plugin but get a {"status-code":404} when i use

https://mydomain.com/rest/timesheet-gadget/1.0/raw-timesheet.json

https://mydomain.com/rest/api/latest/search?jql=reporter=John+order+by+duedate

Works fine?

Hi Ron,

Are other assets, gadget and reports available for you? Check also plugin modules in Administration, to see if Rest module is enabled.

Thank you.

Yes, just added one

gadget url was https://mydomain.com/rest/gadgets/1.0/g/jira-timesheet-plugin:timesheet-gadget/gadget.xml

rest module is active (did not restart server after installing)

That's correct, and url for rest timesheet is also correct. Is it possible that you've installed old version of plugin? In other words what version did you install?

Installed version 2.2.9

Ah, it's not available in 2.2, you need 2.3 and JIRA 5.x

This API is not working now since stopped the timesheet add-on.

We have installed new add-on of the same developer. But API responses is not quite similar as this API. API is very slow it crash when we have more than 13 users.

 

Do we have any other API to get timesheets for bulk users.

 

Thanks.

Samantha

New add-on (Time Reports) does not provide REST API, you might be using JIRA native REST API.

Thank you for your reply.

I couldn't find any direct native API to get woklogs at once.

If anything, please do let me know.

Regards,

Samantha

Hm, but you've mentioned some APIs. Well, you may see http://www.jiratimesheet.com/wiki/RESTful_endpoint.html for reference.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

421 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you