is it possible to use an JIRA Filter on an external html page?
<iframe src="https://xxxxcom/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+=+INFO+AND+resolution+=+Unresolved+ORDER+BY+priority+DESC,+updated+DESC&tempMax=1000&runQuery=true" height="500px" width="1500px"/>
When only using the link and being authed before (still logged in) i get the filter working.
Without being logged in, it doesnt work, we use kantega sso, so it could be possible to be authed while the iframe is loading? How do i submit the log-in credentials?
Did anyone ever get a filter of jira core working on an external html page?
you need a valid login session which is the case, like you said, when you are logged in and then using the link.
Even if it would be possible to authenticate via using credentials in the HTML page I'd recommend not to do so. It could be risky from a security point of view.
An alternative, probably not the best one, would be to share the filter in a way unauthenticated access can be done (https://confluence.atlassian.com/adminjiraserver/managing-shared-filters-938847876.html). This, indeed, comes also with some drawbacks.
In cases like this my recommendation is to build a solution utilizing REST API (https://docs.atlassian.com/software/jira/docs/api/REST/8.7.1/).
This needs developer support on your end in most of the cases. Same time this provides a great flexibility. Displaying the filter results, received via REST API, in a HTML page is a common task nowadays.
Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events