Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

jql function for finding issues which has code commits

francis
Atlassian Partner
January 12, 2012

Is there somewhere a plugin which allows us to query for all issues which has code commit associated to it ?

Francis

8 answers

0 votes
Shadd Schutte July 15, 2020

You can find the functions to use for multiple ways of looking at commits, builds, etc... from thsi page.

 

https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-development-fields-reference-973491363.html 

 

Hope this helps

0 votes
Pablo Beltran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2013

Subversion ALM does the job:

https://marketplace.atlassian.com/plugins/com.kintosoft.jira.subversion-plus

even you can get issues with more that one, two, three or any amount of commits.

Andreas Wente October 30, 2013

Look not bad, but we already use FishEye.

Pablo Beltran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2013

I don't see any problem in that. They are different products. Simply, you have requirement/need and Subversion Plus resolves it in a fashinon way. Not only this, it really answer any question requiring mixing JIRA (project, status, priority, ...) with Subversion (commit date or number, author, comment, file or directory,..) attributes. Furthermore, other stuff features like browsing on Subversion, etc.

Not conviced? Then wait for the coming 6 version ;)

Pablo Beltran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2013

Version six, I meant.

Pablo Beltran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2013

Hi again,

it is free:

https://marketplace.atlassian.com/1211642

and now the commit graphs have also been improved to display JIRA issues. I would say there is not any tool (including desktop tools) able to provide such traceability.

0 votes
Andreas Wente October 30, 2013

I'm just experimenting with the script runner plugin. Does anybody has a clue how the script for get last commit id could look like?

0 votes
francis
Atlassian Partner
January 12, 2012

scripted custom fields :-)

That sounds as a neat idea - looking forward to give it a go.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2012

Could be done with my not-yet-released scripted custom fields maybe. The result from that can be stored in the index as a string (changelog comment) or int (changeset id), which would make it queryable.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2012

Hi Francis. Well, in the svn plugin code there are methods for getting issues with commits for particular projects, so I'd look at making that into jql functions. With fisheye I don't think it's possible as AFAIK nothing is stored in the lucene index, so this sort of query really needs to be made from fisheye. Everything with fisheye is "ondemand", ie, when you look at the source issue tab panel, a rest query is made to fisheye. Maybe you could write a jql function that uses the rest api, but i imagine this would be slow.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2012

How are you integrating with the VCS... eg if using the jira-subversion plugin it feasible, as the commits are indexed. But if using fisheye I doubt it is possible.

0 votes
francis
Atlassian Partner
January 12, 2012

Hi Jamie,

It's through fisheye.
How would you do it if you have subversion plugin installed ?

Francis

Suggest an answer

Log in or Sign up to answer