Jython is incredibly useful. I want to maintain some shared code, basically a few data structures, config items, convenience functions. I try adding a shared.py in the jss/jython/workflow directory, and I can then easily "include shared" in my Jython scripts ... until I need to revise shared.py ... an old version gets cached in JIRA/Jython somewhere and I don't know how to get the revised version re-interpreted.
I have tried removing shared$py.class as if it were an errant .pyc file, but nothing happens. A new class file is not even re-created.
So, I have to copy all my shared functions manually back into my scripts. Talk about a bad scene!
How can I convince Jython to re-load my updated shared module?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs