Hi team, I have the following problem with a P2 addon I’m working on.
One page of our addon will allow users to create issues in the context of the our page’s data. My questions are:
- How can I open the create issue dialog from our addon page in a way that created issue keys are passed back to the page so I can link the issue keys with our page’s data.
- Alternately, how can I pass a parameter to the Create Issue Dialog that can be used in issue created events to link the issues created to our page’s data.
I know a simple way to open the dialog is by clicking on the Create button
AJS.$(function ($) {
$("#create_link").click();
});
But this javascript is too simplistic, I don’t know how to send issue created callbacks or parameters for the issue created events I can listen to.
Cheers
Fernando
PD: I’m trying to upload a 74k png image but the editor gets stuck in 100%