Missed Team ’24? Catch up on announcements here.

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

username.N and role.N query parameters on pull request REST API request not working as expected

elliottk
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!
November 25, 2018

I have tried adding these query params to filter out pull requests that are authored by a specific user but can't seem to get them working.  An example of what I have tried is:

https://urltomystashserver/rest/api/1.0/projects/projx/repos/repox/pull-requests?username.1=somename&role.1=AUTHOR

The response gives me all open pull requests regardless of the author name matching what is specified. Is there something incorrect in this approach?

 

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2018

Hi Elliot! 

For this kind of questions you'll be more likely to get a useful response if you redirect it to our Developer Community.

Hope that helps! :) 

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events