Rest Api supscriptions or callbacks
Comments
-
Yes! My workflow needs to associate changes in requirements with tickets. I have a desire to write a plugin for my task management system where a user can open a ticket; transition items, and the ticket would automatically pick up what items were affected by the ticket (assuming a user is only working on a single ticket at a time.)0
-
Harald & Matt,
I agree. I know a lot of us are looking forward to WebHooks or something equivalent that would allow the API to notify a subscribed service or tool. All of the developers working on/with the API here at Jama want that feature, and it's something that we talk about frequently. I don't know what the ETA is but it's on our list of features to add.
In the meantime, an imperfect but robust solution for semi-real-time events is the activities stream as Harald mentioned. An activity polling interval of a minute or two has virtually no impact on the application but can make extensions feel real-time to users.
If what you're looking for is an item in a certain state then clever uses of search in the abstractitems endpoint can isolate the specific items you're looking for.
In either case, I'd write any code that polls the activities/abstractitems endpoints with a focus on modularity. That way, when we do release WebHooks you can swap strategies easily.
John0