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

How can I get JIRA screens in an iFrame

Harinath T Jan 22, 2018

Hi

I want to get Jira issue screens like CommentAssignIssue!default.jspa (attachment screen).

In my external application we are able to create jira issues and doing transitions using rest api. While performing transitions we also want to show jira comment-assign-issue.jspa screen.

I want to show this screen in my external application by using iframe concept with the help of jquery or javascript. 

Thanks in advance for your help.

1 answer

1 vote
Andrew Heinzer Atlassian Team Jan 24, 2018

I do not believe you will be able to do this with Jira.  Jira can use an iframe to show it's own pages on the Jira site, but to place that iframe to show Jira pages on an external site will almost certain trigger a number of built in cross-site scripting protections in Jira.

Since cross-site forgery / scripting is a serious problem that all the major browsers have been working hard to address in the past few years, I think it's doubtful that this approach can be made to work with Jira.

Instead I would advise using REST API calls to gather the data you want to display in this external site.  These REST calls can still show data into another site without these kinds of XSS protections being violated.  The obvious problem here is how you format those REST results without using the default pages in Jira.  But the inclusion of just about any .jsp/.jspa file from the Jira site into an external site is probably going to give you problems that are not easy overcome by Jira or the browser accessing that resource.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

188 views 2 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