Filtering in Kanban board in TFS 2015 not working for tags with spaces - tfs-2015

When I try to filter the Kanban board with tag names containing space, then it does not give proper result.
For example: When I search for "feature 1", then the result looks something like this:
But, I need results only with "feature 1".
Is this the expected behaviour?

It looks like that's because filtering on the Kanban board consumes other fields of the backlog items (at least, title), not only tags. Besides, the words separated by white space in the filtering field seem to be searched separately.
As far as I can see, couple of your PBIs have " 1" in the name. That's why when you search for "feature 1" it finds those with "feature 1" tab and those with " 1" in the title. Rename the PBIs to something real and that won't be the case.
This definitely looks like a bug, no doubt.

Related

SSRS Loop through data, adding a new title if the chapter/section changes

I'm building an SSRS report in Report Builder 3.0 (2014). I have five sections of data I'm working with: inspection number, chapter, section, code, and description. The report is only going to show data for one inspection, so all data is filtered on InspNo first. There are often multiple codes associated with an InspNo.
What I have: for every code associated with an inspection, the code is listed along with its description.
What I need: I need to add the chapter and section info, but only when it changes. For example, let's say the codes associated with an inspection are 302.7, 304.10, 304.12, and 505.1. I would like the result to be as follows:
Chapter 3
Section 302
302.7 - Description
Section 304
304.10 - Description
304.12 - Description
Chapter 5
Section 505
505.1 - Description
I have tried using Lists, but the chapter and section get repeated for every code. Any ideas how to make it work?
****UPDATE****
I'm getting closer to a solution. Right now I'm using a combination of textboxes and lists. The chapters and sections are text boxes, and the codes/descriptions are lists. All of the elements have a visibility expression using InStr. The lists are working perfectly. However the text boxes are giving me issues.
It seems my visibility expressions on elements outside of lists are only looking at the first piece of the pulled data. In the example above, Section 302's visibility expression is =IIF(InStr(Fields!FAILEDCODE.Value, "302") > 0, False, True). This is working great because the first code is 302.7. Section 304's visibility expression is =IIF(InStr(Fields!FAILEDCODE.Value, "304") > 0, False, True). This text box is always hidden. It seems like Report Builder is only checking this InStr value against the first line of data, not the entire set. Does anyone know if this is accurate or if there's a workaround?

Searching for multiple parameters in URL using JQL

I am new to Jira and am trying to understand JQL. I have been trying to figure out a way by which I can search for multiple parameters in a URL using the '%' wild card char using JQL.
So here's the sample JQL I am running in the advanced search section :-
"Business Unit/Domain" = "My Back Window" AND "PoC URL" ~ "%q=mm&start=%"
Now there are several URLs of the form
http://www.myhouse.com/index/refine?q=mm&start=0;xyz
Now when I do the above JQL i get the above URL as the result. But if I change the JQL to something like :-
"Business Unit/Domain" = "My Back Window" AND "PoC URL" ~ "%q=mm%"
I do not get any results at all. Logically using the 'like(~)' operator and the wild card char, '%', in the above fashion should also give me the result that I received from the former JQL, right ?
I come from the SQL background and am trying to assume that JQL is quite similar to SQL, unless of course I am missing something.
So what am I missing here ? Why don't I get the expected result and if this is the way JQL works then please advice a suitable work around for doing what is intended as indicated in the latter JQL. (That is searching for multiple parameters in a URL using ~ and % in JQL).
Why are you using '%' character? This is a reserved character in JQL and you also do not need it - you can just type "q=mm&start="
"Business Unit/Domain" = "My Back Window" AND "PoC URL" ~ "q=mm"
There is also a bug which prevents searching for terms which contain special characters even if properly escaped
https://jira.atlassian.com/browse/JRA-25092
See this page for more information:
https://confluence.atlassian.com/display/JIRA/Performing+Text+Searches

Rally Query to seperate similar looking tags e.g. Project N and Project Name

I have a scenario where I have two Similar looking tags "Project N" and "Project Name". There is a custom grid (Defect) that has a query thats intended for "Project N" but also catches "Project Name" what is the best way to exclude "Project Name" when im looking for "Project N"
Sample Query
(((Requirement.Tags.Name contains "Project N") AND (State < "Closed")) AND (Tags.Name !contains "Project N"))
I don't have a set of tags in a similar situation to test with, but it seems like if you change the !contains to "Name" it should get just the "Project N" tagged items, without getting the "Project Name" tagged items.
(((Requirement.Tags.Name contains "Project N") AND (State < "Closed")) AND (Tags.Name !contains "Project Name"))
That should find all of the items that are tagged as "Project N" and with a state less than closed, and which are not tagged with something with "Project Name". - However, if the items that are tagged with "Project N" are also tagged with "Project Name" or are also tagged another tags such as "Project Name - Condor", it will exclude those items. ... I am not sure there is a way to get around that with the custom grid; I think you would need to create a custom report to avoid that situation, though I could be wrong.
I have setup the same set of tags and tested the same query string however I am not running into the same issue. I tried:
(((Requirement.Tags.Name contains "Project N") AND (State < "Closed")) AND (Tags.Name !contains "Project N"))
My query is excluding the User Story with the 'Project Name' tag as desired.
If this is still not working for you I would suggest you open a case with Rally Support using the Contact Support link at the bottom of any page in Rally.

How to get content from the Wikipedia API for a movie?

I tried to get the description of the movie "Your Highness" from the Wikipedia API but it gives me nothing.
http://en.wikipedia.org/w/api.php?format=xml&action=query&titles=your%20highness&prop=revisions&rvprop=content
When I google "Your Highness" wikipedia shows up as the third result, that's the page that I want the API to give me.
Also I just want the text of the description of the movie, no wiki-syntax mixed in or anything.
I was wrong before about the problem being a space - it looks like it was just capitalization. If we just change your URL to use Your%20Highness instead of your%20highness it works:
http://en.wikipedia.org/w/api.php?format=xml&action=query&titles=Your%20Highness&prop=revisions&rvprop=content
EDIT: While not all titles are title-cased (such as "The Name of the Rose") if you use the &redirects query parameter, it sometimes helps - it certainly helps in "the name of the rose" but not for "your highness" for some reason. Wouldn't like to say why, but it's probably worth more investigation...

Twitter search API VS Operators

I've found this page about the Twitter search API and some operators :
http://search.twitter.com/operators
But is it possible to make a search like :
All posts containing the words "ipod OR ipad" AND all posts containing the words "funny OR joke" in just one query ?
Like : "happy AND hour" OR "ipod AND ipad" (in the same query)
In a search string, it would be something like :
"fun+sexy"+OR+"joke+sexy"
BUT, this string in the API returns ONLY posts with the two words together, I would like to have the posts that contins "fun AND sexy", but not necessarily the two words together.
example : It returns posts like : "this is fun sexy cool" (somehow twitter ignores commas)
and doesn't returns posts like : "this is fun, cool and sexy"
This doesn't look like it's possible (in the same query). Of course, you can do it with 2 different queries ;) . I think it's the only way.
Yes, you could do this:
http://search.twitter.com/search?q=funny+OR+joke
http://search.twitter.com/search?q=iPod+AND+iPad
http://search.twitter.com/search?q="happy+hour"
Update http://search.twitter.com/search?q="fun+sexy"+OR+"joke+sexy"
The API clearly says that. If you want results having "Happy hour" (text after another), surround it with double quote (")
Have you tried?
I get different results from "ipad AND iphone" than I do from "ipad OR iphone", and the "AND" query only gives me ones with both, so it appears to work just fine.
It looks like "AND" is unnecessary, as terms are ANDed by default.