Jira agile (Greenhopper) - query rights for board

Hi all,

when using the default jira rest api I have the possibility to query rights for projects or issues (rest/api/latest/mypermissions). Is there something similar for greenhopper boards? I found the rest url

https://jira.atlassian.com/rest/greenhopper/1.0/xboard/config

the result gives me also something like

"userConfig" : { "avatarUrl" : "https://{HOST}/secure/useravatar?size=xsmall&ownerId=ppowalla&avatarId=10701",
"canCreateBoard" : true,
"canCreateIssue" : true,
"canCreateProject" : false,
"displayName" : "John Doe",
"hasFiltersAccessible" : true,
"hasProjectsAccessible" : true,
"name" : "jdoe"
}

does this tell me if the current user has rights to create/start/complete sprints or do I have to to use another rest url to get this information?

Thanks!

2 answers

0 vote

AFAIK board permissions are determined by the permissions of the filter driving the board... but I could be wrong.

For me it seems, that you need administrate rights for all projects that are included in the sprints issues. It's kind of a black box what rights are necessary, that's why I was looking for an API that tells me what actions can be performed.

That is it. You can see more in JIRA Agile Permission. Not aware of any REST API on this.

This is at least a good hint how the right-structure works for Jira Agile, thanks for that. Still it is difficult to evaluate all these rights with the rest api when there is no public api for something like "can the current user create sprints on this board". Maybe the Jira Agile team can think about that when releasing the next version :)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,253 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot