Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to get Ticket updates

Vishnu babu June 26, 2023

Hi Team,

i have created a project and i am creating issues using rest api .
Now, i want to get the tickets details having any update
Example: Id: 10071
Current State : In-Progress
Comments : we are working on the issue.
Some time after one hour for the same issue. someone has updated any comment or changed the Current state.

I want those tickets having any update 

Thanks & Regards,
Vishnu

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
June 26, 2023

Hello @Vishnu babu 

Welcome to the Atlassian community.

With the Advanced Issue Search screen you can search for issues that have been updated since a specified date/time.

You can add the Updated Date field to your query.

Screen Shot 2023-06-26 at 10.32.31 AM.png

 

And then set the criteria:

Screen Shot 2023-06-26 at 10.33.32 AM.png

 

If you want to automate that you can save the filter and set up a subscription to run the filter and send the results to you as often as you wish.

Refer to this page for links on more information about emailing filter results on a schedule.

https://support.atlassian.com/jira-software-cloud/docs/save-your-search-as-a-filter/

Vishnu babu June 26, 2023

Hello @Trudy Claspill ,

Thanks for the update .
Is there any other alternate option. Because the criteria could not be same for every time.
I am trying to Get updates through api.
Could you Please provide any documentation related to Getting ticket updates through api.


Thanks,

Vishnu 

Trudy Claspill
Community Champion
June 26, 2023

Hello @Vishnu babu 

Please explain what you mean by "the criteria could not be the same for every time."

You can use this API endpoint to search for issues using JQL. If you can formulate your criteria in a JQL statement, you can use that with this endpoint.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get

Trudy Claspill
Community Champion
June 26, 2023

It seems like you might have asked this same question in another post.

https://community.atlassian.com/t5/Jira-questions/i-have-to-get-all-the-tickets-updates-using-rest-api/qaq-p/2400025

You don't need to create multiple posts for the same question.

Vishnu babu June 27, 2023

Hi @Trudy Claspill 
Could you please provide the api methods to get the  tickets which are having an update within the last one hour.

Thanks,

Vishnu

Trudy Claspill
Community Champion
June 27, 2023

@Vishnu babu 

I have already provided that information.

Use the Advanced Search Screen to construct the JQL for getting issues updated in the past hour.

Take that JQL and use it with the API endpoint I provided.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events