Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict API token to a JIRA project

Valery Khvashcheuski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 10, 2020

As JIRA administrator I need to integrate one of projects in Jira Cloud with a GitLab project. I have many projects in JIRA, but I need to integrate only one. According to GtLab documentation (https://docs.gitlab.com/ee/user/project/integrations/jira.html#jira-cloud) I need to do following on JIRA side:

1) to set up a user within the project

2) generate API token

Sounds like there is no way to restrict the API token to have access to only one project in JIRA, instead of access to all projects on instance?

Please advise if there are any workaround for the issue?


(GitLab account and project belongs to another company, so I don't want to share API token with their IT guy and expose all the projects)

1 answer

0 votes
Roma Bubyakin _Wombats Corp_
Contributor
July 10, 2020

Hi Valery,

I see only one option.

Create a technical user with limited access and generate token for that account.

Regards, Roman

Chaim Paperman
Contributor
October 12, 2021

@Roma Bubyakin _Wombats Corp_ that's a good solution but will add to your monthly cost.

Is there no way of restricting an API key to a specific project?

Roma Bubyakin _Wombats Corp_
Contributor
October 13, 2021

As far as I know, no :(

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events