How to retrieve Test Session activity entries via REST API?

I am able to parse the Notes out of calls to the "sessions" APIs, but these do not include the activity entries that show up when viewing the Test Session in a web browser. I want to be able to programmatically retrieve when attachments are added, when the session is started, paused and stopped, etc.

Does anyone have any tips or hints for how to do this? Maybe the data gets returned through a different API and JIRA just puts it together when rendering the page.

Thanks in advance,

Dan

 

1 answer

Using chrome developer tools I can't see any other REST APIs for exposing the activities.

If you are one JIRA Server you could create your own plugin to access Captures internal APIs expose them, but as they are private (JIRA Capture doesn't have a public API)  it will be vulnerable to Atlassian making internal changes.

As an alternative, we've created our own SBTM (Session-based Test Mangement) features within Behave Pro as an alternative to JIRA Capture. All the session data is available via a stable and versioned REST API. The only snag is you would have to use Chrome's developer tool to explore the API as we haven't published the documentation yet.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,314 views 21 17
View question

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