Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Link PR to Jira issue by just pasting url in comment field #1106

Open

Description

@dirkdk

when I create a Github PR, I want to link to Jira tickets, just the url. The comment field lets me create the markdown code for creating a link with a title, but it would be great if this would happen automatically.

Facebook does this when I post a link in a Facebook status update, would be great if

Prerequisite: users is logged in to Jira

  • Step 1: user opens pull request creation form
  • Step 2: user pastes URL to jira in comment field
  • Step 3: Github web site requests page, gets title and converts url into markdown code in the format of (title)[url]
  • Step 4: user creates pull request

Activity

  1. alecbz commented on Oct 27, 2017

    @alecbz

    IIUC, what you're asking for is for GitHub to display markdown like

    https://foo.atlassian.net/browse/ABC-123

    as if what was written was:

    [Some Issue](https://foo.atlassian.net/browse/ABC-123)

    ?

  2. tetienne commented on Oct 29, 2019

    @tetienne
  3. sm-paul-schuette commented on Nov 25, 2019

    @sm-paul-schuette

    This issue seems to be solved: https://help.github.com/en/github/administering-a-repository/configuring-autolinks-to-reference-external-resources

    This how we solved it. You just write the ISSUE_KEY anywhere in markdown inside the project/repository and github will render a link to the jira-issue. Very convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions