Hi,
I have two requirements needed for requirement review workflows.
Is this possible?
Many Thanks,
Chris
To meet your requirements you need to have a scripting plugin such as ScriptRunner to be able to make these changes. Using ScriptRunner this is how you would approach your two requirements.
Have a self-reflecting workflow action that checks a custom field for approvers and allows (a restricted set of) users to approve. This workflow action would have a condition to check that there are < 2 approvals recorded.
The second transition would be available to progress with the condition.
Count users in custom field >1 OR management role
This then allows your management overrule to take place. See https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_simple_scripted_condition for how to include more complex scripted conditions than those provided by JIRA as default.
To achieve this with ScriptRunner you would have a scheduled process which would look at all issues in "In Review" and the duration that they have been in there. Once they go past 24 hours it would automatically transition to "Review Complete". This is called an escalation service and is described here - https://scriptrunner.adaptavist.com/latest/jira/escalation-service.html
Hi Phil, Thanks so much for answering! Very helpful information! Will I struggle to implement this with scriptrunner if I dont have any coding experience? Is what you suggested possible with any of the available plugins for JIRA? Thanks, Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris I do not have JIRA Workflow Toolbox installed and a quick look at the documentation is showing lots of weird links.... But in principle it looks like you should be able to do the first requirement. So Condition can be based on regular expression or a mathematical check if you are just incrementing approvals which is all present. The post-function exists to increment approvals by 1 so that is possible. However I am not seeing any part that would provide you with an automated transition but maybe I am missing something here?
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.