Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get JIRA screens in an iFrame

Harinath T January 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
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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.

ahmed ibrahem
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2019

.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events