Problem with Validators for Σ Time Tracking fields

Description

Greetings,

Problem Brief: In workflow transition, both Conditions and Validators about ∑ Original Estimate does not work as expected. We have cross checked the value of ∑ Original Estimate for issues using Issue Search result and adding ∑ Original Estimate column. Everything seems normal about the field value while Validators and Conditions results as opposite.

Scenario: Let us have a Stories and Sub Tasks. We want to have following rules;
1. If a Story have Original Estimate empty and have no Sub Tasks then it must not be transitioned to X state.
2. If a Story have Original Estimate empty and have Sub Tasks with Original Estimate given/defined then it can be transitioned to X state
3. If a Story have Original Estimate empty and have Sub Tasks with empty Original Estimate then it must not be transitioned to X state.

We have tried different combinations of following rules for both Condition and Validator;
• {Original Estimate} > 0min || {Σ Original Estimate} > 0min ----> True
• ({Original Estimate} > 0min && [numberSubtasks] == 0) || ({Σ Original Estimate} > 0min && [numberSubtasks] > 0) ----> True

As a result of these combinations, while rules work perfectly for 1st and 3rd scenario, opposite result of expected is given for 2nd scenario; “f a Story have Original Estimate empty and have Sub Tasks with Original Estimate given/defined then it can be transitioned to X state”.

We experience similar problems with Σ Time Spent and Σ Remaining Estimate.

Thank you for your help

Environment

Java Version 1.8.0_102
Jira Version 7.4.2
Workflow Enhancer Version: 3.6

Status

Assignee

Unassigned

Reporter

Mert Çalışan

Labels

None

Fix versions

Affects versions

3.6

Priority

Major
Configure