Hello,
I have a problem with the “Task Manager Application” and the kanboard.
I would like that when a user logs in, only the tasks assigned to him are displayed, which unfortunately does not work.
As code I have {{kanbanboard user=“TestBoy” space=“TaskManager”/}}
used. But it still shows me the ToDo and everything from each account.
The task manager code is
{{velocity}}
#set ($discard = $services.localization.use(‘document’, ‘TaskManager.TaskManagerTranslations’))
#set ($discard = $xwiki.ssfx.use(‘uicomponents/widgets/userpicker/userPicker.css’))
#set ($columnsProperties = {
‘number’: {“type”:“number”,“size”:10},
‘name’: {“type”:“text”,“size”:10, “link”:“view”},
‘project’: {“type”:“list”,“size”:10},
‘status’: {“type”:“list”,“size”:10,“html”:true},
‘severity’: {“type”:“list”,“size”:10,“html”:true},
‘reporter’: {“type”:“text”,“size”:10,“html”:true},
‘assignee’: {“type”:“text”,“size”:10,“html”:true},
‘duedate’: {“type”:“text”,“size”:10},
‘_actions’: {“sortable”:false,“filterable”:false,“html”:true,“actions”:[“edit”,“delete”]}
})
#set ($options = {
‘className’: ‘TaskManager.TaskManagerClass’,
‘resultPage’: ‘TaskManager.TaskManagerLiveTableResults’,
‘translationPrefix’: ‘taskmanager.livetable.’,
‘tagCloud’: true,
‘rowCount’: 15,
‘maxPages’: 10,
‘selectedColumn’: ‘name’,
‘defaultOrder’: ‘asc’
})
#set ($columns = [‘name’, ‘project’, ‘status’, ‘severity’, ‘reporter’, ‘assignee’, ‘duedate’, ‘_actions’])
livetable(‘taskmanager’ $columns $columnsProperties $options)
{{/velocity}}
I don’t understand the explanation:
How can you use it?
Simply, just by writing the following line in a page:
{{kanbanboard space=“TaskManager” /}}
Parameters:
- user [optional, default=$xcontext.userReference] define the user for who tasks are assigned
- space [optional, default=TaskManager] define the space to look for tasks
- project [optional, default=] define the project to look for tasks
Can someone help me please
Thank you