Hello,
is it possible to use an JIRA Filter on an external html page?
i tried
<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?
Best Regards
Martin
Hi Martin,
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.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.