How to create filter on discussion comments in Rally? - rally

I'm new to Rally tool. I need to create a filter on comments in Discussion of User stories. In the custom list view I was able to fetch the discussion field which displays number of comments inside the discussion and on click displays comments. However I'm struggling to create filter on this comments/discussion field. How can I achieve this?

Related

Comment functionality on every page in Yii 1.1

I am using Yii 1.1.16 for one of my projects.
I have 5 controllers at the moment, and their data is coming from their respective models.
Now I want to add new functionality into my website, regarding comments. I want to add a form at the bottom of each view, but obviously the data will be coming from another database table (I have created a new model for that).
I am confused. Should I create 5 different forms in HTML for my problem, or can I use Yii widgets functionality to implement the same?
The Comment table would be the same for every user in the database. Comments will be coming with the help of their user id, which is stored in the table, and their comment will be inserted with the help of their user id, too.
Please let me know the best solution you can think of.
I suggest to create one widget for displaying comments section and one controller for handling request from this widget (for example adding new comment or displaying different page of comments list). In this way adding comments for any section should require only few lines of code to initialize widget:
$this->widget('CommentsWidget', [
'parentId' => 'page-' . $model->id,
]);

Get blog post custom field in template head - Sitefinity

I need to set several meta tag values in my page head to values set in blog post custom fields.
How do I access the blog item viewmodel from the head?
I've created a separate MVC view snippet for my custom head and referenced it in my template's layout, that much works.
Tried
I grab some of the same custom field values inside my blog template via references like Model.Item.Fields.MyFieldName.Fields.Title.
Adding this same line to the head template throws a
System.Web.HttpCompileException with little useful information attached. I somewhat expected this, as I suspect that viewmodel for the blog post only exists in the context of the blog widget.
Ends up that I need to rebuild after every change to the head cshtml file or I get this error. Seeing as this is about a four-minute process with Sitefinity (15 seconds to build, 3:45 to do whatever Sitefinity does for about four minutes), this is a gruelingly horrid thing to have to do.
However the Model is null at this level.
Also tried
Per the ever-helpful and highly knowledgeable #Veselin Vasilev, I looked into passing the data up via MetaDataFields. I didn't see these options in my admin section for the widget. To clarify, I'm using the built-in "Blog posts" widget with a customized view file.
But if it's possible to do this, it gives me hope that there's a way to pass more data up, even if it's going to take some work.
EDIT: Sitefinity v.10.2 and above:
There is an easier way to achieve what you are trying - in Page edit mode, in the Blog Posts widget click Edit and then Advanced. Then you should see a MetaDataFields button. Click it and you should see several meta data related fields.
In the MetaTitle field put the name of your custom field and save.
Also, from the docs:
If you leave MetaTitle field empty, Sitefinity CMS adds takes its value from the Title field of the static content item or from the identifier field of a dynamic content item. Otherwise, the tag is populated with the contents of the field that you have entered in MetaTitle field.
More details here:
https://docs.sitefinity.com/configure-meta-title-and-meta-description-on-widget-level
Sitefinity 10.1 and below:
Check this article
Basically, in your view you get a reference to the Page object and then update its Header with the meta data you need.

Create custom report in Rally

I would like to create a custom report in Rally which does the following:
Show all the user stories which were added once the sprint started
Show all the user stories which were moved/split into the next sprint
I wasn't able to work with the current options while trying to create a custom report. Would appreciate if someone could help me with this.
There is an app called Iteration Scope Change you can add to your dashboard or a custom page which will show a lot of these details. It definitely will show items added/removed during the sprint. Not sure on the second bullet, but it's worth trying it out and seeing if it meets your needs...

Shopify: Show multiple collections on one page

In the image below, you can see I've managed to make a drop down menu in a Shopify store. The drop down menu contains some collections. My question is: when user clicks on "Men's" s/he's directed to a certain collection (right now: Walk shorts).
Is it possible that when user clicks on "Men's", s/he's presented with all the collections that you see in that drop down menu?
You can do this using tags.
Have all you product in those collection tagged with the tag "men", then simply have the top link to /collections/all/men
http://docs.shopify.com/manual/your-store/products/edit-tags
Charles is right, you can do this with tags.
I suggest taking a look at this article in the Shopify docs:
Creating subcategories of products. It explains how to create subcategories with tags and gives a few examples of how to display them on one page.

Rally software cardboard with only a iteration dropdown and defects cards

How do I create a cardboard in Rally Software that has just an iteration dropdown and a defect list. I have tried the examples on the dev site and they give me user stories and defects. I just need the defects.
If you look at the example on this page, you will need to change this line:
types : ["Defect", "HierarchicalRequirement"],
to this
types : ["Defect"],
-- Mark
actually, not sure that page has the example tied to iteration dropdown. However, I went through this myself :) Check this post out, and take the above advice on that code. Rally Custom Kanban
on that code, you will want to replace the
a
b
c
etc
with the names to your column headers, and also assign it the proper field to look at (code uses KanbanState field.