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

I have admin role, but I can't get project roles for project

Бурак Андрей December 8, 2022

Hi!

I am trying to get project roles. I have admin role, but when i do GET /rest/api/2/project/{projectIdOrKey}/role I get error message:
errorMessages: [ 'Вы не можете редактировать конфигурацию этого проекта.' ]
(On en: You cannot edit the configuration of this project)

 

Please tell me how to fix the error.

Thank you so much

1 answer

1 accepted

0 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 8, 2022

Hi @Бурак Андрей and welcome to the community,

Based on the REST API documentation you have to have:

  • Administer Projects project permission for any project on the site or
  • Administer Jira global permission.

I've tested on postman and I get a response. I would suggest that you have to check that the role that you have on the specific project, is a role you can administer the specific project.

Are you on a company managed project?

Бурак Андрей December 8, 2022

Indicated that my user is administrator atlassian

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 8, 2022

@Бурак Андрей  unfortunately "Administrator atlassian" is not a thing.

  • Please provide a screenshot that you have the administrator role of the project
  • Please provide a screenshot that the administrator role has the administer project permission
  • If the above do not apply, I will take it that you are a Jira administrator.
  • Please confirm that you are on a company managed project.
Бурак Андрей December 8, 2022

How do I know if a user is a Project Administrator? My profile is the site administrator. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events