Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Script Fields inline source code disappears from Jira?

Some of the script fields inline source code disappears - has anyone seen this before and were you able to recover the lost inline source code?


2 answers

Hi Matt, 

I personally haven't encountered this issue, so forgive me, if I can't help you with this very problem.

However, may I suggest NOT to use inline scripts at all? What I like to do, is to keep all my scripts in jiraHome/scripts directory and simply specify a path to a relevant file in my scripted fields, listeners, postfunctions, etc. Furthermore, using a version control system (like Git or Subversion) to store all your code will help you easily restore it, in case something goes wrong.

Hope this helps.

Ugh, this just happened to us today. If anybody is still watching this thread, any updates on how you resolved the disappearing inline scripts?

We had to restore the scripts from a backup.

See SRJIRA-3681.

(We are wiser now and are storing copies of our scripts in Bitbucket.)

The same in our system, script fields content inline code dissappears after reindex...very very ugly

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

How to log work and track time in Jira when a person is part of multiple teams

  The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...

68 views 2 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you