Thanks, Nic. I need to grab a list of people related to a particular through API.
At the moment I'm looking for this method https://docs.atlassian.com/jira/REST/cloud/#api/2/user-findUsers though not sure that it can be used for my good.
Right, so that's not a simple "users in project", and it's a variable that can depend on the issue and not just the project.
To explain it - to get that list, read the permission scheme to see the rules for "can be assigned an issue" - this could be a role, a group, a user, the project lead, members of a user custom field, reporter, assignee, and a couple of other things I can't remember. You'll need to look at each one of those in turn to find out who might appear on the list.
You can make JIRA do this for you by asking, over REST, for a list of people who could be the assignee for an issue.
This endpoint from the Cloud API, solved the problem:
Any thoughts if the similar one exists for JIRA Server?
Appreciate your time and efforts.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
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