Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,872
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events