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

Invoke-JiraMethod to get customer list from Project #524

Open
g-pearl opened this issue Oct 29, 2024 · 0 comments
Open

Invoke-JiraMethod to get customer list from Project #524

g-pearl opened this issue Oct 29, 2024 · 0 comments

Comments

@g-pearl
Copy link

g-pearl commented Oct 29, 2024

Description

I am trying to create a list of all customers for a specific project. Seems that the customer endpoint is experimental and I am not sure that I have the invoke-jiramethod URI correct or enabling the experimentalAPI properly.

Steps To Reproduce

  1. Get list of all projects (with IDs). [Get-JiraProject | select name,id]
  2. Invoke-JiraMethod -Uri "$(Get-JiraConfigServer)/rest/servicedeskapi/servicedesk/20000/customer" -Headers @{'X-ExperimentalApi'='opt-in'}

Second Command does not return anything

Expected behavior

Listing of all users for the specific Project to include at minimum name, email,

Get-Module JiraPS -ListAvailable | Select Name, Version

Name Version


JiraPS 2.14.7

$PSVersionTable
Name Value


PSVersion 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Possible Solution

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

1 participant