JQL Query Return The Issue History for a Given Issue

Chris Mazzochi December 22, 2017

I am trying something like this to get the history of a given issue: 

https://upvate.atlassian.net/rest/api/2/search?jql=project="UC-3142" and issuehistory()

Error was expecting an operator.  What would the correct query look like?

Thanks,

Chris Mazzochi

1 answer

1 accepted

0 votes
Answer accepted
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 22, 2017
Chris Mazzochi December 22, 2017

Beautiful.  
Thank you kindly. 
CM

Chris Mazzochi December 27, 2017

Kian what about getting the change log for all issues within a project?

The following query doesn't return the change log...

https://upvate.atlassian.net/rest/api/2/project/UC?expand=changelog

Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 27, 2017

Is this still from Kipfolio? There isn't an end point for just listing changes made to tickets within a project, but you can search for tickets within a project and expand the changelog still. 

 

https://upvate.atlassian.net/rest/api/2/search?jql=project%3DUC&maxResults=100&expand=changelog

This will give you up to 100 tickets within project UC and expand the changelog for each issue.

Like Vansh Sharma likes this
Safaa OUM November 8, 2019

@Kian Stack Mumo Systems 

It works with : 

URLticket = URLJIra & "rest/api/latest/issue/" & projectName & "?xpand=changelog&fields="""

But not with  :

URLticket = URLJIra & "rest/api/2/search?jql=project=" & NumProjet & "&maxResults=100&expand=changelog"

Any thoughts ? how can I make it work using "jql" ?

jophc April 3, 2020

Hi @Kian Stack Mumo Systems 

The first link you provided on Dec 22, 2017 is no longer available.

Do you perhaps have another link for this of JQL query to return the issue history?

Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2020

For the JQL? Or for a rest end point to return issue history?

Thanks,

Kian

jophc April 6, 2020

Thanks for the quick response, Kian.

Since I'm new to JIRA and not a person with IT background, I'm not sure how to answer your question.
However, what I would like to see, for reporting purposes, would be a table in where I could find for each row the history changes. So, for the same issue key, we would have several rows, each row containing data for the columns "Field changed", "Original Value", "New Value" and "Change Date".

Is this somehow possible?

Navarambh Software - Gmail
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.
April 6, 2020

Hi,

This is possible with our app: AIO Reports and Timesheets for Jira

https://marketplace.atlassian.com/apps/1212942/aio-reports-and-timesheets-for-jira?hosting=cloud&tab=overview

Documentation link:

https://aioreports.atlassian.net/wiki/spaces/ART/overview

 A sample screenshot is included below. 

 

Screenshot 2020-04-06 at 6.16.44 PM.png

For any questions or issues, please email us at support@aioreports.com

Regards

AIO Support

Suggest an answer

Log in or Sign up to answer