Hi everyone,
I am currently having issues when trying to create an "either, or" validator within a Jira workflow.
The setting is as follows: When working on a task, users can report their time spent on sub tasks, which will then be added up within the parent task. This is not a must, as sub-tasks are optional. When doing the final transition, I would like to ensure that times have been reported. Due to the nature of things this can either have happend via the accumulated sub-task times or via a time spent log during the transition itself.
We have tried solving this by using Jira Expression Validators, enabled through the app "Workflow Building Blocks for Jira" (https://marketplace.atlassian.com/apps/1233642?tab=overview&hosting=cloud). The expression we have tried is:
(issue.worklogs != null ) || (issue.timeSpent != null)
Using the normal field value validator is also not working, as checking for both "Time spent" and "∑ Time spent" creates an AND condition.
Maybe someone encountered this issue before and knows a workaround or fix for my Jira expression.