Fisheye checkin information in JASON output?

Hanumesh Jojode April 27, 2014

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 votes
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2014

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