-
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":"08579662-3ee4-4e8e-9cd1-11b97d4734fc","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":612.3000001907349,"redirectCount":0,"resourceLoadedEnd":529.9000000953674,"resourceLoadedStart":93,"resourceTiming":[{"duration":28.700000286102295,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":93,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":93,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":121.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":30.699999809265137,"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":93.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":93.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":123.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":30.600000381469727,"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":93.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":93.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":124.10000038146973,"responseStart":0,"secureConnectionStart":0},{"duration":30.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":93.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":93.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":124.10000038146973,"responseStart":0,"secureConnectionStart":0},{"duration":30.700000286102295,"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":93.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":93.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":124.60000038146973,"responseStart":0,"secureConnectionStart":0},{"duration":79.2000002861023,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":94,"connectEnd":94,"connectStart":94,"domainLookupEnd":94,"domainLookupStart":94,"fetchStart":94,"redirectEnd":0,"redirectStart":0,"requestStart":94,"responseEnd":173.2000002861023,"responseStart":173.2000002861023,"secureConnectionStart":94},{"duration":117.69999980926514,"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":94.2000002861023,"connectEnd":94.2000002861023,"connectStart":94.2000002861023,"domainLookupEnd":94.2000002861023,"domainLookupStart":94.2000002861023,"fetchStart":94.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":94.2000002861023,"responseEnd":211.90000009536743,"responseStart":211.90000009536743,"secureConnectionStart":94.2000002861023},{"duration":120.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":94.40000009536743,"connectEnd":94.40000009536743,"connectStart":94.40000009536743,"domainLookupEnd":94.40000009536743,"domainLookupStart":94.40000009536743,"fetchStart":94.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":94.40000009536743,"responseEnd":214.90000009536743,"responseStart":214.90000009536743,"secureConnectionStart":94.40000009536743},{"duration":120.7999997138977,"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":94.60000038146973,"connectEnd":94.60000038146973,"connectStart":94.60000038146973,"domainLookupEnd":94.60000038146973,"domainLookupStart":94.60000038146973,"fetchStart":94.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":94.60000038146973,"responseEnd":215.40000009536743,"responseStart":215.40000009536743,"secureConnectionStart":94.60000038146973},{"duration":121.19999980926514,"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":94.7000002861023,"connectEnd":94.7000002861023,"connectStart":94.7000002861023,"domainLookupEnd":94.7000002861023,"domainLookupStart":94.7000002861023,"fetchStart":94.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":94.7000002861023,"responseEnd":215.90000009536743,"responseStart":215.90000009536743,"secureConnectionStart":94.7000002861023},{"duration":121.30000019073486,"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":95,"connectEnd":95,"connectStart":95,"domainLookupEnd":95,"domainLookupStart":95,"fetchStart":95,"redirectEnd":0,"redirectStart":0,"requestStart":95,"responseEnd":216.30000019073486,"responseStart":216.30000019073486,"secureConnectionStart":95},{"duration":121.5,"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":95.10000038146973,"connectEnd":95.10000038146973,"connectStart":95.10000038146973,"domainLookupEnd":95.10000038146973,"domainLookupStart":95.10000038146973,"fetchStart":95.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":95.10000038146973,"responseEnd":216.60000038146973,"responseStart":216.60000038146973,"secureConnectionStart":95.10000038146973},{"duration":223.69999980926514,"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":95.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":95.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":319,"responseStart":0,"secureConnectionStart":0},{"duration":121.60000038146973,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/9b4bc78b7cc5c86b31ff012e5c329c28/shortcuts.js?context=issuenavigation&context=issueaction","startTime":95.5,"connectEnd":95.5,"connectStart":95.5,"domainLookupEnd":95.5,"domainLookupStart":95.5,"fetchStart":95.5,"redirectEnd":0,"redirectStart":0,"requestStart":95.5,"responseEnd":217.10000038146973,"responseStart":217.10000038146973,"secureConnectionStart":95.5},{"duration":223.59999990463257,"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":95.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":95.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":319.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":121.80000019073486,"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":95.90000009536743,"connectEnd":95.90000009536743,"connectStart":95.90000009536743,"domainLookupEnd":95.90000009536743,"domainLookupStart":95.90000009536743,"fetchStart":95.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":95.90000009536743,"responseEnd":217.7000002861023,"responseStart":217.7000002861023,"secureConnectionStart":95.90000009536743},{"duration":279.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":96.90000009536743,"connectEnd":96.90000009536743,"connectStart":96.90000009536743,"domainLookupEnd":96.90000009536743,"domainLookupStart":96.90000009536743,"fetchStart":96.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":96.90000009536743,"responseEnd":376.40000009536743,"responseStart":376.40000009536743,"secureConnectionStart":96.90000009536743},{"duration":426.1000003814697,"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":97,"connectEnd":97,"connectStart":97,"domainLookupEnd":97,"domainLookupStart":97,"fetchStart":97,"redirectEnd":0,"redirectStart":0,"requestStart":97,"responseEnd":523.1000003814697,"responseStart":523.1000003814697,"secureConnectionStart":97},{"duration":28.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":348,"connectEnd":348,"connectStart":348,"domainLookupEnd":348,"domainLookupStart":348,"fetchStart":348,"redirectEnd":0,"redirectStart":0,"requestStart":348,"responseEnd":376.90000009536743,"responseStart":376.90000009536743,"secureConnectionStart":348},{"duration":74.5,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/be9ff0efea54a6453d2ac60b92912a09/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":455.40000009536743,"connectEnd":455.40000009536743,"connectStart":455.40000009536743,"domainLookupEnd":455.40000009536743,"domainLookupStart":455.40000009536743,"fetchStart":455.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":455.40000009536743,"responseEnd":529.9000000953674,"responseStart":529.9000000953674,"secureConnectionStart":455.40000009536743}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":12,"responseStart":87,"responseEnd":89,"domLoading":91,"domInteractive":670,"domContentLoadedEventStart":670,"domContentLoadedEventEnd":723,"domComplete":798,"loadEventStart":798,"loadEventEnd":800,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"4ecfefb494dd86","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":4,"dbConnsTimeInMs":5,"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