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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,733
Community Members
 
Community Events
177
Community Groups

i need help in accessing activity data inside a jira ticket, i want to access it using rest api

I have a requirement to get the activity data inside a jira SD ticket but i am unable to find a rest api using which i can access the data, i need help in finding the rest api through which i can access activity data of a jira sd ticket

2 answers

0 votes
Florian Bonniec Community Leader Dec 18, 2022

Hi @Suryansh Tiwari 

You can use the get issue endpoint with expand parameter, this will allow you to expand, changelog.

https://docs.atlassian.com/software/jira/docs/api/REST/9.3.2/#api/2/issue-getIssue

Something like

{jira_baseURL}/rest/api/2/issue/{issueIdOrKey}?expand=changelog

Regards

Hi @Florian Bonniec thanks for the reply.

I checked the change log also but it does not gives me data which comes in the activity tag of a JIRA ticket. Maybe i was unable to phrase my requirement correctly.

When i did the inspect element, the activity tab calls

Request URL:

https://{jira_base_url}/browse/{issue_key}?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab&_=1671250392710
i want to access this data using Jira Rest API.
0 votes

Hi @Suryansh Tiwari ,

welcome to the Atlassian community!

You can retrieve issue history through the following rest api https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-changelog-get

Hope this helps,

Fabio

Hi @Fabio Racobaldo _Herzum_  thanks for the reply.

I checked the change log also but it does not gives me data which comes in the activity tag of a JIRA ticket. Maybe i was unable to phrase my requirement correctly.

When i did the inspect element, the activity tab calls

Request URL:

https://{jira_base_url}/browse/{issue_key}?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab&_=1671250392710
i want to access this data using Jira Rest API.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events