I need assistance with a custom script for the following condition:
-automatically re-open a specific ticket 'Test-1' for the 'TEST' project every 1st of each month;
-the ticket has to transition from 'Closed' status to 'Pending BA' status every 1st of each month;
-this has to only apply to that one specific ticket.
I already have the periodicity covered by using a new service on the groovy class. However, I am clueless about writing the script to achieve the rest.
Any help with the script would be greatly appreciated. Thanks.