Hi there.
Could you, please, advise me on how I can find a workflow that has been assigned to Releases?
My former colleague put a script to release button in Releases and now we should change a logic: need to add a separate button to the Release page and re-assign this script from the release button to new.
As I'm not a Pro on Atlassian products I can't find how I can add a separate button and where is a workflow for Releases. Please, assist.
Releases in Jira do not have a workflow, they've got a simple open/released/archived flag to give you their status.
Some of us represent them as issues, and hence create an issue type of "release" which can then take on a standard Jira issue workflow (and we usually do some coding or scripting to tie them to the Jira release they represent)
I suspect that you do not mean "workflow", and you really mean "script". I am guessing that your colleague has written an app, or used something like Scriptrunner to add a button which then runs a process on the release.
I'd start with a look in the Admin -> Manage apps - do you have Scriptrunner in there? If so, look for "script fragments", as that's how buttons get injected.
Thank you for your assistance!
Well, how did I know, it was implemented via Webhook. Apache on Jira, when it receives a post request, calls the python script. Will try to find it here.
Now another question
How I can add a separate button here?
Ah, I see, it was an external call.
To add a button there, you'll need a script-fragment, provided by an app.
Tried and it's working. Can add buttons to Jira via Fragments. But I don't know a Release UI location to know the name of the place where I can put nu custom Button on the Release page. Didn't find anything here https://developer.atlassian.com/
Maybe you know?
Not from memory, but I tend to lean on the "fragment finder" in SR, as per https://scriptrunner.adaptavist.com/6.15.0/confluence/CustomisingUI.html - that might help you find where to add it!
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Apply agile practices
Transform how you manage your work with agile practices, including kanban and scrum frameworks.
Learning Path
Configure agile boards for Jira projects
Learn how to create and configure agile Jira boards so you can plan, prioritize, and estimate upcoming work.
Jira Essentials with Agile Mindset
Suitable for beginners, this live instructor-led full-day course will set up your whole team to understand how to use Jira with an agile methodology.