-
-
-
-
-
-
-
Item State:
Stage QA
- Production Deployment on Hold
-
Env - Stage
Company - TSR Onboard
*Scenario 1] *
1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
2] Try to add employee with below parameter
"AssignDefaultPayrollSchedule":false,
"payrollSchedule":"Monthly"
3] Below error response is display, but employee is get added to WT:
{
"status": "Error",
"message": "Add Employee record failed",
"errorLevel": "Error",
"code": 500,
"description": "Error occured while assigning payroll schedule to employee, please contact system administrator."
}
4] When admin login to Workterra and click on respective employee name from search employee, server error is displaying:
*Scenario 2] *
1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter)
"payrollSchedule":"Monthly"
3] Employee get added successfully, but the payroll schedule of this employee is Biweekly.
*Scenario 3] *
1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
2] Try to add update any existing employee with below details:
"AssignDefaultPayrollSchedule":false,
"payrollSchedule":"Monthly"
Actual Result:
Below error is displaying: (Refer screenshot - Scenario1)
{
"status": "InternalServerError",
"message": "Object reference not set to an instance of an object.",
"errorLevel": "Error",
"code": 500,
"description": "Error occured while processing HTTP request."
}
Cc: Saurabh Sablaka, Prasad Pise
- relates to
-
NF-3998
Regression testing for TSR Integration with Old UI on Stage
-
-
Closed
{"report":{"apdex":1,"isInitial":true,"journeyId":"54e966c7-bda0-442a-95d9-f270d590e1ff","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":704.3000000119209,"redirectCount":0,"resourceLoadedEnd":922.4000000059605,"resourceLoadedStart":132.2000000178814,"resourceTiming":[{"duration":103,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":132.2000000178814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":132.2000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":235.2000000178814,"responseStart":0,"secureConnectionStart":0},{"duration":102.7000000178814,"initiatorType":"link","name":"https://jira.workterra.net/s/dd6a0911920485696ac20493290df627-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":132.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":132.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":235.2000000178814,"responseStart":0,"secureConnectionStart":0},{"duration":102.80000001192093,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":132.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":132.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":235.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":102.7000000178814,"initiatorType":"link","name":"https://jira.workterra.net/s/bd548f27bbf8f278bd83b60dd3284ed8-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":132.59999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":132.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":235.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":102.69999998807907,"initiatorType":"link","name":"https://jira.workterra.net/s/70725731a158a7140f19ddbd4201ba27-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":132.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":132.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":235.5,"responseStart":0,"secureConnectionStart":0},{"duration":117.59999999403954,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":132.80000001192093,"connectEnd":132.80000001192093,"connectStart":132.80000001192093,"domainLookupEnd":132.80000001192093,"domainLookupStart":132.80000001192093,"fetchStart":132.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":132.80000001192093,"responseEnd":250.40000000596046,"responseStart":250.40000000596046,"secureConnectionStart":132.80000001192093},{"duration":204.90000000596046,"initiatorType":"script","name":"https://jira.workterra.net/s/6ce676f2a5bcc9651cef6e7956f05def-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":133,"connectEnd":133,"connectStart":133,"domainLookupEnd":133,"domainLookupStart":133,"fetchStart":133,"redirectEnd":0,"redirectStart":0,"requestStart":133,"responseEnd":337.90000000596046,"responseStart":337.90000000596046,"secureConnectionStart":133},{"duration":207.5,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/4.1.5/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en-US","startTime":133.09999999403954,"connectEnd":133.09999999403954,"connectStart":133.09999999403954,"domainLookupEnd":133.09999999403954,"domainLookupStart":133.09999999403954,"fetchStart":133.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":133.09999999403954,"responseEnd":340.59999999403954,"responseStart":340.59999999403954,"secureConnectionStart":133.09999999403954},{"duration":207.7999999821186,"initiatorType":"script","name":"https://jira.workterra.net/s/6aa3fcf1fac5fd551eee0b69077524e6-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":133.30000001192093,"connectEnd":133.30000001192093,"connectStart":133.30000001192093,"domainLookupEnd":133.30000001192093,"domainLookupStart":133.30000001192093,"fetchStart":133.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":133.30000001192093,"responseEnd":341.09999999403954,"responseStart":341.09999999403954,"secureConnectionStart":133.30000001192093},{"duration":208,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":133.5,"connectEnd":133.5,"connectStart":133.5,"domainLookupEnd":133.5,"domainLookupStart":133.5,"fetchStart":133.5,"redirectEnd":0,"redirectStart":0,"requestStart":133.5,"responseEnd":341.5,"responseStart":341.5,"secureConnectionStart":133.5},{"duration":208.30000001192093,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":133.59999999403954,"connectEnd":133.59999999403954,"connectStart":133.59999999403954,"domainLookupEnd":133.59999999403954,"domainLookupStart":133.59999999403954,"fetchStart":133.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":133.59999999403954,"responseEnd":341.90000000596046,"responseStart":341.90000000596046,"secureConnectionStart":133.59999999403954},{"duration":208.5,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":133.7000000178814,"connectEnd":133.7000000178814,"connectStart":133.7000000178814,"domainLookupEnd":133.7000000178814,"domainLookupStart":133.7000000178814,"fetchStart":133.7000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":133.7000000178814,"responseEnd":342.2000000178814,"responseStart":342.2000000178814,"secureConnectionStart":133.7000000178814},{"duration":209,"initiatorType":"link","name":"https://jira.workterra.net/s/05c862146699bb029ceb0a489075e63b-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/bcd66e9a133a1b9f5fd14b56841e1c5b/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":133.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":133.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":342.80000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":209,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/ea6f30d2bfdc99578bb23f4a5bac3ecd/shortcuts.js?context=issuenavigation&context=issueaction","startTime":133.80000001192093,"connectEnd":133.80000001192093,"connectStart":133.80000001192093,"domainLookupEnd":133.80000001192093,"domainLookupStart":133.80000001192093,"fetchStart":133.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":133.80000001192093,"responseEnd":342.80000001192093,"responseStart":342.80000001192093,"secureConnectionStart":133.80000001192093},{"duration":209.2000000178814,"initiatorType":"link","name":"https://jira.workterra.net/s/9095228fa10daa2d3e3d7d5760c95e91-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":134,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":134,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":343.2000000178814,"responseStart":0,"secureConnectionStart":0},{"duration":209.2000000178814,"initiatorType":"script","name":"https://jira.workterra.net/s/c19a1b46e985d7fb85efaf27c8febfdd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":134.09999999403954,"connectEnd":134.09999999403954,"connectStart":134.09999999403954,"domainLookupEnd":134.09999999403954,"domainLookupStart":134.09999999403954,"fetchStart":134.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":134.09999999403954,"responseEnd":343.30000001192093,"responseStart":343.30000001192093,"secureConnectionStart":134.09999999403954}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":51,"responseStart":126,"responseEnd":127,"domLoading":130,"domInteractive":958,"domContentLoadedEventStart":958,"domContentLoadedEventEnd":1009,"domComplete":1671,"loadEventStart":1671,"loadEventEnd":1675,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"3db4d1e86274fc","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":63,"dbReadsTimeInMs":3,"dbConnsTimeInMs":5,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Hi Kunal Kedari,
For Scenario1 and Scenario3
-Following message is display if payrollschedule is not valid and AssignDefaultPayrollSchedule = false.
{
"status": "Error",
"message": "Invalid Payroll Schedule",
"errorLevel": "Error",
"code": 400,
"description": "Parameter value supplied for PayrollSchedule does not exist"
}
Scenario2
1] Suppose there is only one payroll schedule is present in Workterra - Bi Weekly (default)
2] Try to add employee with below parameter: (do not pass AssignDefaultPayrollSchedule paramter)
"payrollSchedule":"Monthly"
3] Employee get added successfully, but the payroll schedule of this employee is Biweekly.
This is not a valid senario so no changes done for this.
Cause when we want to assign payroll schedule other than default then we have to pass AssignDefaultPayrollSchedule paramter = false.Other wise by default AssignDefaultPayrollSchedule paramter is true so default payroll schedule is assigned to employee.
CC : Saurabh Sablaka Ramya Tantry