Will this app be able to report on legacy logged work hours

david phalstaf May 3, 2016

by ADWEB Software

 

My company is planning on installing this gadget in June, however, we would like to start logging work hours now.  When we install the gadget, will it be able to report on the hours we entered prior to installing the gadget?
And if so, will there be additional steps required to do this?

1 answer

0 votes
Abhinav Ojha
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2016

Hi David,

Sorry for the late reply.

To get role specific work hours, you will need to migrate the desired worklogs to roles of your choice.

In our latest version, we have added REST services to deal with the legacy logged works. Following are the REST services:

GET: {context path}/rest/adweb/2/legacyLogwork/{IssueKey} & {context path}/rest/adweb/2/legacyLogwork/{IssueKey}, which will return a JSON of all the worklog informations in the issue/project which are not associated with any roles. Copy this JSON and keep it aside.

 

PUT: {context path}/rest/adweb/2/legacyLogwork/roleAssociation, is the PUT service, to which you can provide the JSON data you saved earlier from the GET service, and in each of the worklog, there is a role id option, which by default is "-1", so if you provide a valid role id, that worklog will get associated to the role, and worklog with invalid id or "-1" id, will be ignored.

 

The versions of the plugin that include these REST services are following:

  • For JIRA 6.0+ that is version 1.3.4
  • For JIRA 7.0+ that is version 1.7.4

 

Hope this helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events