You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi there.
Maybe somebody could advise how we can add a Custom button to the Release page?
See the screenshot where we want to do it.
Seems like it's impossible to make some changes to the Release page.
I've tried to find a Web Fragment UI via Web Fragment Finder addon and when I try to open a page with one of our Release this Addon shows me an error.
Hi @Alexander
You can add a web panel at this location.
location='atl.jira.releasereport.top.right.panels'
I hope it helps.
Ravi
Tried to add a web panel but received an error below.
Maybe you know how to fix it?
Error
Required resource with name 'view' does not exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, I don't understand what I should do step-by-step...
At first, create a web panel and then create a web item (button) or what? And how? Usinf Script Runner?
Please, advise.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexander
If you have ScriptRunner then you can use Script Fragments to insert a web panel at that location.
Check this screenshot.
Now what you want to do when someone clicks on it is upto you to configure. I shared the link above where you can find examples.
You will also find few more examples in our script library.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ravi Sagar _Sparxsys_ thanks for your feedback.
Difficult for me, cause I don't know Java.
Could you, please, advise how we can add a button to this web panel. After someone will click this button he will be redirected to some link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the Provider class/script copy this code snippet.
writer.write("<a href=\"https://www.ravisagar.in\" class=\" aui-button aui-button-primary \" style=\" margin-right: 2px;\" >My site</a>")
This will create a link and make it look like a button and it will look exactly like the release button. Change the link and the link text to suit your needs.
It will look like this.
I hope it helps.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ravi Sagar _Sparxsys_ you are awesome!
What do you think, can we trigger a webhook via this button?
We have a webhook that runs while we click on the Release button and choose data. Then webhook runs a script that creates a Change Request in our Service Desk system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can. For sending the data I believe you need to do a bit more in your script than just the url.
Also take a look at Custom REST End point that you can create using ScriptRunner.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems like we should add the same functional like a Release button have: click the button => Choose date => Release status will change to Released
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ravi Sagar _Sparxsys_ Hello! Can we add the same function like a Release button have: click the button => Choose date => Release status will change to Released? What do you think?
Our Webhook post script checks the releases with a Released status. So, at first we need to change a status of release via our custom button
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UPDATE
We need to change status via our custom button to "somestatus" => then Webhook running a script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apart from the links I shared above you will find plenty of examples in the script library to transition an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
Could you, please, advise on how we can change a Release Description via this custom button?
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.
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.