you could use the rest-API (if enabled). Just add "/rest/api/2/project" to your jira url. You'll get all information on all projects you have access to. You need to parse the information to get only the project keys but i'll leave that up to you.
The url should look something like http://myjira.de/rest/api/2/project
FYI: Jira's REST API follows standard REST convention, so the root URL will show a list, but then specifying an ID will return just details for the one item.
So for instance, if I have a Jira project called "Application Security Tasks" and its project key is AST, such that the ticket numbers are like "AST-1205", then ...
Will get me the project information from the REST API. It's less to parse than the full list.
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