How to integrate Ninjaforms with TFS? - tfs

What is the best way to integrate Ninja Forms with Microsoft Team Foundation Server?
We want to create a backlog item when we submit the Ninja Form.

The best approach so far was using Webhooks plugin in Ninja Form and POST the form data to TFS using TFS API.
References:
Webhooks plugin for Ninja Forms
How to create work item using TFS API
Authenticating with personal access tokens

Related

Umbraco Workflow for content publishing

I'm building a CMS solution using Umbraco 7 version. I have a requirement to add a workflow before content getting published to the site. Something similar to Content Creator creates a blog post -> send for Editor approval and once the editor approves it contents getting published to the public site.
Draft-> Send for Approval(to an Editor)-> Approve -> publish.
I know Umbraco has workflow feature for the Forms. Is there any way to integrate a workflow to the back office content publishing? Any thoughts or workarounds to achieve this??
Yes, there is a simple approval workflow built in:
http://nurhak-kaya.blogspot.com/2018/08/umbraco-notifications-save-and-send-for.html
It looks like it should cover your needs, though. If not, you could take a look at Plumber: https://our.umbraco.com/packages/backoffice-extensions/plumber-workflow-for-umbraco/

How do I embed TFS charts in my page?

I need to embed charts from TFS (Microsoft Team Foundation Server) in a simple HTML page. The chart editor allows me to copy the query URL, but i don't see any elegant way to embed the chart itself. Any advise on how to get individual charts from a TFS instance on my own web page?
At present, you don't. There's no supported way to do that.
Allow you to copy the query URL cause it's Query-based charts which generate data from the work item tracking data store and therefore displays the most recent data. You could add it to dashboard, but it's not able to embed them in a normal HTML page outside of TFS.
There has been a related uservoice, which you could use the Chart for work items widget:
Embed Dashboard Widgets outside of VSTS / TFS
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/13784832-embed-dashboard-widgets-outside-of-vsts-tfs
You could vote up for it and TFS admin/PM will kindly review your suggestion.

Can I add Links as favorites to TFS 2012 Team Site?

I have a TFS 2012 Team site specifically for TFS Management. I would like to place template links for creating work items on the site so that team leads may create work items for me to add users or otherwise modify permissions.
I created the templates by the "Copy template URL" (a great feature btw), and then sent this as an email to my stakeholders.
I think it is better to have this link easily available from my team site. Are there any suggestions?
Not sure what you mean by team site. There is the TFS Web Access page, and then there is the optional Team Project Portal (in SharePoint).
If you are using the Portal in SharePoint then you can add a links webpart to any page within the site.
If you are talking about the TFS Web Access page, then I don't think there is currently any supported method to customize the home page to add arbitrary links.

Problems trying to setup Team Foundation Server 2010 with AD accounts

I was asked to setup a TFS 2010 environment so the team wouldn't have to send the project updates to each other by email. I set it up on a Windows 2008 R2 DC holding all of the AD accounts normally used for logging on to the client computers. After going through the installation and then configuration wizards, it all installed successfully.
I then added myself to the TF Administrators group and tried to log in to the web interface. But it seemed to refuse my credentials. I tried everything, creating a new TF group and adding myself to it and I tried adding myself to the project collection administrator group. Nothing seems to work.
Did I overlook a certain function or button to link the AD accounts to the TFS? Or did I do something else wrong?
By logging 'in to the web interface' do you mean the SharePoint web interface? If so, you need to grant your accounts access to the SharePoint site. The admin account that you have running the server is a SharePoint admin, so you should be able to log in as that and modify SharePoint user permissions as needed.
SharePoint security, SQL security, and TFS security are all separate from each other. But the TFS Admin Tool provides an interface for you to maintain security on all three platforms at once.

.NET wrapper for JIRA api?

I'm working on a JIRA implementation and need to make use of the API.
Does anyone know of an existing .NET wrapper for the JIRA SOAP API?
In a Visual Studio .NET project, right click the project references and choose 'Add Service Reference', enter the URL of JIRA's WSDL descriptor (http://your_installation/rpc/soap/jiraservice-v1.wsdl), and Visual Studio will auto-generate a .NET class for accessing the JIRA SOAP API.
The parameter names aren't particularly meaningful so you'll need to refer back to the documentation quite a bit at first.
In Visual Studio .Net 2010 choose menu Project and Add Service Reference. In the dialogue choose advanced option. Then in the new dialogue choose Add Web Reference.
http://localhost:8080/rpc/soap/jirasoapservice-v2?wsdl where localhost:8080 is your installation of jira.
I did not get it to work in VS2010 with just Add Service Ref. It then only created methods without any parameters. For example the login method claims to have no arguments althought the [documentation](http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#login(java.lang.String, java.lang.String)) says there should be a user and a password parameter. See this jira forum for more info in the matter.
I did not need to use the old program Wsdl.exe. But I do not get any intellisense of the parameters more then what type it is like:
this.JiraSrvTalker.createIssue(string In0 and,RemoteIssue In1)
To know that the first parameter should be a token from
this.LoginToken = this.JiraSrvTalker.login(JiraAdmin, JiraAdminPwd);
you have to check documentation.
I was also unable to get parameters on the methods when using a service reference. What I had to do was a strange 'add web reference' trick.
Add Service Reference
Click 'Advanced...', in the lower left corner
Click 'Add Web Reference...', also in the lower left corner
http://<servername>/rpc/soap/jirasoapservice-v2?wsdl
You will now have a 'Web Reference' folder under service references, with the <servername> as the name.
var jira = new com.myserver.JiraSoapServiceService();
var loginToken = jira.login("user", "pass");
var issue = new com.myserver.RemoteIssue();
jira.createIssue(loginToken, issue);
JIRA SOAP API has been deprecated. So use REST API instead.
Here is JIRA REST API .NET wrapper: Atlassian.Net SDK
As per this page https://developer.atlassian.com/jiradev/support/archive/jira-rpc-services/creating-a-jira-soap-client/remote-api-soap-examples, JIRA SOAP API has been deprecated, and as per this page https://developer.atlassian.com/jiradev/latest-updates/soap-and-xml-rpc-api-deprecation-notice, completely removed from JIRA 7.0+.
I would recommend to go with JIRA REST API.

Resources