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

How can I store sensitive data in JIRA ondemand

Jean Jean September 16, 2014

I am building an atlassian-connect application, and  I need to store some oauth tokens (authentication tokens, refresh tokens,...), I do not want to store it in the app itself because of security concerns.

I was looking at different options:

  • Store them as application properties via JIRA REST API?
  • Store them as Project level entity properties, but it is accessible for all JIRA users.
  • Store them as user preferences.

Is there any other place where I can store sensitive data in JIRA on demand via REST API?

or any other suggestion?

Thanks in advance!

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Travis Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2014

So JIRA does not really have a place where you can store sensitive data. If it is sensitive, then you would need to store it in an external service (your add-on) where you can manage access better.

0 votes
Jean Jean October 9, 2014

You were right Travis, also if anyone else trying something similar, it is not possible to execute GET or PUT requests to /mypreferences JIRA REST endpoint from an Atlassian Connect Addon, it is because of SCOPES. https://developer.atlassian.com/static/connect/docs/scopes/jira-rest-scopes.html

No scope available for /mypreferences endpoint.

TAGS
AUG Leaders

Atlassian Community Events