jql to get activity on an issue

I'm trying to figure out this: given the issue key how can you get all the activity on that specific issue using the API.  So far everything I've tried will only give me the current state of the issue . 

 

2 answers

This widget could not be displayed.

There is nothing in the JQL to get the activity of an issue. You will need to get the issue history either via the JIRA REST API (create your own), an add-on (e.g. JIRACLI) or directly from the JIRA DB.

So if you can't use JQL how do you get the activity from the API????

This widget could not be displayed.

You can get the full history of any issue with the SQL for JIRA plugin...

select * 
from issues i inner join issuechanges c on i.id=c.issueid 
where i.key='<your issue key>'

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

203 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you