0

Apparently FogBugz 8.1 added "It's now possible to star and unstar cases via the API. Admins can star or unstar cases for other users" but I can't figure out how to request the starred status of a case.

I tried:

  • cmd=search?cols=star
  • cmd=search?cols=ixStar
  • cmd=search?cols=sStar
  • cmd=search?cols=starred
  • cmd=search?cols=ixStarred
  • cmd=search?cols=sStarred
flag

1 Answer

1

As mentioned, it is now possible to star and unstar items via the XML API. Administrators can also star/unstar items for users other than themselves.

However, you cannot currently include the "starred" column in your XML API query results, nor can you query which cases are starred by any user other than yourself (even if you're an admin).

You can retrieve a list of your currently starred cases with the following query:

cmd=search&q=starredby:me

link|flag
Is there a use case behind providing star and especially UNstar, that doesn't need testing starredness? – Michel de Ruiter Oct 23 at 19:37
1 
As far as I can tell, the star/unstar commands were added based on a customer request. My guess is something along the lines of "I'm creating/editing cases via the api, and would like to be able to star/unstar them." The ability for admins to star/unstar cases for other users appears to have been thrown in for good measure. You can test starredness for your own cases via "starredby:me". Or am I misunderstanding what you're asking? – db Oct 24 at 12:59

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.