Export assigned Labels to a task in planner in office 365 - excel

While there are multiple solutions available online to export plan to an excel, some of the export options are still in uncharted area. For e.g. i have edited few of the existing Labels to a customized name and not every label is assigned to every task under a plan. Is there any way i can export the assigned labels taskwise ?
I tried to find options in power automate but in vain. Let me know your thoughts . Thanks !
For e.g.
Here you can see task xyz has multiple Labels like Dev, Testing and Sample. If i would like to export them too into an excel sheet along with other details of the task, what would be the best way ?

Names of the labels are in the Plan Details entity, CategoryDescriptions property. You can read this once per plan to get all the names, then appliedCategories field on each task will indicate which labels are applied to the specific task. You can use the name of the property in the appliedCategories field to directly look up the value in the name from the plan.
You could also export a plan to excel from Planner directly, without writing code (which includes labels as well), in case you don't need an automated solution.

The tags do exist in each planned task but you're going to hate this, they come through in the appliedCategories object and they're represented by the order of the category itself.
"appliedCategories": {
"category2": true,
"category3": true,
"category4": true,
"category11": true
}
You can rename them all you like but those names aren't pulled through in the response.
You'll need to manage the names in your own mapping table or the like to get what you want.
To see it working, select labels in random positions and then run the List my tasks action and you'll see them there.

Related

KQL (Keyword not Kusto) Nesting, Document Selecting for an Extranet

Longtime member, been a while since posting. Working on building out an Extranet and am running into a stupidly frustrating issue. First time using SharePoint Online as document repository for external (anonymous) users. In doing so, using Azure permissoning, have the documents split up in repositories on SharePoint based on access level. On top of that I am attempting to display them in Highlighted Content Web part, I am not able to sort them out by location AND type. I have a custom column in each repository that defines what type they are, but when I try to add the AND portion to the KQL it doesn't work. Additionally the internet seems to be massively void of actual documentation of KQL.
(
path:https://domain.sharepoint.com/sites/example/Level%201%20Resources/
OR
path:https://domain.sharepoint.com/sites/example/Level%202%20Resources/
OR
path:https://domain.sharepoint.com/sites/example/Level%203%20Resources/
OR
path:https://domain.sharepoint.com/sites/example/Level%204%20Resources/
OR
path:https://domain.sharepoint.com/sites/example/Level%205%20Resources/
OR
path:https://domain.sharepoint.com/sites/example/Level%206%20Resources/
AND
DocType:"Articles"
)
The above will simply pull all documents from those locations and ignore the AND statement. I have tried renaming it to call on the custom column identifier pulled from the source, and that doesn't work either.
The only real documentation I can find on this is: Here
Which doesn't appear to address filtering based on custom column tags.
EDIT: Reformatted to pull all docs from multiple locations using below, but the nesting portion still isn't working
path:(
"https://domain.sharepoint.com/sites/example/Level%201%20Resources/"
OR
"https://domain.sharepoint.com/sites/example/Level%202%20Resources/"
OR
"https://domain.sharepoint.com/sites/example/Level%203%20Resources/"
OR
"https://domain.sharepoint.com/sites/example/Level%204%20Resources/"
OR
"https://domain.sharepoint.com/sites/example/Level%205%20Resources/"
OR
"https://domain.sharepoint.com/sites/example/Level%206%20Resources/"
)
So the additional issue I was running into was the creation of a column to separate out based on the category of file type (not literal file type). Apparently SPO doesn't like it when you create a list and then reference that list to then filter by via KQL. So I found this morning this.
Apparently the best way to do this is create a custom "Choice" column, allow some time for it to flow and update, and then you can reference it via KQL.

How to create datadog 'change alerts' using terraform?

I am trying to create a change monitor using terraform. To create a monitor that checks that overtime a count stays at 0 for example every day (the value will go up to one some times and get back to 0).
I found on the UI the capacity to create a change alert.
I cant seem to find a way to define the configuration for this type. Is terraform just supporting only a subset of the monitors? or does the query need to be change in some specific way that I cant find documentation for?.
I've stumbled upon this as well. I just figured out you have to manually create the monitor using "change alerts" then go to "manage monitors" page, open the one you just created and you'll see the query that starts with change(...). Copy the whole query to the query field in your terraform config.

Is there any way to export the Parent Work ID in AzureDevOps into Excel

I have connected excel with AzureDevOps, as explained by microsoft
https://learn.microsoft.com/en-us/azure/devops/boards/backlogs/office/bulk-add-modify-work-items-excel?view=azure-devops
Is it any way possible to export the Parent Work ID in the same row in excel as the actual work item that I am exporting?
What I want to achieve is to sum all remaining work that is left on feature level. This means I need to summarize the remaining work for all tasks under all users stories that belong to this feature.
I could fix this by adding tag of the parent feature in all tasks, but I want a better way.
There can be only one parent. Is there any way to export the parent ID?
Thank you.
Excel can`t import an id of linked work item in the same row. In your case, work items have to contain a parent ID in separate field. I see two ways to resolve your issue:
Create a new field for parent work item types (e.g. summary work). Then with custom solution fill that field with sum of child work.
Create a new field for the child work item types (e.g. parent id). Then with custom solution copy into that field a parent work item id.
Additionally, to avoid customization of your process template you can use Power BI custom reports (Analyze and report on your work using the new VSTS analytics service : Build 2018).
Using excel for analyzing the AzureDevOps work did not really work for all use cases.
The main reason was the ParentId. But basic graphs its easy to do.
Since then I have started using PowerBI instead. And I have managed to achieve all my requirements. After the initial setup its very straightforward to build custom reports in PowerBI.
Azure DevOps has introduced a new feature to make the Parent column available in queries.
Add parent field to backlog and queries
"The parent field is now available when viewing backlogs and query results. To add the parent field, use the Column options view."

Add a field to a query where the data comes from a subform

I need to filter a a table with parameters that are calculated on a non related table, but to do this in Access web I need to add the [Project_Id] to the task list.
To clarify further, the user answers some questions regarding the details of a project, which in turn will calculate in the background a group of parameters that are needed to sort a task list.
The problem is the task list is generic and not related to a project so before I can use the project related filter parameters I need to assign a project id to the task list or there is no relationship and no way of knowing what project parameters to use.
I tried to do this with a query but being a Web database I am unable to select the data from the form control.
Hopefully someone can help me find a solution, because I have exhausted Google and my own knowledge on the subject. One last thing I am unable to use code thanks to security issues.
In case anyone is interested I found away to assign the project id to the task list using data macros.
The data macro is assigned to a table that is related to the project and when updated edits the tasks list to add the current project id for each record in the table.
I still have some issues to work around, but in general it does what I need.

msproject - creating an indicator that more than one resource is allocated to the task

I'm fairly new to MSProject and i believe my request is pretty simple:
I would like that an indicator show an icon when a task has more than one resource allocated to it.
is it possible?
p.s my goal is that people wont be able to add more than one resources per task. if there is a way to enforce it the indicator is not necessary
thanks
The basic formula is something like that: InStr([Resource Initials],","). Please pay attention that "," is a list separator in my locale. For other people that could be ";" and so on. There is a property of Application object: Application.ListSeparator but it isn't available in plain formula definition - you can create your VBA function which will just return the value and use your function.
Variation of the formula depends on what field are you going to use for it. If you plan to use one of Flag fields - just add > 0 at the end, for Number field you can just define a graphical indicator with greater than 0 condition.
Another option is to write your handler for event Application.ProjectBeforeAssignmentNew and check if there are any assignments defined for the task already

Resources