Hello! I want to have a read-only calculated date field in my workflow. Is it possible to write a script for this to base the date on when a user transitions an issue? To give some context, I have a calculated field in the post-function of one of my transitions, and I want this calculated field to have an expiration date (120 days in the future) on when it will no longer be valid.
I am pretty new to scripting, so assistance on how to write this would be appreciated!
The groovy expression new Date() + 120 will give you what you seek. We have implemented something like this with the JMWE "Set Field Value" post function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.