Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Use JIRA Filter on an external html page

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

1 answer

1 vote
Daniel Ebers Community Leader Mar 15, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

470 views 3 7
Read article

Community Events

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

Events near you