Forums

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

Custom Link to create ticket

Lizeth Rodriguez Cabrales December 16, 2024

I have an embedded script for a JIRA widget to create a ticket. I need to open the form to create a ticket from my own button, not the floating button provided by JIRA. Is this possible? How can I intercept this request?

1 answer

0 votes
Nikola Perisic
Community Champion
December 16, 2024

Welcome @Lizeth Rodriguez Cabrales 

Are you using Atlassian forge by any chance? 

Nikola Perisic
Community Champion
December 16, 2024

Understood, but what framework did you use to build your button?

Lizeth Rodriguez Cabrales December 16, 2024

Ok, I'm using react

Nikola Perisic
Community Champion
December 16, 2024

I understand but Atlassian has its own Framework called Forge where you can create your own apps and also add the custom buttons. If you are doing this without forge, this won't really be possible.

Lizeth Rodriguez Cabrales December 17, 2024

I try with this and workign for me

const iframeContent = iframe.contentDocument;

const button = iframeContent?.querySelector('#help-button') as HTMLButtonElement | null;

if (button) {
button.click();
}

But now I need hide de close button of the forimage.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events