What I meant is that I am storing the ID in my DB, but I was also expecting to be able to store the key.
In order to display anything related to Jira in my application (which is separated from Jira, but linked through an add-on), I'd like to show the user the Jira issue key and the title.
Both are volatile enough that I will have to retrieve them from Jira before I can even start to display anything to the user.
If at least the key was kinda permanent, I could have shown only the key, and then a little later (through a javascript callback) the title.
Remember it takes sometime much more than 2 seconds to get a simple set of information like that so this whole round-trip is a bit sad, but I understand now it's unavoidable.
Now, given the fact that I only deal with a limited set of Jira issue links in my application I could also poll the REST API to keep a relatively fresh data set on my side, but I know how you'd hate for an add-on to make too many calls to the REST API.
Thanks for your concern
Yves