-
Type:
New Feature
-
Status:
Done
-
Priority:
Medium
-
Resolution:
Done
-
Affects Version/s:
None
-
-
-
Company:
All Clients/Multiple Clients
-
Sprint:
DMS - Fall Sprint 8, DMS - Gap Fall & Win Sprint 1, DMS - Gap Fall & Win Sprint 2, DMS - Gap Fall & Win Sprint 3, DMS - Gap Fall & Win Sprint 4
- relates to
-
DMS-343
DMS transaction history
-
-
Done
{"report":{"apdex":1,"isInitial":true,"journeyId":"44340920-6c0b-4a16-b9da-fe03800a1e04","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":744.7000000476837,"redirectCount":0,"resourceLoadedEnd":1023.6000001430511,"resourceLoadedStart":79.70000004768372,"resourceTiming":[{"duration":258.09999990463257,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":79.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":79.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":337.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":257.7999999523163,"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":80,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":80,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":337.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":257.7999999523163,"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":80.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":80.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":337.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":257.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":80.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":80.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338,"responseStart":0,"secureConnectionStart":0},{"duration":257.90000009536743,"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":80.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":80.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":266.7999999523163,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":80.40000009536743,"connectEnd":80.40000009536743,"connectStart":80.40000009536743,"domainLookupEnd":80.40000009536743,"domainLookupStart":80.40000009536743,"fetchStart":80.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":80.40000009536743,"responseEnd":347.2000000476837,"responseStart":347.10000014305115,"secureConnectionStart":80.40000009536743},{"duration":285.7999999523163,"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":80.5,"connectEnd":80.5,"connectStart":80.5,"domainLookupEnd":80.5,"domainLookupStart":80.5,"fetchStart":80.5,"redirectEnd":0,"redirectStart":0,"requestStart":80.5,"responseEnd":366.2999999523163,"responseStart":366.2999999523163,"secureConnectionStart":80.5},{"duration":288.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":80.60000014305115,"connectEnd":80.60000014305115,"connectStart":80.60000014305115,"domainLookupEnd":80.60000014305115,"domainLookupStart":80.60000014305115,"fetchStart":80.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":80.60000014305115,"responseEnd":369.10000014305115,"responseStart":369.10000014305115,"secureConnectionStart":80.60000014305115},{"duration":289,"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":80.60000014305115,"connectEnd":80.60000014305115,"connectStart":80.60000014305115,"domainLookupEnd":80.60000014305115,"domainLookupStart":80.60000014305115,"fetchStart":80.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":80.60000014305115,"responseEnd":369.60000014305115,"responseStart":369.60000014305115,"secureConnectionStart":80.60000014305115},{"duration":289.2000000476837,"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":80.79999995231628,"connectEnd":80.79999995231628,"connectStart":80.79999995231628,"domainLookupEnd":80.79999995231628,"domainLookupStart":80.79999995231628,"fetchStart":80.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":80.79999995231628,"responseEnd":370,"responseStart":370,"secureConnectionStart":80.79999995231628},{"duration":289.5,"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":81,"connectEnd":81,"connectStart":81,"domainLookupEnd":81,"domainLookupStart":81,"fetchStart":81,"redirectEnd":0,"redirectStart":0,"requestStart":81,"responseEnd":370.5,"responseStart":370.5,"secureConnectionStart":81},{"duration":289.90000009536743,"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":81,"connectEnd":81,"connectStart":81,"domainLookupEnd":81,"domainLookupStart":81,"fetchStart":81,"redirectEnd":0,"redirectStart":0,"requestStart":81,"responseEnd":370.90000009536743,"responseStart":370.90000009536743,"secureConnectionStart":81},{"duration":290.2000000476837,"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":81.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":81.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":371.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":290.2000000476837,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/81da1c7492d7ee698ae1cc31902498d9/shortcuts.js?context=issuenavigation&context=issueaction","startTime":81.20000004768372,"connectEnd":81.20000004768372,"connectStart":81.20000004768372,"domainLookupEnd":81.20000004768372,"domainLookupStart":81.20000004768372,"fetchStart":81.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":81.20000004768372,"responseEnd":371.40000009536743,"responseStart":371.40000009536743,"secureConnectionStart":81.20000004768372},{"duration":290.60000014305115,"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":81.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":81.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":371.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":290.59999990463257,"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":81.40000009536743,"connectEnd":81.40000009536743,"connectStart":81.40000009536743,"domainLookupEnd":81.40000009536743,"domainLookupStart":81.40000009536743,"fetchStart":81.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":81.40000009536743,"responseEnd":372,"responseStart":372,"secureConnectionStart":81.40000009536743},{"duration":574.5,"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":82.20000004768372,"connectEnd":82.20000004768372,"connectStart":82.20000004768372,"domainLookupEnd":82.20000004768372,"domainLookupStart":82.20000004768372,"fetchStart":82.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":82.20000004768372,"responseEnd":656.7000000476837,"responseStart":656.7000000476837,"secureConnectionStart":82.20000004768372}],"threshold":1000,"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":11,"responseStart":75,"responseEnd":76,"domLoading":78,"domInteractive":1050,"domContentLoadedEventStart":1050,"domContentLoadedEventEnd":1097,"domComplete":1459,"loadEventStart":1459,"loadEventEnd":1461,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"240e400e323f57","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":46,"dbReadsTimeInMs":6,"dbConnsTimeInMs":6,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Hi Sonali Farakate,
The script for creating the History table along with triggers is completed.
I have attached the script in this Jira. Also, there are inline comments for using that query.
Create_Trigger_and_HistoryTable_MYSQL.sql
-------------------------------------------------------------------------------------------------
Naming Conventions :
For eg :
Main Table - Communication
For this below will be the outcome from the script :
History table - Communication_History
Triggers Name - trg_Communication_insert, trg_Communication_update, trg_Communication_delete
-------------------------------------------------------------------------------------------------
Below are some changes that I have done and impediments that I'm facing :
Changes Server Level :
Disable - secure-file-priv option - As we are writing out queries into a file and not creating directly, this feature needs to be disabled. I have disabled it for local server and will disable for rest of environments as required.
Impediments :
Queries are written into a file: As of now, we cannot have the drop and exists statements in a dynamic query as it is not a feature in MYSQL.
We have to change the path for writing out the queries in the file which will give us all the statements. If we want to pass the path as variable and parameter to SP, the query needs to be a prepared statement which will take time with analysis.
We can have this in the further scope of development. Please review the script and let me know if any queries.
Regards,
Rushikesh
CC - Rohan J Khandave Samir Satya