How to access the historic change of a custom field using GIRA

Paul Fournier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2024

Hi,

We are using Gira (/rest/gira/1/) to query HistoryItem, CommentItem, HiddenCommentItem, WorklogItem and IncidentItem.
How can we get the historic change of a specific custom field by modifying the query?

Thanks,

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 5, 2024

Hello @Paul Fournier 

Welcome to the Atlassian community.

The product name is actually Jira with a "J", not Gira with a "G".

Can you provide a link to the online documentation you are using the /rest/gira/1/ ? Given that "gira" is not the name of the product it is unclear where you are getting your information.

The documentation for the REST API provided by Atlassian for the Jira Cloud product can be found here:

https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#about

Additional information is available here for APIs related specifically to Jira Software Cloud functionality.

https://developer.atlassian.com/cloud/jira/software/rest/intro/#introduction

 

Paul Fournier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2024

Hi @Trudy Claspill 

I'm speaking of Gira with a "G" here which was (apparently) the name of graphql-api service of Jira.
And I can assure you this endpoint exist as we are querying it for our domain.
(https://community.developer.atlassian.com/t/how-do-i-authenticate-against-the-graphql-api/55505,
https://community.developer.atlassian.com/t/how-to-implement-a-middleware-in-atlassian-forge-for-intercepting-a-request-made-to-jira-cloud/63460)
Unfortunately I'm not able to find the original documentation.

Anyways, I solved my issue by using the fieldId in the historyItem.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 8, 2024

Thank you for the clarification @Paul Fournier . I had not heard of graphql previously.

I'm glad you found the solution for your question.

Suggest an answer

Log in or Sign up to answer