The below code gets the project, I need a way to list all the issues in the project
import com.atlassian.jira.issue.Issue; import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.ComponentManager
def projectManager = ComponentAccessor.getProjectManager()
Thanks a mil.
You can do it like so:
def issueMgr = ComponentAccessor.getIssueManager()
def issues = issueMgr.getIssueObjects(issueMgr.getIssueIdsForProject(projectId))
This will return an Array List of all issues in a project with the given 'projectId'
We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events