Is there a way in Jira JQL or REST APIs to find commit details?

DND November 20, 2019

We have integrated Fisheye to Jira to view perforce commits in Jira ID. 

For example, if i made a commit to perforce for Jira key - TEST-1234, the commit details like branch name, commiter, date etc. is displayed in the Jira ID. 

 

I am looking for a JQL to find all Jira IDs committed to a certain branch. Is there a way to get this info from JQL?

 

I am happy to provide more details if needed.

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2019

Hi @DND,

Welcome to Atlassian Community.

The only development reference available for JQL are these four:

development[pullrequests].all (or .open)
development[commits].all
development[reviews].all (or .open)
development[builds].failing

DND November 20, 2019

Thank you for your response.

Is there any REST APIs that I can leverage to get commit details from Jira or Fisheye?

We are using Fisheye to integrate perforce and Jira.

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 21, 2019

You can find the REST API for Fisheye here, https://developer.atlassian.com/server/fisheye-crucible/rest-api-guide/. I took a quick look and it looks like the changeset could get you the information you are looking for, it has an option for Perforce.

Suggest an answer

Log in or Sign up to answer