Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature: get Project Components #426

Closed
edegaudenzi opened this issue May 6, 2022 · 4 comments
Closed

New feature: get Project Components #426

edegaudenzi opened this issue May 6, 2022 · 4 comments

Comments

@edegaudenzi
Copy link
Contributor

Functionality to retrieve Components defined in a Jira project is missing.

Something like:

$proj = new ProjectService();
$prjs = $proj->getAllProjects();
// Extract and show Project Components for every Jira Project
foreach ($prjs as $p) {
    var_export($proj->getProjectComponents($p->id));
}

I'll try to create a pull request about this.

@lesstif
Copy link
Owner

lesstif commented May 6, 2022

Hi @edegaudenzi, I'm looking forward to your PR.

edegaudenzi pushed a commit to edegaudenzi/php-jira-rest-client that referenced this issue May 6, 2022
…nts() to extract the Components defined in a Jira Project. Updated README.md with an example.
edegaudenzi pushed a commit to edegaudenzi/php-jira-rest-client that referenced this issue May 6, 2022
…ponents() method Description to be StyleCI compliant.
@edegaudenzi
Copy link
Contributor Author

Hi @lesstif , you're more than welcome. I think PR's up.

@lesstif
Copy link
Owner

lesstif commented May 7, 2022

Hi @edegaudenzi , Thank you for your great PR.
Could you update README.md with sample code, please?

@edegaudenzi
Copy link
Contributor Author

It should already be in the first commit. I've tried to follow existing code style and naming convention but will definitely need your review! ;)

lesstif pushed a commit that referenced this issue May 7, 2022
#427)

* #426 Implemented new feature ProjectService::getProjectComponents() to extract the Components defined in a Jira Project. Updated README.md with an example.

* #426 Added a trailing dot to the ProjectService::getProjectComponents() method Description to be StyleCI compliant.

Co-authored-by: enrico.degaudenzi <[email protected]>
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

No branches or pull requests

2 participants