The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Embeding the Jira service Desk widget in our product

Bhavna Sharma
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!
December 23, 2020

Hi , 

 

I am trying to use the widget code in our product to have our customer create a Service ticket directly. 

<script data-jsd-embedded data-key="ec151d85-5a74-4b37-a3c3-e66a81fffe03" data-base-url="https://jsd-widget.atlassian.com" src="https://jsd-widget.atlassian.com/assets/embed.js"></script>

The above code is generated for the project we want to create a ticket for.  Once this code is embedded in HTML, how shall we invoke the Widget ticket creation process on a button click? 

Regards

Bhavna

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jack Brickey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 23, 2020

Have you reviewed the docs - embed-a-widget-onto-a-web-page ?

basically when you embed the JS into your webpage then a ? Icon will appear in bottom right corner. 

Bhavna Sharma
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!
December 23, 2020

Thanks Jack,

I did see that solution you shared and from that link, I got this way to generate the Script for the widget.  Probably, what we are looking for is at to be able to create a new ticket with a click of a button and not a floating ? icon as in our product we already have one.  By the way even the? the icon doesn't appear, probably our product might be suppressing it. 

But as I said, we are looking to have a code in a way that it can trigger on a button click and create a new ticket from our product. As shared in a snapshot in my original snapshot. 

Doable? 

Regards

Bhavna

Jack Brickey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 31, 2020

it appears that your "?" is simply represented by "Contact us" as that is how you configured it in the Widget config. In any event, it appears that you don't want the Widget solution so here are the other options I could offer:

  1. use the APIs and implement the solution you want right into your webpage
  2. simply have a "create ticket" icon on your page that resolves to an email and use the email channel feature to create a new ticket. user just enters subject and body.
TAGS
AUG Leaders

Atlassian Community Events