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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,192 views 20 14
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