x-labels-start - date from card?

Follow

Comments

6 comments

  • Avatar
    Mansi Shah

    Hi Peter,


    You should be able to use a Project Variable in the data series chart x-labels-start property in the following format


    x-labels-start: (Current Iteration)


    where (Current Interation) is my Project Variable.


    In your case the last option you mentioned x-labels-start: (Start Date) should work. Could you tell me what error message do you get when you use this syntax in your data series chart?


    Thanks!


    Mansi

  • Avatar
    Bladh

    Hi Mansi,


    I would like to avoid using a project variable for the date; it should be enough to have a variable for the current sprint.


    Anyway, this syntax


    x-labels-start: (Start Date)


    Also gives me this error: "Error in data-series-chart macro: Parameter x-labels-start must be a valid date"


    Thanks,


    Peter

  • Avatar
    Mansi Shah

    Ahh, I'm going to add that as a feature request in the Mingle product backlog.


    x-labels-start: (Start Date), where Start Date is a Project Variable of type Date should work. I've just tried this and it works for me. Would it be possible for you to send across you project export for me to have a look at this chart? You could send it to support@thoughtworks.com and I could get back to you with a solution.

  • Avatar
    Bladh

    >> x-labels-start: (Start Date), where Start Date is a Project Variable of type Date should work


    It does work.


    >>Ahh, I'm going to add that as a feature request in the Mingle product backlog.


    Sounds good!

  • Avatar
    Suzie Prince

    Hi Peter


    If you are creating this chart on the sprint card you can also use this syntax:


    {{  


    data-series-chart    
    conditions: "Sprint Tree - Sprint" is (Current Sprint) AND 'Type' = 'Story'   
    cumulative: true
    x-labels-start: THIS CARD."Start Date"
    ...


    }}


    You can read more about this here.


    If you add this chart syntax to the Sprint card card defaults you will automatically get a sprint report on each sprint card.


    Thanks


    - Suzie

  • Avatar
    Bladh

    Ah, that's pretty nice! 


    Thanks, Suzie! Smile


    PS - Would still like to use this feature on a wiki, though

Please sign in to leave a comment.