-
Type:
New Feature
-
Status:
Done
-
Priority:
Medium
-
Resolution:
Done
-
Affects Version/s:
None
-
-
-
Company:
All Clients/Multiple Clients
-
Sprint:
Spring-2020 - Sprint 2, Spring-2020 - Sprint 3, Spring-2020 - Sprint 4
We need to change the Candidate Profile API
https://dmsapistage.workterra.net/api/Person/profile/53
Because right now we are getting the data based on personId, But If candidate is mapped with multiple companies then personId will be different for all the companies.
So we need to provide support to get candidate profile data based on CompanyID and UserId
{"report":{"apdex":1,"isInitial":true,"journeyId":"7c9e019d-852c-42bc-938b-2137a93a38f1","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":565.7999997138977,"redirectCount":0,"resourceLoadedEnd":459.69999980926514,"resourceLoadedStart":86.59999990463257,"resourceTiming":[{"duration":7.099999904632568,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":86.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":86.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":93.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":7,"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":86.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":86.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":93.89999961853027,"responseStart":0,"secureConnectionStart":0},{"duration":10,"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":87.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":87.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":97.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":10.5,"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":87.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":87.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":97.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":11,"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":87.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":87.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":98.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":62.90000009536743,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":87.2999997138977,"connectEnd":87.2999997138977,"connectStart":87.2999997138977,"domainLookupEnd":87.2999997138977,"domainLookupStart":87.2999997138977,"fetchStart":87.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":87.2999997138977,"responseEnd":150.19999980926514,"responseStart":150.19999980926514,"secureConnectionStart":87.2999997138977},{"duration":90.10000038146973,"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":87.39999961853027,"connectEnd":87.39999961853027,"connectStart":87.39999961853027,"domainLookupEnd":87.39999961853027,"domainLookupStart":87.39999961853027,"fetchStart":87.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":87.39999961853027,"responseEnd":177.5,"responseStart":177.5,"secureConnectionStart":87.39999961853027},{"duration":92.90000009536743,"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":87.59999990463257,"connectEnd":87.59999990463257,"connectStart":87.59999990463257,"domainLookupEnd":87.59999990463257,"domainLookupStart":87.59999990463257,"fetchStart":87.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":87.59999990463257,"responseEnd":180.5,"responseStart":180.5,"secureConnectionStart":87.59999990463257},{"duration":93.69999980926514,"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":87.69999980926514,"connectEnd":87.69999980926514,"connectStart":87.69999980926514,"domainLookupEnd":87.69999980926514,"domainLookupStart":87.69999980926514,"fetchStart":87.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":87.69999980926514,"responseEnd":181.39999961853027,"responseStart":181.2999997138977,"secureConnectionStart":87.69999980926514},{"duration":94.40000009536743,"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":87.7999997138977,"connectEnd":87.7999997138977,"connectStart":87.7999997138977,"domainLookupEnd":87.7999997138977,"domainLookupStart":87.7999997138977,"fetchStart":87.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":87.7999997138977,"responseEnd":182.19999980926514,"responseStart":182.19999980926514,"secureConnectionStart":87.7999997138977},{"duration":94.7999997138977,"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":88,"connectEnd":88,"connectStart":88,"domainLookupEnd":88,"domainLookupStart":88,"fetchStart":88,"redirectEnd":0,"redirectStart":0,"requestStart":88,"responseEnd":182.7999997138977,"responseStart":182.7999997138977,"secureConnectionStart":88},{"duration":95.40000009536743,"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":88.09999990463257,"connectEnd":88.09999990463257,"connectStart":88.09999990463257,"domainLookupEnd":88.09999990463257,"domainLookupStart":88.09999990463257,"fetchStart":88.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":88.09999990463257,"responseEnd":183.5,"responseStart":183.5,"secureConnectionStart":88.09999990463257},{"duration":96,"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":88.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":88.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":184.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":96.7000002861023,"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":88.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":88.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":185,"responseStart":0,"secureConnectionStart":0},{"duration":95.90000009536743,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/81da1c7492d7ee698ae1cc31902498d9/shortcuts.js?context=issuenavigation&context=issueaction","startTime":88.2999997138977,"connectEnd":88.2999997138977,"connectStart":88.2999997138977,"domainLookupEnd":88.2999997138977,"domainLookupStart":88.2999997138977,"fetchStart":88.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":88.2999997138977,"responseEnd":184.19999980926514,"responseStart":184.19999980926514,"secureConnectionStart":88.2999997138977},{"duration":96.5,"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":88.5,"connectEnd":88.5,"connectStart":88.5,"domainLookupEnd":88.5,"domainLookupStart":88.5,"fetchStart":88.5,"redirectEnd":0,"redirectStart":0,"requestStart":88.5,"responseEnd":185,"responseStart":185,"secureConnectionStart":88.5},{"duration":369.7999997138977,"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":89.09999990463257,"connectEnd":89.09999990463257,"connectStart":89.09999990463257,"domainLookupEnd":89.09999990463257,"domainLookupStart":89.09999990463257,"fetchStart":89.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":89.09999990463257,"responseEnd":458.8999996185303,"responseStart":458.8999996185303,"secureConnectionStart":89.09999990463257},{"duration":370.5,"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":89.19999980926514,"connectEnd":89.19999980926514,"connectStart":89.19999980926514,"domainLookupEnd":89.19999980926514,"domainLookupStart":89.19999980926514,"fetchStart":89.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":89.19999980926514,"responseEnd":459.69999980926514,"responseStart":459.69999980926514,"secureConnectionStart":89.19999980926514},{"duration":96.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":341.2999997138977,"connectEnd":341.2999997138977,"connectStart":341.2999997138977,"domainLookupEnd":341.2999997138977,"domainLookupStart":341.2999997138977,"fetchStart":341.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":341.2999997138977,"responseEnd":437.59999990463257,"responseStart":437.59999990463257,"secureConnectionStart":341.2999997138977}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":8,"responseStart":81,"responseEnd":82,"domLoading":85,"domInteractive":615,"domContentLoadedEventStart":615,"domContentLoadedEventEnd":656,"domComplete":811,"loadEventStart":811,"loadEventEnd":814,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"1d2e634b72f43d","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":48,"dbReadsTimeInMs":5,"dbConnsTimeInMs":9,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Hi Harshveer Singh
Instead of modifying the existing three API, I have implemented a new API for fetching all person records based on user Id. Now we have all company Id in the dropdown list based on that company Id we will fetch person Id and then will pass this person Id in all existing APIs.
Raised the PR for you. Just have a look at this.
Thanks
Narendra