Update validators, post-functions and conditions for new role on the workflow using groovy

Uppari Veeresh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2024

Hello team, I am trying to replace the members of particular role(ex:Reader) to different role(ex:Developer), but also at the same time all dependencies in workflows like conditions on transition (in progress)  (for suppose if the condition was for only"Reader" role users then post running the script it should get updated to "Developer" role users ) using groovy script, can someone assist me on this.

1 answer

0 votes
Clark Everson
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2024

Hi @Uppari Veeresh 

Welcome to community!

I would recommend using automation for jira rather than scriptrunner for something like this. It would be much simpler and easier to provide support on if something breaks.

Generally you should only use scripting if you need to, in this case it shouldn't be needed though

If you really want to use groovy though I would recommend requesting assistance through the developer community developer.atlassian.com



Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events