Does JIRA has the Functionality to automatically change the Status (Transition) of an Issue based on Post-Functions. I am aware, we can change the Resolution of Issues, but it does not allow to Change the Status of an issue.
Alternatively, is there any plugin which helps in changing the status of an issue; if not a post-function.
I suspect this question is actually one about automation. This crops up irregularly because it's not obvious that Status (of an issue) is NOT a field, it is an indicator of position in the workflow.
Developers keep adding post-functions to Jira that say "in this case, change the status", without understanding that the point of a transition is to move from state A to state B and that post-functions run inside a transition, so subverting the transition end-point from the inside is asking for trouble.
Gaurav is steps ahead of most here, stating "cannot change status in transition". Technically, you can, but I've yet to see stable working code that does it (and I've spent a lot of time cleaning up the horrid messes made when people try it). So I think the answer here is either
Or
I'd like to have a rule along the lines of "If status has been 'Awiting Client' for 30 days or more then close". Can this be automated?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup. Set up the workflow as above, then write a filter that says "status = awaiting client and updated < -30d", then use a jelly escalation script to trigger the close transition.
See https://confluence.atlassian.com/display/JIRA/Jelly+Escalation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic - I've not yet tried Jelly scripts, but perhaps this is what will tip me over the edge.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it is time now to update this info as Jelly script is becoming obsolete for the JIRA latest versions and the support for the earlier Jelly Scripts is going to be stopped as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jelly was removed a version ago, let alone 7. But we don't update answers - they're answers to questions, not documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's an app called "Automation for Jira" that can do similar things to the Jelly scripts: https://marketplace.atlassian.com/apps/1215460/automation-for-jira?hosting=server&tab=overview
It's also accessible to the project admins with a very user-friendly interface. That may be a double-edged sword, however.
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 gaurav,
a transition moves the issue to a different "status"
i wonder what the backgroud of your question is about...
https://confluence.atlassian.com/display/JIRA/Configuring+Workflow
i.e.
Step A (Status=Open): possible transitions are
of course postfuctions can update issue fields too
what exactly do you mean?
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.