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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,571
Community Members
 
Community Events
185
Community Groups

Remove manually a scriptrunner REST Endpoint

Hi!

I have some scriptrunner REST Endpoints that I cannot remove becose the ui button does not work.

Is there a way to remove them manually?

Thanks

Claudio

3 answers

1 accepted

1 vote
Answer accepted

I've found a REST call to remove the script:

DELETE https://<jira-baseurl>/rest/scriptrunner/latest/custom/customadmin/<script-id>

The script-id is found in the DOM tree of the REST Endpoint page.

Claudio

0 votes
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 20, 2022

I know you found a solution with the API, but in case anyone else is looking for where those in-line scripts are...

All "in-line" scripts are stored in the db somewhere.

  • Workflow in-line scripts are stored in the workflow XML
  • Jobs and Fragments in-line scripts are stored in AO_4B00E6_STASH_SETTINGS
  • Behaviours, Script fields, Listeners and Rest endpoints are stored in propertyentry/propertytext under one of the following PROPERTY_KEY:
    • Behaviour: BehaviourMap and Behaviour_<id>
    • Fields: com.onresolve.jira.groovy.groovyrunner:customfields
    • Listeners: com.onresolve.jira.groovy.groovyrunner:groovyrunner
    • Rest: com.onresolve.jira.groovy.groovyrunner:rest-endpoints

So when all else fails, you could always edit the db record

0 votes
Mark Markov
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.
Aug 16, 2018

Hello @Claudio Signorini

Have you tried to disable/enable Scriptrunner plugin?

Yes, but... same problem!

Claudio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events