Using Microsoft Graph, how can I get incremental changes to events in a calendar view from a non-default calendar (in the docs there are only examples with default)?
You need to specify calendarView you want using /calendars/{id}/calendarView.
So instead of using the default calendar:
/me/calendarView/delta?startDateTime...
You address the specific calendar you want:
/me/calendars/{id}/calendarView/delta?startDateTime...
Related
I need to create a dashboard widget for Azure DevOps that shows number of work items of a specified type, that transitioned from one state to another.
It looks like the Updates endpoint is my best bet, but that means that I would have to iterate over all of the updates of workitems for the specified type and then determine if it contains the state transition I'm looking for, e.g. Closed to Open.
https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/updates/list?view=azure-devops-server-rest-5.0
The Analytics extension looked promising, but it looks like I would need to query the Revisions dataset, and that doesn't contain the old and new values.
https://learn.microsoft.com/en-us/azure/devops/report/extend-analytics/wit-analytics?view=azure-devops
The use case is to show the number of bugs that were closed then reopened in the last 90 days. I thought that I would make the work item type and from and to states configurable.
Any ideas or suggestions much appreciated!
Best approach to get count of workitems state transitions?
At this moment, we could not query the History with State changed from one state to another state on Web UI directly.
As workaround, we could add a custom field in our custom process that gets set the value to true when workitems state change from Closed to New:
Then add a Rules to set the value of the custom field to True if the workitems state change from Closed to New:
Finally, we could query the workitems with following conditions:
BTW, if you want to get those workitems which state already changed from Closed to New before use above custom filed and rules, I am afraid you have to use Rest API to query the work items that in specified type:
https://learn.microsoft.com/en-us/rest/api/vsts/wit/wiql/query%20by%20wiql
Then loop the work items list to get all revisions for every work item with Revision - List API:
https://learn.microsoft.com/en-us/rest/api/vsts/wit/revisions/list
There is a article for TFS TFS SDK: Work Item History Visualizer using TFS API, you can check it for some more details.
Hope this helps.
You may do it through PowerBI. Calculate time-in-state for an existing Analytics view
Or as you said iterate over all of the updates of workitems.
I'm trying to handle the current month view from another component, I'm aware of the onPanelChange props but this happens after the trigger. I'm lookin to pass a custom trigger/handler via prop or something similar.
I'm using Eventbrite's event_search to display upcoming events, along with some idea of remaining tickets. The problem is, event_search is reporting capacity = 0 for all events.
When I use organizer_list_events I can see the correct capacities, but I'd rather not use that method as I don't want to display or have to filter past and 'draft' events.
Am I missing something? Is there another way to retrieve event capacity?
The V1 event_search method only retrieves publicly available date, of which capacity is not. Capacity is considered private data that is only accessible to the administrators of the event, which is why you can get that data with the organizer_list_events method.
Y0u could move up to the V3 method User Owned Events and pass in the 'status' parameter to 'live' in order to only get the upcoming events.
I'm really new to vaadin and am trying to create a date picker in which a user can select multiple days, with each selected date rendered in a highlight color, much like the date picker from doodle.
I started out using the InlineDateField, but am not getting anywhere.
Can it be done with standard vaadin components?
Licensed, non-free vaadin components are not an option, because this solution is for a non-commercial project with 0 budget.
And what about to take current implementation of datefield and make your own implementation? So you extend this class and change the JavaScript? You can inject your JavaScript with changed functionality... and handle the changes in your extended datafield class.
Is there any way in which I can combine the data from multiple lists and show it on single calender View?
Thanks
Amit
YEs there is, by creating a webpart in sharepoint designer that uses a CAML query to get all items of type event from the site and use the result as a datasource for calendar.
This blog post does what you want exactly: Creating SharePoint global calendar by Gunnar Peipman.