Confluence/Jira link not working in iframe

Hi ,

  I am working on a web page within that I am providing a search feature on confluence, Jira.

  For this I am creating a dynamic search url and linking it to an iframe. But the confluence/JIRA details does not show up in iframe on Firefox, chrome. Where as the link I generated works on fine when I open it from browser.

Following is the example link which I am linking to iframe.

  https://confluence.com/confluence/dosearchsite.action?queryString=test

  Please suggest.

Thanks,

Syed.

 

1 answer

1 vote

JIRA and Confluence are not built to be used in iFrames.  Your holding page would have to implement a lot of the Atlassian ui libraries for them to work properly.

You would be a lot better off building a search page properly - ask the user for their search, poke the Atlassian application over REST and format the response nicely for them in your page.

Thanks Nic,

    If possible can you help me with example links that would be helpful to understand calling the REST APIs. I never worked on them before.

   appreciate your help.

Thanks,

Syed

Start at https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials - it uses curl to get stuff, which is a basic approach, but it does make it easy to understand how to use it in other calls

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,945 views 27 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you