-
Type:
Bug
-
Status:
Closed
-
Priority:
High
-
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.
7. Click on Send button.
8. Employee get added and success message also get display.
9. Search newly added employee using Search Employee page.
Actual Result:
Success message is displaying and employee get added in DB, but it is not listed in Search Employee page.
Prasad Pise
- relates to
-
NF-180
TSR: API: Add Employee- generate & assign defaults
-
-
Closed
{"report":{"apdex":1,"isInitial":true,"journeyId":"ceea4351-2eba-459d-8bf7-8119f5e97d39","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":952,"redirectCount":0,"resourceLoadedEnd":1073.5,"resourceLoadedStart":170,"resourceTiming":[{"duration":262.40000000037253,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":170,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":432.40000000037253,"responseStart":0,"secureConnectionStart":0},{"duration":264.5,"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":170.30000000074506,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":434.80000000074506,"responseStart":0,"secureConnectionStart":0},{"duration":264.5,"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":170.30000000074506,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":434.80000000074506,"responseStart":0,"secureConnectionStart":0},{"duration":264.80000000074506,"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":170.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":435.30000000074506,"responseStart":0,"secureConnectionStart":0},{"duration":264.69999999925494,"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":170.60000000149012,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":435.30000000074506,"responseStart":0,"secureConnectionStart":0},{"duration":302.69999999925494,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":170.80000000074506,"connectEnd":170.80000000074506,"connectStart":170.80000000074506,"domainLookupEnd":170.80000000074506,"domainLookupStart":170.80000000074506,"fetchStart":170.80000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":170.80000000074506,"responseEnd":473.5,"responseStart":473.5,"secureConnectionStart":170.80000000074506},{"duration":349.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":170.90000000037253,"connectEnd":170.90000000037253,"connectStart":170.90000000037253,"domainLookupEnd":170.90000000037253,"domainLookupStart":170.90000000037253,"fetchStart":170.90000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":170.90000000037253,"responseEnd":520.4000000003725,"responseStart":520.4000000003725,"secureConnectionStart":170.90000000037253},{"duration":346.09999999962747,"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":170.90000000037253,"connectEnd":170.90000000037253,"connectStart":170.90000000037253,"domainLookupEnd":170.90000000037253,"domainLookupStart":170.90000000037253,"fetchStart":170.90000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":170.90000000037253,"responseEnd":517,"responseStart":517,"secureConnectionStart":170.90000000037253},{"duration":350.5,"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":171,"connectEnd":171,"connectStart":171,"domainLookupEnd":171,"domainLookupStart":171,"fetchStart":171,"redirectEnd":0,"redirectStart":0,"requestStart":171,"responseEnd":521.5,"responseStart":521.5,"secureConnectionStart":171},{"duration":350.80000000074506,"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":171.30000000074506,"connectEnd":171.30000000074506,"connectStart":171.30000000074506,"domainLookupEnd":171.30000000074506,"domainLookupStart":171.30000000074506,"fetchStart":171.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":171.30000000074506,"responseEnd":522.1000000014901,"responseStart":522.1000000014901,"secureConnectionStart":171.30000000074506},{"duration":351.19999999925494,"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":171.30000000074506,"connectEnd":171.30000000074506,"connectStart":171.30000000074506,"domainLookupEnd":171.30000000074506,"domainLookupStart":171.30000000074506,"fetchStart":171.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":171.30000000074506,"responseEnd":522.5,"responseStart":522.5,"secureConnectionStart":171.30000000074506},{"duration":358.5,"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":171.40000000037253,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":171.40000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":529.9000000003725,"responseStart":0,"secureConnectionStart":0},{"duration":351.40000000037253,"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":171.40000000037253,"connectEnd":171.40000000037253,"connectStart":171.40000000037253,"domainLookupEnd":171.40000000037253,"domainLookupStart":171.40000000037253,"fetchStart":171.40000000037253,"redirectEnd":0,"redirectStart":0,"requestStart":171.40000000037253,"responseEnd":522.8000000007451,"responseStart":522.8000000007451,"secureConnectionStart":171.40000000037253},{"duration":351.7000000011176,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/e80c7a6aee0fa86c2b1a716575a614aa/shortcuts.js?context=issuenavigation&context=issueaction","startTime":171.5,"connectEnd":171.5,"connectStart":171.5,"domainLookupEnd":171.5,"domainLookupStart":171.5,"fetchStart":171.5,"redirectEnd":0,"redirectStart":0,"requestStart":171.5,"responseEnd":523.2000000011176,"responseStart":523.2000000011176,"secureConnectionStart":171.5},{"duration":358.5,"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":171.60000000149012,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":171.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":530.1000000014901,"responseStart":0,"secureConnectionStart":0},{"duration":352.2999999988824,"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":171.7000000011176,"connectEnd":171.7000000011176,"connectStart":171.7000000011176,"domainLookupEnd":171.7000000011176,"domainLookupStart":171.7000000011176,"fetchStart":171.7000000011176,"redirectEnd":0,"redirectStart":0,"requestStart":171.7000000011176,"responseEnd":524,"responseStart":524,"secureConnectionStart":171.7000000011176},{"duration":570.4000000003725,"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":172.30000000074506,"connectEnd":172.30000000074506,"connectStart":172.30000000074506,"domainLookupEnd":172.30000000074506,"domainLookupStart":172.30000000074506,"fetchStart":172.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":172.30000000074506,"responseEnd":742.7000000011176,"responseStart":742.6000000014901,"secureConnectionStart":172.30000000074506}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":17,"responseStart":163,"responseEnd":165,"domLoading":168,"domInteractive":1102,"domContentLoadedEventStart":1102,"domContentLoadedEventEnd":1145,"domComplete":1811,"loadEventStart":1811,"loadEventEnd":1813,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"6c578208c3965a","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":109,"dbReadsTimeInMs":4,"dbConnsTimeInMs":5,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
This issue is related to configuration. The configuration done for Password security should consists of the parameter passed through API.
As per dev comments in
NF-508:*This issue is now fixed. Error was occurring due to company level customization for UserName generation policy. For candidates we accept only email, firstname & last name. So, username & password generation policies should be configured using these fields only.
We need to consider these policies after deployment of enhancement to Stage and Production, setting should be made in advance to avoid the issue. *