In Azure DevOps Server (TFS on Prem) is there a way to link a Changeset to a hyperlink directly? - azure-devops-server

I am looking to see if it is possible to link a TFS Changeset with a hyperlink directly.
I can create a workitem and in the workitem create a Hyperlink link type to a site and then associate the changeset to the workitem. Doing this however the user has to open the 'Related Work Items' list, open the Related work item, locate the hyperlink link, and open the link.
The end result I am looking for would be when viewing the Changeset Details of a Changeset there would be a 'Related Links' section or something similar where the user could easily see any related hyperlinks for the changeset.
Thanks,
Chris

So after some trial and lots of errors I have come up with a workable solution for my case.
Accomplished by way essentially two actions in a Visual Studio Extension and a new custom Work Item type.
New Work Item type - basically used the Code Review template a hidden work item that can only be created through automation. Removed the fields not needed for my case.
Visual Studio Extension Part 1 - setup up an action that takes place when the user clicks the 'Checkin' button on the Pending Changes window. When this action is triggered the extension will capture some relevant data from the checkin. The extension will then create the new work item and establish two links in the work item. One link is relating the changeset and the work item. The other is a hyplerlink to the desired site.
Visual Studio Extension Part 2 - setup an action for the Changeset Details View. When the Changeset Details View is loading grab the selected changeset ID. This proved to be a somewhat difficult task as a lot of the provided Changeset details classes are private. After grabbing the changeset ID, find the related work items to the changeset. Loop through the links in the work item grabbing the hyperlink links in the work item. Then go through the found hyplerlinks and display them in a new section through WPF in the changeset details view.
Section of code that helped get the changeset ID in the Visual Studio Extension:
var dte = Package.GetGlobalService(typeof(EnvDTE.DTE)) as EnvDTE.DTE;
var dte2 = (EnvDTE80.DTE2)dte;
var vce = dte2.DTE.GetObject("Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlExt") as VersionControlExt;
VersionControlHistoryChangesetItem[] versionControlHistoryChangesetItems = vce.History.ActiveWindow.SelectedChangesets;

Related

ArticleBundle Draft article list visibility

Helo, developers...
I am using SULU CMS, and as an option I installed ArticleBundle... Now, it is, basically working, but I have strange thing going on...
Everything I am describing now is in admin panel (no FE is involved in my problem)
(New published article) *** I click on Articles menu, it opens list of existing articles, and it shows all my published articles... When I click on ADD, form that opens is fine, it works, I fill in all needed data, and then, when I click Save and Publish, it saves, and it is OK... When I return to list of articles, that article is visible and editable..
(New Draft article) *** I click on Articles menu, it opens list of existing articles........ I click Add.... and when I click Save as Draft it saves article (I have UUID in url that I copy), but, when I return to list of articles, that DRAFT article is not shown in list... When I use link, directly (by entering UUID I got when creating article), it opens normally, editable, and when I click Save and Publish it works as it should be..
Please, If someone can help me how to get, also, Draft articles in initial list of articles, so I can click and edit it, and publish, too...
First check your User-Role if all article-bundle security rules are added.
Watch out there is a section "Article types" and a section "Globals" which are restricting your access to article-types and articles in general.
When this brings no change, do you have multiple article types and just open the wrong type tab or have no "all" tab (added by configuration).
For further investigation your Sulu, ArticleBundle and ElasticSearch versions would be appreciated.

Cannot change Parent Link from Userstory to another Epic

I have imported work items from jira to Azure DevOps. There are Epics containing user stories as children.
These links describes most of the structure of my project. The user story ha a parent link to its epic. Now, i want to change some parent links from the old epic to another epic. If i try that on the user story item, i can only choose features as new parents, but no epics.
The company has set up the "agile" process.
I already checked the devops documentation and think, that parent child links are suitable for any work item type?
i want to change some parent links from the old epic to another epic.
Open the User Story->click the links tab->Select the parent link->click the button Remove link->click Add links->Existing item->select Links type Parent->enter another Epic work item ID->Click OK and Save&Close button to save it, then we could see the parent link has changed. Check the GIF below.

