Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adaptavist api for test run creation for huge no.of test cases

The create run api /testrun times out with more number of test cases, say above 300-400.
From official documentation kanoah, I dont find pagination params for create testrun nor the PUT call for creating test run so that I can add test cases to a single run in batches.
Please help me with
creating testrun for 500+ test cases.
Thanks in advance.

1 answer

0 votes

I'd recommend you ask them directly from their JSD portal:

From what I can tell, I think you are right that the public API is lacking a PUT option to just add test cases.

But if you feel adventurous (and the fine adaptavist folks may not like what I'm about to tell you), you can examine the calls made by your browsers when you add test cases to an existing test run. You will see that it's possible to PUT to /rest/tests/1.0/testrunitem/bulk/save.


  • /rest/tests/1.0 instead of /rest/atm/1.0 - that's their non-public api
  • testrunitem/bulk/save is for changing the test run traceability data

The payload looked like this when I added 2 test to a run that already had 2:


I suspect you can omit the updatedTestRunItemsIndexes if you add your new test cases with new index numbers (rather than at the top like this did).

This non-public API, in my experience, can be used with that same authentication as the public one.

Of course, they are not guaranteed to be consistent from version to version since they are designed to be used internally by the app. So if you have problems with it, then Adaptavist support may not be willing to help you.

Thank you so much Peter ... Will try the JSD portal ...

yes, have tried inspect, found the same one as you have mentioned... when I have tried adding to existing RUN, it was adding only one test case though my pay load was more than one... I couldn't continue on this since it was non-public api and as you too mentioned, there wont be support if they deprecate it later in future...

will try my luck with JSD portal :-) ..

Thanks once again



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

90 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you