If you're on Cloud, you don't. You have no access to the environment (and shouldn't), so you can't add anything.
If you're on the server version, generally you'd add them to setenv.sh or setenv.bat
Or do you mean something else by "environment variable"?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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