Forum Discussion
nisgupta
6 years agoValued Contributor
As I mention in other forum that we are interested in creating the issue in Jira if the log contain errors automatically. but TestComplete do not have this support to do automatically . We are looking for some kind of data to inject to Jira API to do this. That is why we wanted to know.
Thanks
Nishchal
tristaanogre
6 years agoEsteemed Contributor
Rather than reading the file, what if you used the "OnLogError" event handler to call your API call to Jira to create the issue? The "LogParams" that is generated in that event handler contain the contents of the error entry that is created. Rather than parsing the file, you can intercept the error log entry itself and use that for pushing to the API.