Simplified VSTS Work Item forms for some teams?

Or developers need the Work Item forms as designed for our agile process, but we'd like our regular users to be able to add new bugs and user stories using a simplified form, where a lot of fields are removed and some have team specific default values.
How can this be done?
The closest match I've found so far is templates, where field defaults can be defined, but the form that's used/displayed is still the large cluttered one. Being able to use the template link to land directly on a pre-filled form is a step in the right direction, though.
Azure DevOps allows you to modify your process template and add new work items to your project. You can find the documentation to do this here.
Go to Organization settings for your account --> Process --> Create an inherited process from your process template --> New Work Item Type.
You can then define the fields you want and the layout of the template.
Something else that could be useful in your scenario is the Test and Feedback Extension. This is a simple browser plugin that lets users explore feedback requests and file comments and bugs.

How to edit TFS work item email template

I'm new to TFS 2013 and I'm trying to edit the email template that pops up when you click the email symbol within a work type item in TFS, but I have not been able to thus far.
Specifically I want to include a custom field that has been added to the form. The research I have done points me in the the direction of the following path way: Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TFSJobAgent\Transforms\1033.
However the files here (and please forgive my ignorance if I have got this wrong) appear to control event changes across the TFS, which I don’t want to change.
My scenario is that a user wants to email a work type to another user and include a custom field in the email template. Thanks (I would have included a screen shot but stackoverflow would not let me).

SharePoint 2013; SharePoint 2010 workflows do not update when published using SharePoint Designer

Updated SharePoint 2010 workflows do not work until iisreset.
I am using:
SharePoint 2013 with CU's updated through May 2015
SharePoint Designer 2013 32bit
Procedure:
Create a new list with two columns Title (default), NewText (single line text )
Create a SharePoint 2010 list workflow using SPD2013. The workflow is set to run manually only. Its only action is to put text into the NewText field when it runs.
Create a list item
Run the workflow manually - It works fine
Edit the workflow in SPD2013 to simply put different text in the NewText field. e.g. initially the text was "FirstTry" changed to "SecondTry"
Check for Errors (none of course)
Publish - no errors
I look at the workflows for the list and see that the original workflow was replaced as expected. (The new workflow is listed with the original workflow listed with (Previous Version . . . .) after the name.
Run the workflow on the item - the text DOES NOT change.
Create a new item
Run the workflow - the text is set to "FirstTry" NOT "SecondTry"
Recheck the workflow in SPD, republish etc. no change
Do an iisreset - now the workflow sets the text to "SecondTry" as desired. further changes continue to have the problem as described above.
I have tried this on multiple site collections, list, different fields etc
I have tried the suggestions from others on this. The most common is clear %LOCALAPPDATA%\Microsoft\WebsiteCache. This does not work for me with no change is symptoms.
Other suggestion was to create the WF as a SharePoint 2013 workflow. Although this seems to work OK (I actually have a different problem with this) it is not a final answer because there are times we need to use SP2010 workflows. An example is that SP2013 will only use SP2010 workflows as a workflow approval action. Also SP2013 workflows do not provide a start approval process AND all of the OOTB workflows are based on the SP2010 workflows.
We really need to be able to update the SP2010 workflows - obviously iisreset is not a solution.
I am pulling my hair out on this one. Help!! Please!!
I got this answer from TechNet Community it appears to work.
I recommend to enable versioning in workflows list and then check if the issue still occurs.
Open SharePoint Designer > click All Files > right click Workflows under All Files tab and select Properties > click Administration Web Page button in the menu > click Versioning Settings in the browser.
Here is a similar thread for your reference:
https://social.msdn.microsoft.com/Forums/office/en-US/a63a1894-6b1d-420a-95dd-b6c546eab34d/updates-made-to-sharepoint-designer-2010-workflow-do-not-show-up-on-the-server?forum=sharepointcustomizationprevious