Our company is using Jira cloud (url is like : https://mycompany.atlassian.net) and we have installed tesrail addon in our jira cloud. I want to filter out some jira issues based on this testrail's (addon) criteria . Trying this thing through JQL , I came to know that JQL doesn't support filtering issues based on addon's (in my case testrail) fields.
So I thought to give a try with jira cloud api & see if I can get something in getissue api response. Before trying with jira cloud api , I though to analyze network trace of jira issue (https://mycompany.atlassian.net/browse/ISSUE-1) & found that jira calls testrail addon api through jwt (jwt is being sent as query param to testrail server) & then that api returns html data , which jira shows on its issue page
I am wondering, how would I be able to genarate this jira jwt & call addon (testrail) api ?