code

github를 JIRA에 어떻게 연결합니까?

codestyles 2020. 12. 9. 08:12
반응형

github를 JIRA에 어떻게 연결합니까?


github에 커밋 할 때 JIRA를 업데이트하는 방법을 찾으려고했습니다.

github에서 할 수있는 서비스 훅이없는 것 같지만, 누군가가 닌자 방식을 가지고 있을지도 모르기 때문에 물어볼 것이라고 생각했습니다.


최신 정보

Bitbucket, GitHub 및 GitHub Enterprise와 통합하려면 다음 링크를 확인하세요.

Bitbucket 및 GitHub 계정을 JIRA에 연결

원래 포스트

JIRA GitHub 커넥터 는 더 이상 사용되지 않습니다.

이 플러그인은 GitHub 기능을 포함하는 JIRA DVCS Connector로 대체되었습니다.

따라서 Jira를 github에 연결하려면 Bitbucket 및 GitHub 용 JIRA DVCS 커넥터를 사용하십시오 .

무료 JIRA DVCS Connector 플러그인을 사용하여 Bitbucket 또는 GitHub 계정을 JIRA와 연결할 수 있습니다. 이 플러그인은 JIRA OnDemand와 함께 제공됩니다. JIRA 다운로드 사용자의 경우 설치할 수있는 시스템 플러그인입니다. DVCS 커넥터를 사용하여 다음을 수행 할 수 있습니다.

  • 기존 리포지토리의 전부 또는 일부를 링크합니다 (공개 및 비공개 모두 JIRA에).
  • 새 저장소를 생성하고 자동으로 JIRA에 연결합니다.
  • DVCS 커밋 메시지에서 JIRA 이슈를 참조하고 해당 커밋이 JIRA에있는 이슈의 커밋 탭에 나타나도록합니다.
  • 스마트 커밋 메시지를 사용하여 JIRA OnDemand 워크 플로우 (예 : Close, Reopen 등)를 통한 전환 문제.

체크 아웃 JIRA의 DVCS 커넥터 플러그인을 사용하여 자세한 내용은.


Atlassian에는 GitHub에 두 가지를 연결하는 플러그인이 있습니다.

https://github.com/atlassian/jira-github-connector-plugin

GitHub 프로젝트를 가리키는 프로젝트 설정과 GitHub에서 커밋을 표시하는 탭을 추가 한 것 같습니다.


또한 다른 웹 서버에 POST 요청을 수행하는 GitHub 사이트에서 웹훅을 정의 할 수도 있습니다. 여기를보세요 : https://developer.github.com/webhooks/

JIRA 사이트에는 Jira 문제를 편집, 업데이트 또는 생성하거나 거의 모든 작업을 수행 할 수있는 Jira REST API가 있습니다. https://developer.atlassian.com/display/JIRADEV/JIRA+REST+APIs


최근에 링크 된 Atlassian 티켓에 대한 정보를 표시하도록 GitHubs PR 페이지를 편집 할 작은 Chrome 플러그인을 만들었습니다.

PR 타이틀 형식이 필요 [ISSUE-9485] Some description하지만 제게 물어 보면 꽤 멋지게 작동합니다.

https://chrome.google.com/webstore/detail/github-jira-integration/faenbbkpfnklhncjianlfllkfekgghih

소스 코드 : https://github.com/RobQuistNL/chrome-github-jira

스크린 샷 : 스크린 샷

편집 : 또한 티켓의 내용 / 설명에 따라 풀 요청에 대한 "템플릿"을 자동으로 생성합니다.

예를 들어 "Acceptance Criteria"헤더 아래의 항목을 확인 가능한 목록으로 게시하고 몇 가지 설명, 테스트 방법 등을 추가합니다.


방금 동일한 문제를 경험했으며 답변과 공식 참조 웹이 Github 엔터프라이즈 버전에 대해 더 구체적이어야 할 수도 있음을 발견했습니다. 엔터프라이즈 Github를 사용하는 경우 다음을 수행해야합니다.

1) 사용자가 아닌 기업의 설정에서 애플리케이션을 등록합니다.

2) Suppose your JIRA site as http://myjira.com/jira which you can access your JIRA main page, then the Homapage URL and the Authorization callback URL should be the same as your JIRA site URL.

3) When add new account in JIRA, the Host field shoud be GitHub Enterprise, the Team or User Account should be the enterprise's name which can be found under the organization profile in Github.

4) The Host URL should be Github main page.

Then I think it should work for enterprise when connect the JIRA and github.


If you visiting this page in 2016, and using Cloud JIRA, it is find here-

Application>>Integrations>>DVCS Accounts, instead of under Add Ons as mentioned in blog posts being thrown up by Google.


GitHub에서 JIRA로 데이터 를 가져 오는 방법을Project 찾고있는 분들은 다음 링크로 이동해야합니다 : https://confluence.atlassian.com/adminjiraserver071/importing-data-from-github-802592903.html

이를 수행하는 방법에 대한 부서 지침을 제공합니다. 모든 것을 가져 와서 버그에 버그를 매핑하는 등의 작업을 수행 할 수있었습니다. 완료된 작업도 들어 왔습니다.

링크가 언젠가 작동하지 않기로 결정한 경우 다음은 내가 인정하지 않는 요약입니다.

 1. Log in to JIRA as a user with the JIRA Administrators global permission.

 2. Choose  > System. Select Import & Export > External System Import to open the List item Import external projects page. 

 3. Select the Import button associated with the GitHub option to open the GitHub Import Wizard.

 4. On the GitHub Setup page, select which type of GitHub you are using. If you are using GitHub Enterprise you will also be required to provide your GitHub Enterprise URL. You also need to provide either your GitHub username and password, or a GitHub Personal Access Token. Note if you have used the GitHub import wizard before and saved a previous configuration file, you can select the configuration file here to speed up your import.

 5. Click Next.
  Have 2 factor authentication? Click here..
 The Authentication page displays, verifying your authentication has been successful. 

 6. Click Next. The Map projects page displays, and will show a list of all your public and private repositories, as well as any repositories you have starred.

그런 다음 추가 할 프로젝트를 선택하기 만하면 나머지는 쉽습니다. 이게 도움이 되길 바란다.

참고 URL : https://stackoverflow.com/questions/5421647/how-do-i-connect-github-to-jira

반응형