Node App to convert Google Calendar entries into JIRA work logs
- Google calendar ID (retreivable from here: https://developers.google.com/calendar/v3/reference/calendarList/list). Update config.js "calendar.id" field 6C3D
- Enable Google Calendar API and Generate Google Auth credentials and add file in /config (seeL https://developers.google.com/calendar/quickstart/nodejs)
- Atlassian Auth token (available here: https://id.atlassian.com/manage/api-tokens). Update config.js "atlassian.token" field
Enter logs as events in calendar using the following format:
Event name:
<jira-id> <optional-description>
Also supported:
- Log Summary (logged as work-log description) (add event description in google calendar entry)
Update the timeMin and timeMax parameters with the region of days to log. Run index.js as entry point. When running the following processes are performed:
- Events in the date-min and date-max range are fetched from google calendar.
- Events are converted to list of logs (duration included)
- Atlassian API is used to sequentially log events
List of issue keys and Atlassion response status codes.