AzureDevops to Jira integration - azure-devops

In our project, we are using Azure git for the repo and we are doing the commit in Visual studio 2019.
I have a requirement to show the Jira numbers in the "related work item section" while committing the code. Please help
Visual Studio Related Work Item

I am afraid the Jira numbers cannot be shown in the related work item section of VS2019. This feature is intergrated with azured devop. The field related work item section can only show the work items in your azure devops project.
If you want to link the code commit to a jira issue. You can use the the Git Integration for Jira Cloud app, or Azure Git Listener for Jira app to connect your azure repo to your Jira cloud. Then you just need to include jira issue numbers in your commit comment. You can check this thread for more information.
If you want manage jira issues from VS 2019 you can check out Atlassian Connector for Visual Studio.
You can also check out the official extension Jira and Bitbucket for VSCode.
You can also try syncing your Jira issue with azure devops. Please check out the detailed steps here. Then you will be able to view the work items in the related work item section field of VS2019, but these work items are synced to azure devops from Jira, they are not the originAL Jira issue from Jira cloud

Related

Passing Azure Release Info to Jira Issue

I have recently migrated the work items to Jira Cloud. I am using Azure Devops for my releases.
I want to use Jira API to update the issue once the release is completed. My issues contains a release info field which I want to update with my Release number in Azure DevOps
I read Jira API documentation from - https://docs.atlassian.com/jira-software/REST/7.3.1/
but couldn't get a clue updating an issue field.
Also tried to understand https://developer.atlassian.com/server/jira/platform/updating-an-issue-via-the-jira-rest-apis-6848604/ still couldn't get what I am looking for.
Is there any other option/ API which I am missing. Any help on this is appreciated.
This blog: Azure Pipelines integration with Jira Software, mentions that you can install Azure Pipelines integration with Jira and connect Azure DevOps organizations with your Jira Software instance. So you can follow this tutorial: Integrate with Jira Issue tracking to report deployment status to Jira issues.

Looking for extension similar to GitLense for Azure DevOps

On my private projects I am using Git. I have installed GitLense for Visual Studio Code, which is awesome. I can click on a line, and see who changed it when within which changeset. See red arrows where I have deleted code and so on.
I have a VS2017 project using azure DevOps. I have read about CodeLense, which does not apply on my C++ projects, even in C# it is barely helpful.
Does someone know a similar extension here?
You could install the extension Code Compare to check the file changes.
Also, if you are using Azure DevOps and clone the repo local, we could open Team Explorer->Changes->Actions->View History->select commit and right-click->View Commit Details to check the changes, you could refer to this doc for more details.

TFS 2015 Project Wiki vs Code Wiki

We are using TFS 2015 On Premise, not in the cloud and I am trying to give access to Stakeholders so they can access the wiki. However, as a stakeholder I keep getting this error:
TF400409: You do not have licensing rights to access this feature: Code
After researching the error it seems to be related to the fact that Stakeholders do not have access to view Code Wikis as shown here. That link is for Azure DevOps and I am not sure if it applies to my case but I cannot find anything else so my assumption is it does apply. Even links within our TFS site, takes us to Azure DevOps for help and thus my assumption is it applies to us as well.
Here is a screenshot from the aforementioned link:
Question
What is the difference between Code Wikis and Project Wikis? It seems I need Project Wikis but how do I create a Project Wiki?
Thanks in advance!
Code Wiki are not available on TFS server 2015. You need to use version TFS 2018 or above for this.
Project Wiki
Every team project can have a wiki. Use the wiki to share information
with your team to understand and contribute to your project.
Each team project wiki is powered by a Git repository in the back-end.
When you create a team project, a Wiki Git repo is not created by
default. Provision a Git repository to store your wiki Markdown files,
or publish existing Markdown files from a Git repository to a wiki.
In the project page, you could directly choose to create project wiki.
Code Wiki
Content that you already maintain in a Git repository can be published to a wiki. For example, this could be content written to
support a software development kit (SDK), product documentation, or
README file. You can publish multiple wikis within a single team
project.
More details about the difference of them, kindly refer our official doc here:
Provisioned wikis vs. published code as a wiki
As how to use them in Azure DevOps/TFS, you could also take a look at this step by step tutorial -- Collaborating using Azure DevOps Wiki

Gitlab to azure boards integration

Is it possible to integrate Azure Boards with gitlab. I would like link my tasks/stories in azure boards to commits in gitlab (hosted version). Documentation talks about Azure REpo and GitHub integration.
Is it possible to integrate Azure Boards with gitlab
For this issue, I am afraid it is currently unachievable in azure devops. Only extension that integrate gitlab with azure pipelines is currently provided.
When we click on the add link button in the Development of the work item, there is no gitlab option in the Link type drop-down list in the popup box.
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 comment and vote it there. Our PM and Product Group are reviewing these suggestion regularly and considering take it as plan.

VSTS reporting capabilities

We're looking at moving from TFS to VSTS. However, one of the features I rely on is the ability to see which developers have got code checked out, when it's getting checked in, and to which branch. I need to see this at the collection level, not per project. Does this functionality exist in VSTS?
Tks
No such built-in features in Azure DevOps (VSTS).
However you can try below workarounds:
To see which developers have got code checked out, you can use the
tool Team Foundation Sidekicks which can retrieve the status
locked/checked out by other users. But the latest version is Version 6.0 only for Visual Studio 2015. Based on my test it's also available for VSTS. Please reference my answers in below threads:
Is there a way in Visual Studio and TFS to view items checked out to local workspaces?
List of checked out files
For when it's getting checked in, and to which branch, you have to
navigate to the specific repository to check the changesets which
include the history. You can also try calling the REST API
(Changesets - Get) to get the information.