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

This widget could not be displayed.

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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

121 views 2 0
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