How do I connect github to JIRA?

前端 未结 9 2210
既然无缘
既然无缘 2020-12-07 22:27

I\'ve been trying to find a way to update JIRA when I commit to github.

It doesn\'t look like there are any service hooks to do it at github, but you never know, som

相关标签:
9条回答
  • 2020-12-07 22:56

    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.

    0 讨论(0)
  • 2020-12-07 23:00

    In addition you can also define Webhooks on the GitHub site that do a POST-Request to other Webservers. Have a look here: https://developer.github.com/webhooks/

    On the JIRA site, you have the Jira REST APIs with which you can edit or update or create or do pretty much anything with your Jira issues: https://developer.atlassian.com/display/JIRADEV/JIRA+REST+APIs

    0 讨论(0)
  • 2020-12-07 23:00

    I have made a small Chrome plugin recently which will edit GitHubs PR pages to show information on the linked Atlassian tickets.

    It will require a PR title format of [ISSUE-9485] Some description but works pretty cool, if you ask me.

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

    Source code is here: https://github.com/RobQuistNL/chrome-github-jira

    Screenshot:

    EDIT: It will also automatically create a "template" for your pull request, based on content / description of the ticket.

    E.g. it will take items under the header "Acceptance Criteria" and post it as a checkable list, adds some description, a how to test, etc.

    0 讨论(0)
  • 2020-12-07 23:03

    UPDATE

    For integrating with Bitbucket, GitHub and GitHub Enterprise, check out the following link:

    Linking Bitbucket and GitHub accounts to JIRA

    ORIGINAL POST

    JIRA GitHub Connector is deprecated:

    This plugin has been superseded by the JIRA DVCS Connector, which includes GitHub functionality.

    So to connect Jira to github use JIRA DVCS Connector for Bitbucket and GitHub:

    You can connect Bitbucket or GitHub accounts with JIRA using the free JIRA DVCS Connector plugin. This plugin comes with JIRA OnDemand. For JIRA download users, this is a system plugin that you can install. Using the DVCS connector, you can:

    • Link all or a subset of your existing repositories (both public and private to JIRA).
    • Create new repositories and have them link automatically to JIRA.
    • Reference JIRA issues from DVCS commit message and have those commits appear in the issue's Commits tab in JIRA.
    • Transition issues through a JIRA OnDemand workflow (for example, Close, Reopen, and so forth) using smart commit messages.

    check out Using the JIRA DVCS Connector Plugin for more information.

    0 讨论(0)
  • 2020-12-07 23:10

    I just experienced the same issue and found the answers and the official reference web maybe need to be more specific for Github enterprise version. If you are using the enterprise Github, you should:

    1) Register the application under the enterprise's settings, not under the user's.

    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.

    0 讨论(0)
  • 2020-12-07 23:10

    Check out this plugin https://marketplace.atlassian.com/apps/1220080/smart-git-integration-for-jira Smart Git intagration for Jira add-on allows to connect your Jira project to Git with repository URL in a few clicks.

    0 讨论(0)
提交回复
热议问题