This is a program that uses the Wakatime API to automatically log work hours to Jira tickets.
It was created for internal use, so detailed usage instructions are not provided.
I plan to open-source it later by converting it to a GitHub Action.
- Clone the repository:
git clone https://github.com/Huinno-ParkJinHyun/wakatime-jira-integration.git
- Navigate to the project directory:
cd wakatime-jira-integration
- Install dependencies:
npm install
- Start the application:
npm run start
- Start the server with another terminal:
node server.js
-
When prompted, enter your system (macOS lock screen) password in the terminal.
-
Open the provided URL in your web browser and enter the required environment variables. (base : localhost:3000)
-
Click the "Submit" button.
-
If you see a success message, the program will automatically log work hours to Jira tickets at 23:50 every day.
- The battery must have sufficient charge at 23:50 (not in power-saving mode).
- The Mac should not be completely turned off at 23:50.
- The Local server must always be turned on.
- Wakatime API: Get it here
- Jira API Token: Get it here
이 프로그램은 Wakatime API를 사용하여 작업 시간을 자동으로 Jira 티켓에 로깅하는 프로그램입니다.
이 프로그램은 사내 사용을 목적으로 만들어졌으므로 자세한 사용 방법은 제공되지 않습니다.
나중에 이것을 GitHub Action으로 변환하여 오픈 소스화할 계획입니다.
- 리포지토리를 복제합니다:
git clone https://github.com/Huinno-ParkJinHyun/wakatime-jira-integration.git
- 프로젝트 디렉토리로 이동합니다:
cd wakatime-jira-integration
- 의존성을 설치합니다:
npm install
- 애플리케이션을 시작합니다:
npm run start
- 터미널을 새로 열고, 아래 명령어를 입력하여 서버를 실행합니다.
node server.js
-
터미널에서 요청 시
시스템 비밀번호(맥 잠금 화면)
를 입력합니다. -
웹 브라우저에서 제공된 URL을 열고 필요한 환경 변수를 입력합니다. (base : localhost:3000)
-
"submit" 버튼을 클릭합니다.
-
성공 메시지가 표시되면 프로그램이 매일 23:50에 자동으로 Jira 티켓에 작업 시간을 로깅합니다.
- 23:50에 배터리 충전이 충분해야 합니다(절전 모드 아님).
- 23:50에 맥이 완전히 꺼져 있으면 안됩니다.
- Local Server가 항상 켜져 있어야 합니다.