JiraOnPremise: myPermission API is misleading the user

AppConnect December 17, 2019

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