I have two requirements needed for requirement review workflows.
Is this possible?
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 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?
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot