Fisheye checkin information in JASON output?

Hello,

Based on JASON output is there a way to determine if an issue has a check-in? I can get the JASON output for a given issue with the help of below URL: but there is no info related to "source tab".

https://myjira.com/rest/api/2/search?jql=(id%3D<issue-key>)

Cheers,

Jo

1 answer

0 vote

Hello Hanumesh,

This would actually be a query against FishEye, and the REST API call mentioned in the documentation below worked for me:

https://docs.atlassian.com/fisheye-crucible/latest/wadl/fisheye.html#rest-service-fe:search-v1:query:repository

My URL was:

http://localhost:8060/rest-service-fe/search-v1/query/SVN?query=select%20revisions%20from%20dir%20%22/%22%20where%20comment%20matches%20%22JRA-1%22

Where:

  • SVN was my repository name
  • Query parameter was: select revisions from dir "/" where comment matches "JRA-1"
    (The browser converts spaces into %20 and double quotes into %22 after hitting Enter)

The query above returned all revisions/commits/changesets that have the JIRA issue key JRA-1 mentioned in their commit message.

The Source Tab of a JIRA issue also searches in FishEye side for commits whose commit messages mention JIRA issue keys in order to list them, so the query above should work for you.

I hope this helps!

Kind regards,
Felipe Kraemer
Atlassian Support

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

13 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you