Can I link a Github Pull request to a Jira Issue through rest api ?

Tomas Caraccia January 7, 2022

Currently our commits include the Jira Issue Id (PA-1001) in Github pull requests commits, but they are not showing up in the development section in our issues.

 

We have developed a github action to update the PRs with the Issue KEY

PA-1001 - My PR title

And still we don't get the development tab updated with the PR.

 

Is the a way via rest api to to link a PR with an issue ? If so, is there any documentation about it ? 

1 answer

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2022

Hi @Tomas Caraccia 

Welcome to the Community!!

Have you followed this procedure?

https://support.atlassian.com/jira-cloud-administration/docs/integrate-with-github

You need to install Apps on both sides of the Application

From Jira

https://marketplace.atlassian.com/apps/1219592/github-for-jira?tab=overview&hosting=cloud

From GitHub

https://github.com/marketplace/jira-software-github

Once you are done with that, initiate a connection with an account and select the repositories.

The status should come up like this

3.png

Once you are through this, you should be good!!

If you are looking for Smart Commits, you need to integrate it through DVCS Accounts

Let me know if you are not able to see commits as well

Thanks,
Pramodh

Suggest an answer

Log in or Sign up to answer