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: 

Replace Postfunctions using Scriptrunner

Andrej Freeze greenique
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.
July 13, 2021

Hey everyone, I have a rather simple case. A Jira environment I was asked to look after has hundreds of workflows. In many of those, we are having the same postfunction to update an issue field.

This Postfunction is provided by an app, which we no longer want to purchase. I already found a workaround to do exactly the same using Scriptrunner, but searching and replacing all of those post functions manually seems very error prone to me.

Is it possible to bulk edit all of these workflows, so I replace any occurence of the post function, with another one?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alex
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.
July 13, 2021

Hi @Andrej Freeze greenique 

I don't know a tool that would replace those workflow post-functions in bulk, however, you can give a try Microscope to get the overall insights into your Jira workflow functions and workflow that you will be required to update.

Additionally, for replacing those functions for Scriptrunner scripts I would suggest you leverage the Script Editor and store your scripts in a centralized place.

I hope it helps.

Cheers,

Alex