The CreatorCon Call for Content is officially open! Get started here.

Is it feasible to close PROBLEM while auto closing PTASK

Vijaykumar K
Tera Contributor

Hi all,

 

I have a schedule job to run and close all PTASK if there is no update more than 30 days and it's working. My request is, is it possible to close associated PROBLEM ticket while closing PTASK.

I have tested reverse chronological I.e auto close PTASK while closing PROBLEM and it's working . But client requirements is reverse   functionality, auto close associated PROBLEM while auto closing PTASK. ? Pls confirm if we can do this?

 

Many Thanks 

5 REPLIES 5

Hello @Aman Kumar S , my requirement is . If PTASK priority is P1 or P2 and current state is Asses and last updated more than 15 days ago, need to auto close with state code Cancelled, while doing so, the associated Problem ticket also need to close. Pls help me what are the changes required the script which I'm currently using. Sorry, I'm unable understand the sample script what you have shared. 

 

Pls note , only one PTASK tagged to one PROBLEM only.

 

Thank you