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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

How to clone test cycle after test cycle was finished?

Hi all,

we're using Test Management 4 Jira at our company, and I'm trying to create a ScriptRunner listener that clones the actual test cycle (with all test cases in it) with a new name once the test cycle was finished. Apparently I should be able to do it with the TM4J API however I'm new to ScriptRunner and I'm not quite sure how to a) make an API call from within a listener & in groovy, b) what service(s) to use to clone a test cycle.

Any help is appreciated, thanks!

1 answer

0 votes
Katy Kelly
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 25, 2020


We recommend looking at our documentation links on how to do this:

You must have, at minimum, TM4J Server version 6.8 and ScriptRunner version installed to use the TM4J events/integration.

Kind regards,

Katy Adaptavist Product Support 

Hi Katy,

thank you for the links, however, I've read all of these documentations and my main problem is that I have no idea what services, objects, methods, etc. to use when writing scripts for TM4J. I've seen in the samples that there's stuff like TestCycleService and others, but how am I supposed to know this exists? Is there a full list of all services/etc. available for this plugin or am I supposed to just figure it out on my own? 



Apologies, we do have documentation for TM4J's Java API, this can be found here:

We will be looking to add a link to this to our documentation ASAP. 

Does this help? Is there anything else I can help you with?

Kind regards, 


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events