We are using Jira Service Desk Cloud.
Is it possible to OR validators on a transition in a workflow? I see that you can do something like that with conditions on a transition using grouped conditions, but there doesn't seem to be something similar for validators.
The problem I am facing is that we are having trouble with agents who don't log work time when they work through an issue. With our setup, we have two places where agents can log work time, either using the log work functionality on the issue details screen or in a Time Spent field on our Close Issue screen. I would like to set validators so that they can't close an issue unless the sum of the work time logged for the issue is greater than zero OR a value has been entered into the Time Spent field on the Close Issue screen.
I've tried putting these two validators on our workflow transition from In Progress to Closed, but they are ANDED, so to close an issue the agents would need to both log work using the functionality on the issue detail screen AND enter a value in the Time Spent field on our Close Issue screen. That's not what we want. We want OR not AND.
If we can't OR workflow transition validators, is there another way to achieve what we want?
Yes I know that we can reopen issues and correct the work logs and we can fire agents who forget to log work time, but these aren't good long term solutions.
This is convoluted, but one thing you could do is set two transitions between in progress and closed using the Value Field condition, using the "Number" comparison type. If you set the conditions properly, only one of the two should ever be allowed to execute, the user would not have to pick between the two.
Then set the appropriate validators for each transition.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs