See activity log in Gitlab Issues - gitlab

Is there a way in (standard, hosted) Gitlab to see a chronology of my activity? At times it would be useful for timesheeting to be able to see what issues I have worked on during the day.

Yes, according to the docs it's possible to view the most recent activity on a user profile page.

Related

Azure devops 2019.1 - Activity logs

I look for a way to collect and save activity and security logs from the Azure devops server(onprem 2019.1).
Logs include - user logins, build events, work item events, security changes etc.
I'm aware about this option https://server_name/tfs/_oi/_diagnostics/activityLog. But it's not an api interface.
Any Idea how it's can be implemented that?
Thanks.
TFS keeps track of an activity log of all recent activities. This information is stored in 2 tables inside Tfs_Configuration and Tfs_collectionname called tbl_Command and tbl_Parameter. These tables keep a record of every single command that every single user has executed against TFS for the last 14 days.
If you don’t want to get activity log through tbl_Command table and hidden activity log page (http://server:port/tfs/_oi), I’m afraid there is no other way at present.
You could add your request for this feature on our UserVoice site, which is our main forum for product suggestions. After suggest raised, you can vote and add your comments for this feedback. The product team would provide the updates if they view it.

Is it possible to make 'Folders' view default in Azure Pipelines?

When I started to have a lot of build pipelines it has become more comfortable to use 'Folders' view instead of 'Recent'. But it is too annoying to switch it all the time. Is it possible to configure 'Folders' view be default one? Thanks.
As far as I know, this is not possible.
What might help you is enabling the new preview feature for Multi-stage pipelines. To do this, click your profile picture on the top right, click 'Preview features' and enable 'Multi-stage pipelines'.
This new view doesn't allow you to set the default view to folder view. However, it does give you the option to select 'Folder view' on the top right (next to the search box). This changes the URL, which enables you to create a bookmark that starts in Folder view automatically.
Your URL should look something like
https://dev.azure.com/{organization_name}/{project_name}/_build?view=pipelines&option=folders
Is it possible to make 'Folders' view default in Azure Pipelines?
Agree with rickvdbosch, we could not set the 'Folders' view as default, at least for now.
Some other communities raised the same requirement earlier on the Developer Community, and this requirement has been passed to product team, you can check the details from the ticket:
Builds - Pipelines should default to the folder view if you have one or more folders
Note:You can vote and add your comments for this feedback. When there are enough communities vote and add comments for this feedback, the product team member will take this feedback seriously.
Hopw this helps.

Search Gerrit changes by user access rights

We have a Gerrit with quite a huge namespace and projects environment and every project has different rights in a matter of code-review or workflow voting and submitting. I sometimes create a set of batch changes accross several projects and then I need reviewers to check and submit. Is there any way how to filter the search results to show only the project which the user searching them can review or submit? Currently, I usually send the results just based on the topic, but this approach still shows all the changes to the reviewers even if they don't have rights to review. Any ideas on how to do or workaround this?
This solution is not exactly what you search for but maybe it can help:
You can use the clause visibleto:'USER-or-GROUP' to match only changes that are visible to 'USER' or to anyone who is a member of 'GROUP'.
More info in Gerrit documentation here.

How to integrate Jira Atlassian with GitLab cloud?

The current documentation does not match the new interfaces exactly but what I have being able to put together is displayed in the screenshots below.
What does work is:
When I push a comment to GitLab a link is built and links to the properly referenced JIRA ticket.
JIRA is added as a LHS menu item which opens link I define as Web URL (see below).
What does not work is:
The JIRA ticket does not display the comment.
On GitLab
My settings keep failing the integration test and I have no idea what the problem is.
myproject > Settings > Integrations
On JIRA CLOUD
I have created a user as per instructions in the docs
https://gitlab.com/help/user/project/integrations/jira
https://gitlab.com/gitlab-org/gitlab-ce/blob/8-13-stable/doc/project_services/jira.md
From what I can gather is if I want to comment I just have to mention a correctly formatted JIRA ticket ID and if I want to change the state of a ticket I need to set the correct Transition ID(s) which I can find in my JIRA workflow.
I am able to log in manually to JIRA with the "Gitlab Dev" user account, and post comments.
Has anyone else got this to work with the newer admin layouts?
Make sure that the Jira user you set up for the integration has the correct access permission to post comments on a Jira issue and also to transition the issue, if you’d like GitLab to also be able to do so.
Jira issue references and update comments will not work if the GitLab issue tracker is disabled.

GitLab: How to display Wiki as start page instead of readme?

I want to have the start page of the wiki of a project in GitLab as general start page for the project. Is this possible?
This isn't currently possible. The only views available which you can find in /profile/preferences are activity and readme.
This is possible because there's a bug in gitlab does exactly what you want, but only
for logged in users accessing
a public wiki-only project
So i guess „It's not a bug, it's a feature" ;)
Update
Having checked the example repository in the above linked issue, what you're asking for seems to be the default behaviour on gitlab.com now for wiki-only projects (which means you have to go into the settings and disable the repository feature).
I just verified that by setting up a fresh wiki-only project and it shows empty wiki page as homepage which was introduced in 12.5.

Resources