I have an issue that allows a user to select a person then a date and time, where the date and time is when they are going to leave the company. I need an automate way to take that issue and transition it to another status at that exact time. I do have script runner installed. I have tried a few things but everything seems to be tied to some kind of event rather than a date and time.
Hi Hunter,
I see you used the scriptrunner tag, so I take it that means you have that add-on installed. If so, you can use their "Escalation Service" built in script. With it, you can schedule a script to run at regular intervals and take action (such as transitioning) on issues that match a JQL condition. Here is one that we use to close issues that have been in the "In Production" status and not updated for 45 days. You could do something similar and use JQL such as "departure > -1h" (indicating the departure date/time is within the past hour) and then run it hourly.
Hi Hunter,
I just recently released a new add-on called Hyperion Scripting for JIRA. It has the feature you are looking for in form of a Scheduled Job. Though I don't have the exact script at hand right now that does exactly what you need. But as it is designed to be user friendly and comes with examples, it might be useful for you, especially if you need to deliver additional automations in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.