JSS Script to increment due date by x days?

  • hasbrand
Posted: Mon, 03/18/2013 - 21:31

Has anyone written a simple JSS script that will increment the due date by x days on ticket create? If so, would you be willing to share?

I have looked all over and have found lots of people that are looking for this functionality, but no one has really got it down. I cannot get my own script to work correctly as manipulating datetime has turned out to be miserably tricksy, and I am pretty new at this.

In case Alexander sees this, it would be a big win to put in the Post Script section of the wiki for JSS (https://studio.plugins.atlassian.com/wiki/display/JSS/Scripting+Samples#...).

Any help would be appreciated.

Thanks,
Heidi