How to create custom attribute for workitem query for code reviewer status
![](http://jazz.net/_images/myphoto/12d425978be9ad806d6287ecc488b7fd.jpg)
Hello ,
I am looking for an usecase where as a code reviewer i want to see list of code review open on my name , inshort i want to see the code reviewer status not Author code review status , here in this blog it shows how we can see Author code review status under RTC Query but is there any mechanism available in ELM 7.x where i can also get info about Code Reviewer's Status
Please refer below image
![Usecase Image](https://jazz.net/forum/upfiles/Attachment.png)
Thank you
Accepted answer
![](http://jazz.net/_images/myphoto/12d425978be9ad806d6287ecc488b7fd.jpg)
There is no way to get an individual 'reviewer status' as a queryable attribute in a work item query. Only the overall code review status and whether or not a given user is a code reviewer is available.
However given these two properties, I can still write a work item query that helps identify what I need to review using the following:
![Pending Reviews Query](https://jazz.net/forum/upfiles/pending_reviews_query.png)
Note: I am not including 'In Revision' even though I have not yet approved (you could if you want to though). I personally do not because this state indicates that that work item author is revising their code, and will at some point re-submit their code for review (for a 2nd [or future] code review cycle/iteration); so until they do that, I don't need to see this in my list.
Also, in 7.0.3 M6 the ability to easily find your pending Code Reviews has been added to the web-ui.
Also, in 7.0.3 M6 the ability to easily find your pending Code Reviews has been added to the web-ui.
See the details here: https://jazz.net/pub/new-noteworthy/ewm/7.0.3/M6/index.html#2
Comments
vinitha dsouza
Feb 18 '22, 7:49 a.m.similar usecase is required for us.
before 7.x we have approvals created part of Code review and reviewers who has to act , were able to create query to pending approvals by me..,
is there any mechanism to check this now and realise this usecase?