-
Type:
Bug
-
Status:
Closed
-
Priority:
Medium
-
Resolution:
Done
-
Affects Version/s:
None
-
Fix Version/s:
None
-
-
-
-
-
Item State:
Production Complete
- Closed
-
1. Launch the Postman app.
2. Select “Post” request from dropdwon.
3. Select authorization type as “Basic Auth”.
4. Enter valid User ID and Password.
5. Enter below URL:
http://10.0.2.120/api/employee/addEmployeeTour
6. Pass the require parameter using body.
(Do not mentioned payroll scheduled in parameter)
"Company":"12480",
"JobID":1245,
"JobPosition":"test",
"CandidateID":"13760",
"FirstName":"Q",
"LastName":"R",
"EmailID":"s227458@test.com",
"EmploymentStartDate":"03/17/2017",
"AnnualSalary":"$120000.0",
"TourID":28,
7. Click on Send button.
Actual Result:
In output we are seeing message Invalid Payroll schedule message, but when we check in DB employee is added.
Expected Result:
Employee should not be get added without payroll schedule, and if it there is no such constraint then should employee added message on screen.
Please note same issue exists if we mentioned in input : AssignDefaultPayrollSchedule":false
Cc: Saurabh Sablaka, Prasad Pise
- relates to
-
NF-180
TSR: API: Add Employee- generate & assign defaults
-
-
Closed
{"report":{"apdex":1,"isInitial":true,"journeyId":"0de9dc94-0c20-4007-aa32-37b03b6560d0","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":840.6000000238419,"redirectCount":0,"resourceLoadedEnd":914.5,"resourceLoadedStart":117.89999997615814,"resourceTiming":[{"duration":211.5,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":117.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":117.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":329.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":211.19999998807907,"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":118.30000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":118.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":329.5,"responseStart":0,"secureConnectionStart":0},{"duration":210.89999997615814,"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":118.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":118.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":329.5,"responseStart":0,"secureConnectionStart":0},{"duration":210.69999998807907,"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":118.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":118.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":329.5,"responseStart":0,"secureConnectionStart":0},{"duration":210.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":118.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":118.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":329.5,"responseStart":0,"secureConnectionStart":0},{"duration":268.80000001192093,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":118.89999997615814,"connectEnd":118.89999997615814,"connectStart":118.89999997615814,"domainLookupEnd":118.89999997615814,"domainLookupStart":118.89999997615814,"fetchStart":118.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":118.89999997615814,"responseEnd":387.69999998807907,"responseStart":387.69999998807907,"secureConnectionStart":118.89999997615814},{"duration":375.19999998807907,"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":119.10000002384186,"connectEnd":119.10000002384186,"connectStart":119.10000002384186,"domainLookupEnd":119.10000002384186,"domainLookupStart":119.10000002384186,"fetchStart":119.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":119.10000002384186,"responseEnd":494.30000001192093,"responseStart":494.30000001192093,"secureConnectionStart":119.10000002384186},{"duration":372.5999999642372,"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":119.10000002384186,"connectEnd":119.10000002384186,"connectStart":119.10000002384186,"domainLookupEnd":119.10000002384186,"domainLookupStart":119.10000002384186,"fetchStart":119.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":119.10000002384186,"responseEnd":491.69999998807907,"responseStart":491.69999998807907,"secureConnectionStart":119.10000002384186},{"duration":375.60000002384186,"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":119.19999998807907,"connectEnd":119.19999998807907,"connectStart":119.19999998807907,"domainLookupEnd":119.19999998807907,"domainLookupStart":119.19999998807907,"fetchStart":119.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":119.19999998807907,"responseEnd":494.80000001192093,"responseStart":494.80000001192093,"secureConnectionStart":119.19999998807907},{"duration":375.9000000357628,"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":119.39999997615814,"connectEnd":119.39999997615814,"connectStart":119.39999997615814,"domainLookupEnd":119.39999997615814,"domainLookupStart":119.39999997615814,"fetchStart":119.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":119.39999997615814,"responseEnd":495.30000001192093,"responseStart":495.30000001192093,"secureConnectionStart":119.39999997615814},{"duration":375.5999999642372,"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":120.10000002384186,"connectEnd":120.10000002384186,"connectStart":120.10000002384186,"domainLookupEnd":120.10000002384186,"domainLookupStart":120.10000002384186,"fetchStart":120.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":120.10000002384186,"responseEnd":495.69999998807907,"responseStart":495.69999998807907,"secureConnectionStart":120.10000002384186},{"duration":375.60000002384186,"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":120.39999997615814,"connectEnd":120.39999997615814,"connectStart":120.39999997615814,"domainLookupEnd":120.39999997615814,"domainLookupStart":120.39999997615814,"fetchStart":120.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":120.39999997615814,"responseEnd":496,"responseStart":496,"secureConnectionStart":120.39999997615814},{"duration":376.4000000357628,"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":120.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":120.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":497.10000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":375,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/e80c7a6aee0fa86c2b1a716575a614aa/shortcuts.js?context=issuenavigation&context=issueaction","startTime":121.39999997615814,"connectEnd":121.39999997615814,"connectStart":121.39999997615814,"domainLookupEnd":121.39999997615814,"domainLookupStart":121.39999997615814,"fetchStart":121.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":121.39999997615814,"responseEnd":496.39999997615814,"responseStart":496.39999997615814,"secureConnectionStart":121.39999997615814},{"duration":375.7999999523163,"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":121.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":121.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":497.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":375.30000001192093,"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":121.80000001192093,"connectEnd":121.80000001192093,"connectStart":121.80000001192093,"domainLookupEnd":121.80000001192093,"domainLookupStart":121.80000001192093,"fetchStart":121.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":121.80000001192093,"responseEnd":497.10000002384186,"responseStart":497.10000002384186,"secureConnectionStart":121.80000001192093},{"duration":537.1999999880791,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":123.19999998807907,"connectEnd":123.19999998807907,"connectStart":123.19999998807907,"domainLookupEnd":123.19999998807907,"domainLookupStart":123.19999998807907,"fetchStart":123.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":123.19999998807907,"responseEnd":660.3999999761581,"responseStart":660.3999999761581,"secureConnectionStart":123.19999998807907},{"duration":566.6999999880791,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":123.30000001192093,"connectEnd":123.30000001192093,"connectStart":123.30000001192093,"domainLookupEnd":123.30000001192093,"domainLookupStart":123.30000001192093,"fetchStart":123.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":123.30000001192093,"responseEnd":690,"responseStart":690,"secureConnectionStart":123.30000001192093},{"duration":77.5,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":542.1000000238419,"connectEnd":542.1000000238419,"connectStart":542.1000000238419,"domainLookupEnd":542.1000000238419,"domainLookupStart":542.1000000238419,"fetchStart":542.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":542.1000000238419,"responseEnd":619.6000000238419,"responseStart":619.6000000238419,"secureConnectionStart":542.1000000238419},{"duration":148.79999995231628,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/694dab62de54bbe50ecf28f3e346d08f/_/download/contextbatch/css/jira.rich.editor.api,jira.rich.editor,-_super,-jira.view.issue,-jira.global,-atl.general,-project.issue.navigator/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":668.1000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":668.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":816.8999999761581,"responseStart":0,"secureConnectionStart":0}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":24,"responseStart":110,"responseEnd":111,"domLoading":115,"domInteractive":918,"domContentLoadedEventStart":918,"domContentLoadedEventEnd":975,"domComplete":1435,"loadEventStart":1435,"loadEventEnd":1439,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"88fc0f60b956c1","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":4,"dbConnsTimeInMs":4,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Issue Resolved