hello i am new on jira. i am writing a validation. i wrote this
from com.atlassian.jira.issue import Issue
user returns string username. i have to find user's group. how can i do that. it must be return string value.
I was just browsing through the libs and you might be able to solve this using:
abstract SortedSet<String> getGroupNamesForUser(String userName) Returns a collection of the names of the groups that the user belongs to.
abstract SortedSet<Group> getGroupsForUser(String userName) Returns a collection of Group objects that the user belongs to.
That is, if you are willing to pull the username from the reporter instead of its ID.
I hope that helps. Didn't really work with the API beyond the REST interface myself yet.
...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event