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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • 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

How to pass environment variables while running/packaging Jira Plugin?

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?

1 answer

0 votes
miikhy Community Leader Apr 10, 2018


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 want to load property files(which includes some config, urls) based on environment. There should be a way to load appropriate property file based on environment, since hardcoding environment in codebase is not a good approach

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

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 ...

3,996 views 11 5
Join discussion

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