We are using TFS 2018 and we'd like to generate SSRS report on the test cases linked to acceptance criteria.
Following are the issues:
1) Acceptance criteria field is not available in TFS_Datawarehouse.
2) Is there any recommended/best practices suggested by microsoft to track acceptance criteria for a user story being linked to test case?
Thanks,
Aruna
As the Acceptance Criteria fields is not the reportable field in TFS Server, so we cannot get the field's data from TFS warehouse or analysis databases. Please see Reportable fields reference for Visual Studio ALM for details.
You can try to create work item query to get your User Story work items and select the Acceptance Criteria column in query result to track it. Please see Query by titles, IDs, and rich-text fields for details.
Related
I've been asked to take a bunch of saved TFS Work Items > Shared Queries and reverse engineer them as SSRS reports for more elegant dashboarding.
For all of these I can right-click > Query Editor and it will take me to the Query Editing GUI, which has drop-down list for fields, but I'm not seeing any functionality that allows one to view the underlying WIQL query against the TFS_Warehouse (I'm assuming) database.
Question: Is there a way to get the underlying WIQL for a given TFS Shared Query?
I've done some searching on my own, and am finding multiple pages related to writing your own, but none where you can get the pre-existing for a shared query.
To get the underlying WIQL you can use File-Save as
Pick "file" as target option:
To create a warehouse query use the new report option in the Team tab in Excel. That will allow you to select a work item query which will be turned into a report.
See:
https://jessehouwing.net/vsts-tfs-generate-work-item-query-for-tfs-api/
In TFS we have a feature called Inbox. All users of TFS can register userstories (idea’s, suggestions etc.) under this feature. Productowners validate once in the month all the userstories and link them to another feature. This is a manual action that takes a lot of time.
Is there a possibility to create a query, export the query to Excel, change the featureID and publish it again?
I already did some attempts but in most of the attempts the connection with the original feature was lost.
We are using TFS 2013.
You can use Backlog in TFS web access to drag User story from one Feature to another. It's very convenient.
Adding:
You are right that in TFS 2013, we can't drag items on Backlogs. But we can drag them in a query result in VS. I just tested with VS2015+TFS2013.5. Select "Work Items and Direct Links" in a work item query, and add clauses as the screenshot:
Then you can drag the User Story to any Feature in the Query result. After save the result, the User Story will go to the new Feature:
Yes you can. There is Add-in to Excel - Team Foundation Add-in. You can use it to load query results into excel(New List in Add-in tab), change come fields in the results (you can customize fields in query's Column options) and then publish the results.
I need to collect information about test cases and test execution results directly from JIRA DB (Oracle 11g) with Zephyr plugin but I cannot find where exactly that information is stored by the plugin.
Can someone share typical DB schema for Zephyr plugin?
For now I only could find that testcases are the same as jira's issues and stored together in jiraissue table and information about executions are somewhere like 'AO_%' tables.
You can list out the AO_* tables-to-plugins relations inside JIRA. It's under Administration >> System >> Advanced/Plugin Data Storage. (eg: https://yourjiraserver/plugins/servlet/active-objects/tables/list)
Here, you should find "Zephyr for JIRA" in the first column, and the second column will tell all the tables you have regarding this plugin.
I require to get all "Bug" entities from a TFS Team Project, for a specific date, it means that entities atributes should have values they had the date I specify. Kind of all bugs snapshot for a specific day.
Is it posible to do via a TFS query?
Thanks for your attention.
Probably you can not do this via standart tools provided by TFS portal.
But there is TFS API for you. Look at WorkItemStore class. It has many methods including GetWorkItem(Int32, DateTime) Gets the previous state of a work item that is specified by ID and date. https://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.workitemtracking.client.workitemstore.aspx
Thinking in user stories, my requirement would be:
As a development department manager, I want to get the full list of iterations by team project, in order to have a full view of the milestones set for all the teams.
My initial approach is a query to the database. Which could be a good approach to build this query?
Is there another way to get it?
Querying the TfS operational store directly is unsupported and can lead to your system being unsupported. You should use the reporting tools instead.
TFS creates a data warehouse and cube where all the information is stored for reporting purpose's. You can just plug Excel into the data warehouse a query tye data that you need. If you want trend analysis you can also query the cube.
http://msdn.microsoft.com/en-us/library/bb649552.aspx
If you have team explorer installed you can also retrieve work items from queries to the operational store through the API. Any query that you can get in TFS you can load into excel.
http://msdn.microsoft.com/en-us/library/ms181675.aspx