How do you find who has approved the most merge requests GitLab? - gitlab

As it says on the tin, is it possible for me to find who has approved the most merge request in Git please? Thanks!

There are two ways, depending on whether you want to know based on a group or a project:
For a group, you select "Analytics > Contribution" and scroll down to "Contributions per Group Member", where you can sort by Approved MR count
For a project, you select "Merge Requests", then click the "Merged" tab and export it to CSV using the button in the upper right. Then you can open the CSV and create a chart using something like excel.

Related

Is it possible to dynamically update choices based on a previous selection?

I was wanting to try automate the account creation process and have a sharepoint question. I barely use sharepoint so I'm not sure if this is possible or not. I think its really a two part question:
How to change the choices in one column based on a previous selection.
How to dynamically change the choices, perhaps coming from another excel sheet/list/column?
Here is the list I'm using in my flow:
The reason I wanted to make certain columns "choices" is to save users typing in but also to prevent any errors and if possible, I would like some of the choices to dynamically update based on the previous selection.
For example:
So, on the SPO list "Department" is a choice, say I select "Finance" then then next column "Job Title" would dynamically update with the "FinanceRoles" and I would only be able to select:
Finance > Finance Assistant/Procurement Officer/Finance Manger
IT > Helpdesk/Technician/Administrator/Team Leader/Manager
Similar idea with Campus then Building. I would only see the rooms relevant for that building
Campus1 > Building1 > Room1_01/Room1_02 etc
Campus2 > Building1 > Room2_01/Room2_02 etc
Campus3 > Building1 > Room3_01/Room3_02 etc
I was just hoping there was a smart way to do with without having to manually enter in all these "choices", as it would make things much easier to maintain. Thanks for any suggestions.

Is there a way in Azure DevOps to group by the first sublayer of Area Paths?

My current requirement is to create charts out of queries in Azure DevOps (for ex. pie charts) that visualize certain work items and group by the Area Path of the work items. However, the grouping in the chart should only consider the first sublayer. So for instance, it should only consider root-path/x instead of root-path/x/y and root-path/x/z individually.
The only solution I could think of so far was to consider the Team-field instead of the Area Path-field as a team should be associated with every subpath, but apparently, teams aren't associated with work items and the Team-fields in the result of my queries remain empty.
Is there an other solution or "workaround" to my problem?
I searched and tried other Chart extensions, but none of them can meet your demand.
When selecting "Group by Area Path", they always list all the area paths of the work items from the selected queries.
I also checked 'Project configuration' and 'Team configuration' on 'Project Settings', but did not find any option can affect this.
Looks like, we currently have no any available solution or workaround that can group work items by only the first sub-paths of the root area path on the Chart for work items.
Maybe you can try to develop a custom Chart extension following your demand.

Power Apps: Ability to use set preferred values to a drop down selection/Radio button

I am trying to create a editable form in power apps to collect responses for few questions and save the response data to a SharePoint list. Mostly yes/no questions and preferred using Radio button. I know that I can set a common default value as Yes/No to everyone for question. But I am wondering if there is a way that I can allow the users to set their own default values. Just like preferences and be able to modify when they need
Workarounds Highly Appreciated!!!!
Thanks in advance
You are able to set custom pre-sets for a specific user by using a separate lookup List (can be SharePoint). This list will house the user information and the preferred radio button setting for each question.
Example Lookup table columns (we will call it UserPrefList):
UserObject | Q1 | Q2 | Q3 | etc
Load this table into the app
OnVisible of the form, lookup the user accessing and save preferences in a variable. You can also add a default profile if the user has no saved preferences (using IsBlank).
Set(VarUserPref,LookUp(UserPrefList,user().Email = UserObject.Email));
On the question radio's, you can now set the default to:
VarUserPref.Q1
VarUserPref.Q2
VarUserPref.Q3
...
To allow user to update their preferences, you can add a "Save Preference" button that will update this record in the list. Or if user is new, create one for them.

Task name is getting renamed with Activity using TFS 2018 and Excel

I am having backlog in TFS 2018 and I am using default template provided to create the tasks.
The template is having the 'Activity' drop down, while selecting the 'Activity' it is also renaming the Task Title. It is ok if I am adding the task using TFS.
Now, I am using the Excel to create the tasks in the user story.
Only problem is whenever I publish the list, it is renaming the Title of the tasks with Activity name.
For example, If I publish the following list, "My Task" will be renamed with "Requirements- Review" (Value in Activity Column) in TFS board under "My Userstory".
Is there anyway to disable this behavior while adding tasks using the Excel?
As per my understanding both Titles are required as it is creating the
Parent Child relationship. In Excel I am selecting Title 1 and
clicking on "Add Child" and it is creating Title 2 column.
Actually we do not use this kind of way to add a nested list of work items( Parent Child relationship)
For example, you should first convert your flat list to a tree list by adding a tree level.
Enter titles for backlog items under Title 1 and for tasks, under Title 2. Also, select the corresponding work item type for each. Here we specify Task.
Publish your worksheet and the ID 95 is new created through Excel. In the background, parent-child links are created for each task listed.
As you can see in web portal, the new create task is list properly and title do not change and activity is also right.
More details please take a look at this official tutorial-- Bulk add or modify work items with Excel

Make changes in the Excel Workbook that open my query

I'm a TFS2010 User.
I have my own query named "My Current job" that show me the User Stories and related Task that I have to do right now.
I have opened the query in excel and made a conditional format to the workbook that show in green color the rows of completed work items.
Are there any way to make this conditional format (and other changes like this) permanent for this query?
I'm not the only one user of the teamproject, so I preffer don't change anything that could affect others users unless that is the only way.
Currently I've excel macros that do the job, but I wonder if it can be done directly in TFS .
Thanks.
This should be possible by using the "Team" ribbon on any Excel-document, simply click on any cell and then select "New List". Navigate to the query you 're interested in and harvest the results in your worksheet:Once you have established this link "Publish" will push your changes from Excel to TFS and "Refresh" will refresh your results from TFS

Resources