It's all about the answers!

Ask a question

Approvals can't be found?


Scott Chapman (3216547) | asked Oct 24 '11, 3:01 p.m.
I started playing around with approvals in 2.0.0.x and I am a bit confused.

So, I added to a defect that it needs approval but adding an Approval to the approver list and left it unassigned.

My assumption was that I could take the "Pending Approvals for me" query and change user to "anyone". Nothing found.

What am I missing?

6 answers



permanent link
Tim Mok (6.6k38) | answered Oct 24 '11, 4:21 p.m.
JAZZ DEVELOPER
I started playing around with approvals in 2.0.0.x and I am a bit confused.

So, I added to a defect that it needs approval but adding an Approval to the approver list and left it unassigned.

My assumption was that I could take the "Pending Approvals for me" query and change user to "anyone". Nothing found.

What am I missing?
I suspect it checks if it is assigned to anyone. If it's not assigned, then "anyone" doesn't fit the criteria for the query.

There's another condition "Approvals > Approver" that you can add. It has an option for unassigned. I believe that is the correct condition.

permanent link
Scott Chapman (3216547) | answered Oct 24 '11, 5:44 p.m.
I suspect it checks if it is assigned to anyone. If it's not assigned, then "anyone" doesn't fit the criteria for the query.

There's another condition "Approvals > Approver" that you can add. It has an option for unassigned. I believe that is the correct condition.


Ah, that wasn't quite what I expected, but I get it.

So now that I have an Approval setup, how does one use it exactly? These don't typically show up in people's queries (since they are looking for work items). And how do they actually "approve" something?

permanent link
Tim Mok (6.6k38) | answered Oct 25 '11, 8:22 a.m.
JAZZ DEVELOPER
What do you mean by "approve" something? The approval requires an approver that has to be assigned. When a user is assigned an approval, he/she changes the approval status from Pending to Approved/Rejected. The approval cannot be unassigned and change status.

Whoever you assign as the approver will have the work item show up in the Pending Approvals For Me query when that person runs it.

permanent link
Scott Chapman (3216547) | answered Oct 25 '11, 10:05 a.m.
What do you mean by "approve" something? The approval requires an approver that has to be assigned. When a user is assigned an approval, he/she changes the approval status from Pending to Approved/Rejected. The approval cannot be unassigned and change status.

Whoever you assign as the approver will have the work item show up in the Pending Approvals For Me query when that person runs it.


So if you don't know specifically who it should be assigned to one could assign it to "Unassigned". I presume then the only way to find those that are unassigned would be to have a query similar to "My Pending Approvals" but find approvals that are NOT assigned?

permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 25 '11, 11:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note that there are various enhancements requested for how one specifies
approvals. One of them that is probably relevant for this thread is
work item 29057, which asks to be able to specify a "role" for the
approver, i.e. I'd like a "Developer" to do a code review.

Note that for the special case of approvals for delivery, role-based
approvals are supported, i.e. you can require that "a Project Lead has
approved this work item for delivery".

Cheers,
Geoff

On 10/25/2011 10:08 AM, scottchapman wrote:
tmokwrote:
What do you mean by "approve" something? The approval
requires an approver that has to be assigned. When a user is assigned
an approval, he/she changes the approval status from Pending to
Approved/Rejected. The approval cannot be unassigned and change
status.

Whoever you assign as the approver will have the work item show up
in the Pending Approvals For Me query when that person runs it.

So if you don't know specifically who it should be assigned to one
could assign it to "Unassigned". I presume then the only
way to find those that are unassigned would be to have a query
similar to "My Pending Approvals" but find approvals that
are NOT assigned?

permanent link
Scott Chapman (3216547) | answered Oct 26 '11, 7:37 p.m.
Note that there are various enhancements requested for how one specifies
approvals. One of them that is probably relevant for this thread is
work item 29057, which asks to be able to specify a "role" for the
approver, i.e. I'd like a "Developer" to do a code review.

Note that for the special case of approvals for delivery, role-based
approvals are supported, i.e. you can require that "a Project Lead has
approved this work item for delivery".

Cheers,
Geoff


Yea, I like that idea too.

I guess the current mechanism implies (which I also like) that one can say that something needs approval without specifically saying WHO needs to approve it. Kind of like having a work item without an owner yet. And one might expect that such an assignment would be made during a triage. The problem with approval without owners is that it is a challenge to identify them for triage or assignment.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.