티스토리 뷰

정보

GITHUB JIRA 연동 미세팁 AutoLink

나를찾는아이 2024. 7. 25. 17:01
728x90
반응형

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-autolinks-to-reference-external-resources

 

Configuring autolinks to reference external resources - GitHub Docs

Anyone with admin permissions to a repository can configure autolink references to link issues, pull requests, commit messages, and release descriptions to external third-party services. Autolink references can now accept alphanumeric characters. When orig

docs.github.com

 

 

 

github 레포지토리 setting 메뉴에 들어가면

 

사이드바에 Autolink references 라는 메뉴가 있는것을 볼수 있습니다

 

 

이슈, PR, 커밋에 특정 패턴의 텍스트가 있는경우 자동으로 링크를 걸어주는 기능입니다

 

샘플을 볼까요

 

Reference prefix: JIRA-
Target URL: https://jira.example.com/issue?query=<num>
Preview: JIRA-123 is converted to https://jira.example.com/issue?query=123

 

 

예를 들어 prefix에 JIRA- 이렇게 작성하시고

그리고 autolink가 연결될 URL을 작성합니다

 

이후에 이슈, PR, 커밋에 이 패턴의 텍스트가 발견되면 자동적으로 변환된 URL이 링크가 됩니다

 

 

번거롭게 마크다운으로 링크를 걸 필요가 없습니다

 

728x90
반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/10   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함