Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

REST API to get JIRA issue created from Bitbucket pull-request comment?

What I need to do is retrieve the JIRA issue created via the "Create issue" option in a pull request's comment  


This seems to be related to Bitbucket / JIRA integration.

I saw an almost similar post but it wasn't quite the same:  (it is retrieving the issues for which commits were made).  It seems to use this API.

I would expect to need to pass the comment ID to an API and get it somehow but can't find the option.  An option to create the issue is here with a POST.  I expected a related GET.

Thank you.  Hopefully you can point me to what I missed.

1 answer

1 accepted

0 votes
Answer accepted
Maciej Adamczak
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 10, 2021

Hi @Barry Robertson 

You should be able to request the Pull Request comment using the "/comments" resource by using the comment ID .e.g:


The response will contain the "properties" map with the "issues" key, e.g.:

"properties": {
"repositoryId": 1234,
"issues": ["JIRAKEY-123"]
// The rest of the response

The "issues" field might be undefined if there are no Jira issues created for the comment:

"properties": {
"repositoryId": 1234,

// The rest of the response

Link to docs for "comments" resource:

Please be aware that the documentation page doesn't reference the "issues" field.


Maciej Adamczak
Atlassian Developer

Like Maciej Adamczak likes this

@Maciej Adamczak , would you happen to know the corresponding answer for Crucible?  I have the Bitbucket one working per your suggestion but now need to address Crucible reviews.  I saw this issue but a suggested workaround there wasn't quite the answer I need.   Thanks again for the pointer on Bitbucket..

Maciej Adamczak
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 12, 2021

Sorry, but I don't know how that works in Crucible.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events