title: How to retrieve the Project Key by Project Id programmatically in Jira?
body: <p>I need to get the project key (or keys) programmatically.</p>
  
  <p>The only alternative to retrieve the project keys I found was the content on this page:</p>
  
  <p><a href="https://confluence.atlassian.com/display/JIRA/Editing+a+Project+Key#EditingaProjectKey-Notesfordevelopers" rel="nofollow">https://confluence.atlassian.com/display/JIRA/Editing+a+Project+Key#EditingaProjectKey-Notesfordevelopers</a></p>
  
  <p>There it says:</p>
  
  <ul>
  <li>Get all project keys: com.atlassian.jira.project.ProjectManager#getAllProjectKeys</li>
  </ul>
  
  <p>What I need is to retrieve the key(s) by project id. </p>
  
  <p>Is there an easy way to do this? How can I know which key correspond to which project id?</p>
  
  <p>I'm using Jira version 6.4.3 and Atlassian Plugin SDK version 5.0.13.</p>
  
  <p>I am using the SAL Services. Is there any better option?.</p>