-
-
-
-
-
-
-
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":0.5,"isInitial":true,"journeyId":"04370680-5270-40b7-aebf-905c044a8cba","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":2293.5,"redirectCount":0,"resourceLoadedEnd":2907.399999976158,"resourceLoadedStart":837.3999999761581,"resourceTiming":[{"duration":999,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":837.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":837.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1836.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":998.9000000953674,"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":837.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":837.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1836.5,"responseStart":0,"secureConnectionStart":0},{"duration":998.7000000476837,"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":837.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":837.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1836.5,"responseStart":0,"secureConnectionStart":0},{"duration":998.7999999523163,"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":837.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":837.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1836.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":998.8999999761581,"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":837.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":837.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1836.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":1067.6999999284744,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":838,"connectEnd":838,"connectStart":838,"domainLookupEnd":838,"domainLookupStart":838,"fetchStart":838,"redirectEnd":0,"redirectStart":0,"requestStart":838,"responseEnd":1905.6999999284744,"responseStart":1905.6999999284744,"secureConnectionStart":838},{"duration":1087.3999999761581,"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":838.1999999284744,"connectEnd":838.1999999284744,"connectStart":838.1999999284744,"domainLookupEnd":838.1999999284744,"domainLookupStart":838.1999999284744,"fetchStart":838.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":838.1999999284744,"responseEnd":1925.5999999046326,"responseStart":1925.5999999046326,"secureConnectionStart":838.1999999284744},{"duration":1090.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":838.2999999523163,"connectEnd":838.2999999523163,"connectStart":838.2999999523163,"domainLookupEnd":838.2999999523163,"domainLookupStart":838.2999999523163,"fetchStart":838.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":838.2999999523163,"responseEnd":1928.7999999523163,"responseStart":1928.7999999523163,"secureConnectionStart":838.2999999523163},{"duration":1090.7999999523163,"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":838.3999999761581,"connectEnd":838.3999999761581,"connectStart":838.3999999761581,"domainLookupEnd":838.3999999761581,"domainLookupStart":838.3999999761581,"fetchStart":838.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":838.3999999761581,"responseEnd":1929.1999999284744,"responseStart":1929.1999999284744,"secureConnectionStart":838.3999999761581},{"duration":1091,"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":838.5,"connectEnd":838.5,"connectStart":838.5,"domainLookupEnd":838.5,"domainLookupStart":838.5,"fetchStart":838.5,"redirectEnd":0,"redirectStart":0,"requestStart":838.5,"responseEnd":1929.5,"responseStart":1929.5,"secureConnectionStart":838.5},{"duration":1091.3000000715256,"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":838.5999999046326,"connectEnd":838.5999999046326,"connectStart":838.5999999046326,"domainLookupEnd":838.5999999046326,"domainLookupStart":838.5999999046326,"fetchStart":838.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":838.5999999046326,"responseEnd":1929.8999999761581,"responseStart":1929.8999999761581,"secureConnectionStart":838.5999999046326},{"duration":1091.3999999761581,"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":838.7999999523163,"connectEnd":838.7999999523163,"connectStart":838.7999999523163,"domainLookupEnd":838.7999999523163,"domainLookupStart":838.7999999523163,"fetchStart":838.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":838.7999999523163,"responseEnd":1930.1999999284744,"responseStart":1930.1999999284744,"secureConnectionStart":838.7999999523163},{"duration":1091.6999999284744,"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":838.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":838.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1930.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1091.7999999523163,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/344f6dde0e779bc821c159302c8a4389/shortcuts.js?context=issuenavigation&context=issueaction","startTime":838.8999999761581,"connectEnd":838.8999999761581,"connectStart":838.8999999761581,"domainLookupEnd":838.8999999761581,"domainLookupStart":838.8999999761581,"fetchStart":838.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":838.8999999761581,"responseEnd":1930.6999999284744,"responseStart":1930.6999999284744,"secureConnectionStart":838.8999999761581},{"duration":1092.0999999046326,"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":839,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":839,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1931.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1092,"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":839.1999999284744,"connectEnd":839.1999999284744,"connectStart":839.1999999284744,"domainLookupEnd":839.1999999284744,"domainLookupStart":839.1999999284744,"fetchStart":839.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":839.1999999284744,"responseEnd":1931.1999999284744,"responseStart":1931.1999999284744,"secureConnectionStart":839.1999999284744}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":750,"responseStart":831,"responseEnd":832,"domLoading":835,"domInteractive":2937,"domContentLoadedEventStart":2937,"domContentLoadedEventEnd":2982,"domComplete":3313,"loadEventStart":3313,"loadEventEnd":3315,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"1915e6bdeec375","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":3,"dbConnsTimeInMs":3,"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