Hi,
I was wondering, is there a way to set the "Consider approval after" value in a Service Desk's Approval workflow configuration based on i.e. the request type by using Scriptrunner?
So if it is request type A, set 5 approvals needed else let it be 10, or All?
hey @Marko Slijepčević ,
i'm afraid that won't be possible as it would require changing your workflow (which is linked to the entire issue type) on the fly.
You might consider looking in to an app to do this such as Group sign-off or Advanced issue acceptance
Just brainstorming here but
otherwise using scriptrunner you might need to build a complex process such as iterating over the same status and using a custom field where you do a count based on the number of status transitions?
Scriptrunner could then help in auto transitioning the issue to the correct status.
I'm afraid I have to give you right on this one
"build a complex process such as iterating over the same status and using a custom field (...)" this seems to be the only way, I hoped to avoid doing something like this since it can become an overkill.
Thanks for your reply!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm still hoping for a day when Jira has a sub-workflow based on a request type where you can define this sub process but sadly not here yet.. (and no idea if it ever will arrive).
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.