How can I get JIRA screens in an iFrame


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

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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,695 views 3 11
Read article

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