- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 10:02 PM
Hello ,
I have a requirement to show only the project tasks which are in state "work in progress" in Time sheet portal .
Present i am see all the projects tasks with different states ( work in progress , On hold , Pending , open )
Time sheet portal - > All Tasks - > Project Tasks - > "Here i should see only the project tasks which are in state 'work in progress' ".
where do i need to make changes so that i can see only work in progress project tasks.
Thanks,
Nilesh.
Solved! Go to Solution.
- Labels:
-
Project Portfolio Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2020 12:04 AM
1. Go to
Service Portal Widget -> Time Card Portal - Task Selector
In server script,
2. Search for defaultTables -> it has all the table listed which shows in dropdown. if you want to only show project task then remove other table names and keep only 'pm_project_task'.
3. Search for function getRecords(table) ->
it has if (gr.instanceOf('pm_project') || gr.instanceOf('pm_project_task')) { block
in this if block you can see the encoded query formation for encodedQuery.
You can add 'state=2' to encodedQuery to show only WIP project tasks.
Hope this will help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 10:23 PM
Hi Nilesh,
Do you want to update the list appearing from 'Add unassigned tasks to Time Sheet' link or 'Task' tab?
Regards,
Jayarnab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 10:37 PM
Hi Jayarnab ,
Thanks for the quick response , I did not understand your question clearly.
Let me explain my requirement ,Hours should be billed only in work in progress time sheets.
Ex : There are 5 Project Tasks where my name is added in "Additional Assign List" .
PRJTASK001 - >State is "Open"
PRJTASK002 - >State is "Pending"
PRJTASK003 - >State is "Work in Progress"
PRJTASK004 - >State is "Work in Progress"
PRJTASK005 - >State is "On Hold"
If the go to Time sheet portal - > All Tasks - > Project Tasks - > Here i should see only the project tasks which are in state "work in progress"
Nothing but ( PRJTASK003 , PRJTASK004 )
Thanks,
Nilesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 10:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 11:24 PM