-
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 dropdown.
3. Select authorization type as “Basic Auth”.
4. Enter valid User ID and Password.
5. Enter below URL:
https://10.0.2.120/api/employee/addEmployeeTour
6. Pass the require parameter using body. (Job ID =J1 and Tour ID =30)
7. Click on Send button.
8. Now change Job ID=J2 and Tour ID=32.
9. Click on Send button.
10. Two different tours get assigned to employee with different Job ID.
11. Traverse the tour using employee login.
Actual Result:
After completing first tour employee again get same tour, then after completing it for second time he gets other tour.
Expected Result:
Employee should get each tour only once.
Cc: Saurabh Sablaka, Prasad Pise
- relates to
-
NF-60
TSR - Tour eligibility to be driven by one to one mapping on candidate / employee
-
-
Closed
{"report":{"apdex":1,"isInitial":true,"journeyId":"e62e5fb4-bd77-4061-afa5-2968da832599","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":669.7000000029802,"redirectCount":0,"resourceLoadedEnd":561.8999999985099,"resourceLoadedStart":105,"resourceTiming":[{"duration":7.700000002980232,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":105,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":105,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":112.70000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":7.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":105.30000000447035,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":105.30000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":112.80000000447035,"responseStart":0,"secureConnectionStart":0},{"duration":7.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":105.39999999850988,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":105.39999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":112.89999999850988,"responseStart":0,"secureConnectionStart":0},{"duration":7.700000002980232,"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":105.39999999850988,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":105.39999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":113.10000000149012,"responseStart":0,"secureConnectionStart":0},{"duration":8.299999997019768,"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":105.60000000149012,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":105.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":113.89999999850988,"responseStart":0,"secureConnectionStart":0},{"duration":57.899999998509884,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":105.60000000149012,"connectEnd":105.60000000149012,"connectStart":105.60000000149012,"domainLookupEnd":105.60000000149012,"domainLookupStart":105.60000000149012,"fetchStart":105.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":105.60000000149012,"responseEnd":163.5,"responseStart":163.5,"secureConnectionStart":105.60000000149012},{"duration":114,"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":105.70000000298023,"connectEnd":105.70000000298023,"connectStart":105.70000000298023,"domainLookupEnd":105.70000000298023,"domainLookupStart":105.70000000298023,"fetchStart":105.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":105.70000000298023,"responseEnd":219.70000000298023,"responseStart":219.70000000298023,"secureConnectionStart":105.70000000298023},{"duration":134.59999999403954,"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":105.80000000447035,"connectEnd":105.80000000447035,"connectStart":105.80000000447035,"domainLookupEnd":105.80000000447035,"domainLookupStart":105.80000000447035,"fetchStart":105.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":105.80000000447035,"responseEnd":240.39999999850988,"responseStart":240.39999999850988,"secureConnectionStart":105.80000000447035},{"duration":135.20000000298023,"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":105.89999999850988,"connectEnd":105.89999999850988,"connectStart":105.89999999850988,"domainLookupEnd":105.89999999850988,"domainLookupStart":105.89999999850988,"fetchStart":105.89999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":105.89999999850988,"responseEnd":241.10000000149012,"responseStart":241.10000000149012,"secureConnectionStart":105.89999999850988},{"duration":135.29999999701977,"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":106.20000000298023,"connectEnd":106.20000000298023,"connectStart":106.20000000298023,"domainLookupEnd":106.20000000298023,"domainLookupStart":106.20000000298023,"fetchStart":106.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":106.20000000298023,"responseEnd":241.5,"responseStart":241.5,"secureConnectionStart":106.20000000298023},{"duration":135.60000000149012,"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":106.20000000298023,"connectEnd":106.20000000298023,"connectStart":106.20000000298023,"domainLookupEnd":106.20000000298023,"domainLookupStart":106.20000000298023,"fetchStart":106.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":106.20000000298023,"responseEnd":241.80000000447035,"responseStart":241.80000000447035,"secureConnectionStart":106.20000000298023},{"duration":135.79999999701977,"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":106.30000000447035,"connectEnd":106.30000000447035,"connectStart":106.30000000447035,"domainLookupEnd":106.30000000447035,"domainLookupStart":106.30000000447035,"fetchStart":106.30000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":106.30000000447035,"responseEnd":242.10000000149012,"responseStart":242.10000000149012,"secureConnectionStart":106.30000000447035},{"duration":136,"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":106.39999999850988,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":106.39999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":242.39999999850988,"responseStart":0,"secureConnectionStart":0},{"duration":136.10000000149012,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/ea6f30d2bfdc99578bb23f4a5bac3ecd/shortcuts.js?context=issuenavigation&context=issueaction","startTime":106.39999999850988,"connectEnd":106.39999999850988,"connectStart":106.39999999850988,"domainLookupEnd":106.39999999850988,"domainLookupStart":106.39999999850988,"fetchStart":106.39999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":106.39999999850988,"responseEnd":242.5,"responseStart":242.5,"secureConnectionStart":106.39999999850988},{"duration":136.20000000298023,"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":106.60000000149012,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":106.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":242.80000000447035,"responseStart":0,"secureConnectionStart":0},{"duration":136.29999999701977,"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":106.70000000298023,"connectEnd":106.70000000298023,"connectStart":106.70000000298023,"domainLookupEnd":106.70000000298023,"domainLookupStart":106.70000000298023,"fetchStart":106.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":106.70000000298023,"responseEnd":243,"responseStart":243,"secureConnectionStart":106.70000000298023},{"duration":452.8999999985099,"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":107.70000000298023,"connectEnd":107.70000000298023,"connectStart":107.70000000298023,"domainLookupEnd":107.70000000298023,"domainLookupStart":107.70000000298023,"fetchStart":107.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":107.70000000298023,"responseEnd":560.6000000014901,"responseStart":560.6000000014901,"secureConnectionStart":107.70000000298023},{"duration":454.09999999403954,"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":107.80000000447035,"connectEnd":107.80000000447035,"connectStart":107.80000000447035,"domainLookupEnd":107.80000000447035,"domainLookupStart":107.80000000447035,"fetchStart":107.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":107.80000000447035,"responseEnd":561.8999999985099,"responseStart":561.8999999985099,"secureConnectionStart":107.80000000447035},{"duration":200.09999999403954,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":366.30000000447035,"connectEnd":366.30000000447035,"connectStart":366.30000000447035,"domainLookupEnd":366.30000000447035,"domainLookupStart":366.30000000447035,"fetchStart":366.30000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":366.30000000447035,"responseEnd":566.3999999985099,"responseStart":566.3999999985099,"secureConnectionStart":366.30000000447035}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":22,"responseStart":99,"responseEnd":100,"domLoading":103,"domInteractive":731,"domContentLoadedEventStart":731,"domContentLoadedEventEnd":798,"domComplete":1003,"loadEventStart":1004,"loadEventEnd":1007,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"a4cc4a10a8827e","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":3,"dbConnsTimeInMs":4,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Hi Kunal Kedari,
Please verify this Issue.
Concern: Employee is getting same tour twice when different tours are mapped with different job id.
Cause:One condition for checking eligible tour ids are empty was missing.Due to this 2 tours were getting assigned.
Correction: Condition is added to verify where tour id's are empty or not.