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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
Join discussion

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