In a TFS web interface, is it possible to create a kanban board style rule for when a date field is blank? For example, I want to highlight all items in a given column that do no have a date set in one of the fields.
I have the following rule, which I would expect to highlight a card without a set "Design Target" date while in the "In Design" column, but the rule isn't applying to any of the cards. Is there special syntax for blank date?
is it possible to create a kanban board style rule for when a date field is blank?
I am afraid we could not to create kanban board style rule with date field is blank.
As we know, the type of the date field is Date time:
The value of this date field should be like: #Today or specify dates(Enter dates in the Date Pattern you set for your personal profile).
You can check the document Query by date or current iteration for some more details.
If we set the value is blank, this value is string style not the date type, this should be invalid date value. That is the reason why the rule isn't applying to any of the cards.
If you want to highlight a card without a set "Design Target" date while in the "In Design" column, you can give a large range of values to the Design target, for example:
Design Target > 9/4/2015
Or
Design Target < 9/4/2022
Hope this helps.
Related
I have two tables in data studio:
I'm asking the user to select two dates to compare two weeks. This way, we can see the two weeks' data side by side. However, I also want to see the percentages of change based on vendor. Is there a way to show this? Or how can I improve the comparison method ?
note: vendor name field is not fixed. it can change for every week.
Data Studio provides a way to compare current date with previous one, but the comparison parameter will be fixed (eg. "current week vs previous week", "current month vs 2 months ago"). That means you won't be able to drop a selector for your users.
With this feature you to select the current date (or a range of dates) and it will always compare to the period you choose in design view. (I usually select the option "previous period", so if the user select a week, the comparison will be with the previous week; if the user select a month, the comparison will be with the previous month).
To achieve this, just check this entry in the documentation.
Another limitation is that it will always display the difference between current value and previous value (delta). Currently, you can't change this behavior.
In the Work Item type like Bug or Task the start date allows to select any date however we want the Work Item allows the start date to be in the date frame set for a particular Iteration.
how to set such a rule for Work item in TFS?
Unfortunately there isn't such a rule/feature in TFS can achieve that, we can only apply an existing field rule to a work item type, please see Add a rule to a work item type
So as a workaround you can write you own rules using TFS Aggregator just as #Jayendran mentioned.
You can also try another workaround:
Instead of entering the start date, you can auto fill the Start Date field on some event (eg: when changed the state from "New" to "Approved").
For example we first open the work item and assign to Developer. When he is ready start working on the task, he will change WI state from "New" to "Approved". In this case the start will pick the current date & time. when he done the development, developer will change the WI state to "Done", and the end date will pick the current date & time. Thus the work item within the particular iteration, so the actually Start and End date will also between Iteration Dates
I know you can query by state change date instead of column change date if you are using the default columns that match the state. But our TFS board columns are custom. I can see the board column changes in the work item history, so they are clearly stored somewhere. I'm happy with help on a query or if there is some way to do it through the query tool that I haven't figured out.
Thanks.
You can only list work items with Kanban query fields, but can't get column change date.
You need to use TFS api to get work items revisions, and check whether System.BoardColumn field is changed in any revision.
I am trying to create a web-part to show items that relate to a certain field and are before an expiration date using a web-part in SharePoint 2007.
The list has a Title field, a URL field a Related field and an ExpireDate field.
So the list looks like this:
Title URL Related ExpireDate
Resolution http://blah Service 5/14/2013
Solution http://blah2 Records 9/14/2012
So if I need the items that are related to service today's date is before the expiration date I want it to display.
Do I need a calculated Column?
Ended up using a view where ExpireDate is greater than or equal to [Today] And RelatedField contains Service.
With the following formula in my calculated column which formats the date & time column:
=TEXT(DatePublished,"d/m/yyyy")
How may i make sure the other dates are disabled when users create a custom list item, ie. users have actually no option to select any other dates?
Or maybe disable the calendar when they click on the calendar icon?
A workaround or am i missing out a lot?
oh my, sorry. I missed out something big, could have used the already available 'Created' field. Then create another calculated column 'DatePublished' with formula:
=TEXT(Created,"dd/m/yyyy")