Hi Atlassian team,
I’m developing a Marketplace app for Jira Data Center, and it’s built using React. The app is embedded inside the issue view (under the “Apps” panel on the right).
As part of the functionality, we want to reuse the native “Create Issue” modal— the one that opens when you click the global “Create” button — and trigger it programmatically from our React app with pre-filled fields like project, issue type, summary, labels, and custom fields.
We’ve tried approaches like dynamically creating a link element pointing to /secure/CreateIssue!default.jspa?pid=...
and simulating a click, but:
- It either opens in a new tab (not a modal)
- Or nothing happens at all (especially in local development or iframe contexts)
We also explored options like AJS.dialog2
, but it doesn’t seem to load the native modal with the issue form inside it.
- What is the official or recommended way to trigger the Jira native create issue modal (not a full-page redirect) programmatically from a P2/DC app using React?
- Is there a reusable create issue modal component that i can import and use?
3.Are there any limitations due to CSP, iframe context, or embedding inside issue panels that we should consider?