Skip to content

Conversation

ganchito55
Copy link
Contributor

Before this commit, getAllProjects doesn't return some project properties (reference). So if you need the description you have to use the getProject function for every project.

Now, with this change you can use the expand query parameter to ask for the following information:

  • description - description of the project.
  • projectKeys - all project keys associated with the project.
  • lead - project lead. Note, that project lead role is different from project administrator one.
  • issueTypes - issue types associated with the project.
  • url - a URL associated with the project.

The following code is an example of use:
$this->getProjectService()->getAllProjects(['expand'=>['description']]);

@lesstif lesstif merged commit 72f9bbb into lesstif:master Feb 7, 2018
@lesstif
Copy link
Owner

lesstif commented Feb 7, 2018

@ganchito55 thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants