-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Trying to create New-JiraIssue with customfield #56
Comments
Hey @z0ph, thanks for the great information on this issue! Fields like this one with a list of allowed values need a slightly different syntax. I'm working off the top of my head (don't have access to my JIRA instance while I'm at work), but try this: $field = @{
'customfield_10482' = @{
id = 10413
# You *might* also be able to do this with value = "Service Client" instead...not sure on that one
}
}
New-JiraIssue -Project SSC -IssueType Incident -Priority 1 -Reporter 'Lucie' -Summary 'Test issue from PowerShell' -Description 'This is a test issue created from the PSJira module in PowerShell.' -Fields $field Let me know how that goes! |
BOOM ! Thanks @replicaJunction its working with your code. Only added quotes :)
|
Awesome! Documentation is on my to-do list (#51) so I'll make a point of including this bit on custom fields as well. |
Hello,
and without custom field :
Its a multi select item : When i run :
Get-JiraIssueCreateMetadata -Project SSC -IssueType Incident
Could you help how to select this particular value with customfields.
Thanks for your help,
The text was updated successfully, but these errors were encountered: