I am attempting to create a template for our 4-weekly sprint reports.
Included within it are multiple tasks, assigned to various team members, and I want to add a due date to these tasks. In a normal page, I would type '//' then select a date.
However, the two dates I care about are the sprint start date and sprint end date, and each of these appears many times in the template.
Therefore, I want to add $start_date and $end_date variables.
However, when I create a new page based on this template, confluence does not expand '//' into a date entry dialogue, and so the resultant tasks are not properly tagged with due dates.
Is there any way to achieve what I need here?
I don't know if I understand your question correctly.
If you want to add the date picker to your blueprint template, the XML fragment (storage format) is this:
Don't know if this applies also to user templates (if you are referring to them).
This project may serve as an example: https://bitbucket.org/atlassian/confluence-business-blueprints/, especially BusinessBlueprintsContextProviderHelper
Hope this helps ...
Our plugin the Page Tree Creator has a date picker and is very easy to use. It also supports multi-page templates without any programming skills.
I know, this is not exaclty the answer you are looking for, but give our Page Tree Creator a try.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG