Jira 이슈와 Github Branch, Commit 연동하기
Jira - Github Branch 연동

원하는 이슈로 가서 “브랜치 만들기” 누르기

- Repository: 자신의 작업 레포지토리
- Branch from: 작업 내용을 복사해올 브랜치
- Branch name: 브랜치 이름 (기본으로 DK-000-BE와 같이 되어있는데 BE는 지우고 브랜치 이름 컨벤션 맞추기)

이렇게 맞추고 “Create branch” 누르기

Github 브랜치 생성 확인

작업 환경으로 가서 git pull 후 checkout으로 브랜치 이동
git pull origin
git checkout DK-000-branch-name
Jira + Github Commit

작업 후 add, commit, push 순서대로 진행
commit 시 자신이 원하는 작업에 대한 이슈 번호를 맨 앞에 추가
git add 작업 파일
git commit -m "DK-000 커밋 컨벤션"
git push origin

jira의 본인 브랜치 이슈로 이동해서 커밋 추가 확인

클릭해보면 다음과 같이 커밋 이력이 발생
Jira + Github Pull Request

Github Pull Reqeusts로 접속 후 작업 브랜치 pr 들어가기
제목은 이슈 번호 + 작업 요약이나 이슈 제목
pr 내용 작성 후 Create Pull Request

Jira에서 이슈로 들어가면 PR 확인 가능

PR의 상태나 업데이트 시간, 작성자와 검토자 확인 가능 확인