I want to pass some environment variables(production/development/staging) to the plugin, based on which it will function accordingly.
I want to pass them while doing atlas-run and atlas-package and retrieve it in Java. How can I do that?
Not a real expert but have some experience with plugins, I don't think it's feasable as the atlas-run command is meant to start a local SDK Jira instance, there's no direct link with your final addon here. Plugin Data might not come from anything external to its container (Tomcat), to be confirmed by advance experts but that would be my 5 cents!
Hope this helps!
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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