It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JiraOnPremise: myPermission API is misleading the user

Hello,

 

We are trying to develop an application which deals with Jira OnPremise and On cloud APIs;

However there is recently change in /mypermissions API as stated in : https://developer.atlassian.com/cloud/jira/platform/change-notice-get-my-permissions-requires-permissions-query-parameter/

which works as expected for cloud API.

However our JIRA on premise instance is using Jira Version: 7.11.1 which is using older implementation of /mypermissions api

 

We were trying to provide the query parameter for /mypermissions API for on premise instance; Any combination of QueryParameter is giving correct response:

 

For e.g.,:

 

Request:

http://<jira on premise instance>/rest/api/2/mypermissions?permissions={queryPermission}

 

We have tried below combinations:

1. {queryPermission} = Valid permission

2. {queryPermission} = invalid permission

3. {queryPermission} = null

4. {queryPermission} = undefined

 

All above combinations are behaving exactly similar to /mypermission call

i.e., returning set of all permissions related to user.

 

Need to clarity on the same

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you