I have 2 workflows: Capability_WF and Feature_WF.
There are two issues F1 and F2 associated to Feature_WF and one issue C1 associated to Capability_WF , where F1, F2 are child of C1.
So when
1) F1 status moves to COMMITTED, F2 status moves to PARTIAL COMMITTED---> C1 status should move to PARTIAL COMMITTED (because both the child f1 n f2 are not committed yet)
2) F1 status moves to COMMITTED, F2 status moves to COMMITTED---> C1 status should move to COMMITTED.
I have written a condition in the post function of Feature_WF's transition which should move C1 to COMMITTED issue_type when below is run.
issue.getAsString("Issue Type")=="Feature" && issue.getAsString("Status")=="COMMITTED"
but its not working, this part of the above condition issue.getAsString("Status")=="COMMITTED" returns false even when the issue status is COMMITTED.
What am I missing, can somebody help me with this?
Thanks in Advance