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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

155 views 0 2
Read article

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