Open territestgogo opened 1 month ago
I tried edit the modalert_jira_service_desk_helper.py file but didnt work
if jira_results_description in ("enabled_json"):
search_results_json = get_results_json(helper, jira_attachment_token)
# Convert JSON to Jira Wiki Markup table
headers = search_results_json[0].keys()
header_row = "|| " + " || ".join(headers) + " ||"
rows = ["| " + " | ".join(item.values()) + " |" for item in search_results_json]
# Combine header and rows
search_results_table = "\n".join([header_row] + rows)
if search_results_json:
jira_description = (
jira_description
+ "\nSplunk search results:\n{"
+ search_results_table
)
same here, we implemented it and opened PR https://github.com/guilhemmarchand/TA-jira-service-desk-simple-addon/pull/194
I would like the results to be displayed in a table format like on Splunk, currently only Json and CSV are supported, will this be updated in the future?