Adding additional button on jira create screen

Lakshmi S
Contributor
October 1, 2024

 

Hi Team,

We would like to add a button to the left side of the "Create" screen of the Jira ticket next to the existing "Create" button. The main goal of this requirement is to enable users to click on "Sparky AI" in the create page, which will then use an API to connect to our internal "Sparky AI" and automatically generate descriptions in the ticket when creating a Jira ticket.

Could you please provide guidance on inserting the button in the Jira ticket and share any relevant documentation you may have? Thank you!

Please find the attached screenshot for your reference.

jira button.png

4 answers

2 votes
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 1, 2024

HI @Lakshmi S ,

 

This is not possible out of the box. 

 

You may want to create a self-transition in your workflow that has a post-function web hook to make a call out to your Sparky AI. You maybe able to do something with script runner and Jira Automation as well. 

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2024

Hi @Lakshmi S

What you are trying to achieve, is most likely not doable even when using the ScriptRunner Fragments alone.

I am saying this because if you enable the slide on the Fragments page, as shown in the screenshot below, it will display all the sections where fragment modifications can be made.

image1.png

Once this is enabled, try creating a new ticket. On the create screen, you will only see the wiki fragment which can be modified and nothing else as shown in the screenshot below:-

image2.png

I hope this helps.

Thank you and Kind regards,
Ram

Lakshmi S
Contributor
October 7, 2024

Hi @Ram Kumar Aravindakshan _Adaptavist_ ,

 Oh no, this one our team won't accept.

0 votes
Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2024

Hi @Lakshmi S ~ I've done something similar using custom Fragments in ScriptRunner:  https://docs.adaptavist.com/sr4js/8.23.0/features/fragments/custom-fragments/web-item?utm_source=product-help 

Lakshmi S
Contributor
October 3, 2024

Thank you @Laurie Sciutti for your response. Can we place the button on the "Create" screen instead of adding it to the menu bar using the fragments, as shown in the image?

jira button.png

Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 3, 2024

Hi @Lakshmi S ~ I haven't added one to the Create screen but you might want to have a look here for options:  https://developer.atlassian.com/server/jira/platform/web-fragments-4227124/ 

0 votes
Sergei Troshin
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 Leaders.
October 2, 2024

Hi @Lakshmi S

As mentioned above, there are no way to do it out of box.

But there are some ways to do it using Scriptrunner and their Web Resource or JSINCLUDER.
These methods involve a non-standard approach using Javascript code to create a Sparky AI button and set behavior for it.

Suggest an answer

Log in or Sign up to answer