Hi,
The questions has been asked years ago and I'm not sure the solution suggested then is still relevant (jelly scripts).
What I'm looking for is this:
1. ISSUE in a project is marked as resolved by developer
2. After a certain period of time, let's say 2 weeks, I want the issue to be moved automatically to ACCEPTED if there was no activity, within the same project
Is there a way to achieve this with JIRA only? Or would I need a plugin for this? OR are Jelly scripts still an option?
Thank you,
Jan
Hello,
You would need a plugin for it. Jelly is not used in the newest versions of Jira.
For example, you could use the Power Scripts plugin.
You could create a job, which would be executed on schedule. This job would select all issues, which are in the Resolved status for more than 14 days, and this issues would be moved to the Accepted status.
https://confluence.cprime.io/display/SIL/Scheduling+routines
Your script would look like this:
string jql;
jql =
"status changed to Resolved before -14d and status = Resolved"
;
string[] keys = selectIssues(jql);
for(string key in keys) {
autotransition("Accepted", key);
}
Hello,
This is not possible natively in JIRA
I don't know about jelly script but for sure the plugin "Automation for JIRA" will do it. A very good plugin.
Romain
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.
Hello @Olivia Quakenbush ,
You should be able to set this up with the 'Scheduled' trigger.
The rule would look something like this:
The way this works is that the trigger will try to find all issues once per day that are currently 'Resolved' and haven't been updated for longer than 14 days. Only the ones matching this search are then moved to closed.
Romain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Romain VELON, one question, the 'Scheduled' trigger, that is not in 'Automation for Jira', this is just in regular Jira?
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.
Hi all,
Thank you for the great suggestions. AFaik we don't have any of these plugins (yet), I'll take a look at the options you suggested and try to get my organisation purchase one.
Have a nice day,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nir Haimov mentioned ScriptRunner; we use that one as well for this purpose (escalation), but it offers so much more. It is truly a worthwhile add-on that I highly recommend you look into.
-Payne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's right
With scriprunner you can do anything you want in Jira
It's the most valuae plugin in the marketplace.
If you think abkut purchasing something, it should be scriprunner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why it should be the only option while there are few on the Marketplace?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just so that you know Script Runner plugin has been around even before any of the current automation plugins did not even existed. I do sincerely appreciate the effort @Jamie Echlin put into this which is and was making every single Atlassian Admin life a lot easier who has more than 3 yrs of exp. Coming back to your question why should someone use only this plugin, Because no other plugin on Marketplace has all (and more) functionality which is equal to this plugin. As @Payne & @Nir Haimov mentioned above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rathna I’m afraid you didn’t get my point at all 🤦🏼♂️ But that’s okay, it would be rather an off-topic to the original post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As @Romain VELON said, this is not possible natively in JIRA
If you have Scriptrunner you can do it from there with "Escalation service"
Let us know what you have so we will better help.
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.