Hi.
How can i manage the following scenario.
We have for every Issue a approval from the IT/Developer and a QM.
The IT/Developer and the QM working parallel, so i need some kind of Logic in the Transition: if both Status were reached the Issue can be set to e.g. Ready for Deployment.
How can i achive this?
Thanks a lot
Florian
If you have SIL programs (Kepler Tools), you can create Condition scripts to check on the prior status of the ticket.
Add 2 transitions from 'Open' (or wherever you start), to IT and QM
Add 2 transitions from IT, one to QM and one to 'Approved'
Add 2 transitions from QM, one to IT and one to 'Approved'
On IT -> Approved, put a validator that prior state was QM
On QM -> Approved, put a validator that prior state was IT
You want to think about whether to put conditions on IT -> QM and QM -> IT or allow them to pass tickets back and forth.
I'm sure something similar can be done in Groovy as well, but here is how our script looks, you'll need to modify the script for your situation.
//Check if the previous step was Open Development
number STATUS_OPEN_DEV = 10003;
number STATUS_OPEN = 1;
string[] status_history = fieldHistory(key, "status");
if (arrayGetElement(status_history,arraySize(status_history)-3) == STATUS_OPEN_DEV || arrayGetElement(status_history,arraySize(status_history)-3) == STATUS_OPEN){
return true;
} else {
return false;
}
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your idea. i will discuss it and come back to you =)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.