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.
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.
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.
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:-
I hope this helps.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.