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 votes

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,508 views 15 20
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