Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Sort work item query results by the number of subscribers?

I'd like to sort a work item query by the number of subscribers on each work item. How can I do that?

1

0 votes



3 answers

Permanent link
In just looking at the attributes one can include in a query -- probably no way.

1 vote


Permanent link
If you can update the project area there may be a way to keep track using a calculated value script. I haven't tried this but you may be able add an attribute "subscriberCount" to the Type, make it dependent upon Subscribed By, then create a calculated value script that set the value to the number of subscribers.  To update past items, you could make the count dependent on another attribute (e.g., a another dummy attribute) and do a bulk change on the other attribute to trigger the subscriberCount calculation.

Lawrence Smith [IBM]

1 vote


Permanent link
I wrote a script that walks all of the open work items in a category hierarchy and writes a .csv file showing the number of number of subscribers, votes, id, and summary.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Mar 13 '15, 11:41 a.m.

Question was seen: 3,826 times

Last updated: Mar 14 '15, 9:56 p.m.

Confirmation Cancel Confirm