Workflow for QM-Approval

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

 

2 answers

You can use Sub-Tasks to track the approval for each interested parties and put a restriction in the Parent Issue so that it will only close if the Sub-Tasks are closed.

Thanks for your idea. i will discuss it and come back to you =)

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

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

180 views 0 2
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you