Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Scriptrunner - Version Synchroniser Listener for non-admins?

I have a setup with multiple teams and projects which contribute toward a mobile release train on a 3 week cadence.

The Version Synchroniser Listener does exactly what I need in terms of Version syncing but unfortunately requires users to have admin in all projects.

I'm looking for a way to grant permissions to allow this to work without giving full admin across all the projects that need to sync. Is there a way to modify this listener so it runs as an admin user regardless of the permissions of the user who created the version? 

 

 

1 answer

0 votes
Roland Holban (Adaptavist)
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 Leaders.
Nov 19, 2018 • edited

You could plausibly set up a REST endpoint which everyone has access to that calls the Version Synchronizer listener. With that said, this is no trivial task and you need to be careful with admin impersonation of scripts as this could possibly create a security leak.

Due to ScriptRunner's advanced capabilities, as a rule of thumb, I would do my best to keep all its functionalities to the way they were designed, that is for administrators only. 

Hi @Roland Holban (Adaptavist) ,

how can we set up a Rest End point to call the version synchroniser please ?

I'm stucked with the non admin rights issue for the version synchroniser ?

 

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events