Closed mwoffenden closed 6 years ago
Get-JiraVersion -Project $ProjectKey
.
But this is currently only available in de dev branch.
Don't know if I will manage to release this to the gallery tomorrow. But within the next month definitely.
In Jira it's possible to create multiple versions for a project. Would this give me a list of all versions for a project?
Yes
Great. How do I access the dev branch? I need to get at the project versions this week.
Great, how do I install? Sorry, not familiar with the inner workings of modules.
You can Import-Module '......\JiraPS\JiraPS.psd1'
Ok, I imported the module and the Get-JiraVersion command is available.
Bit it's not finding my project, which I know exists (and I can retrieve the project name using Get-JiraProject.) Getting this error. Any ideas?
Resolve-JiraError : Jira encountered an error: [No project could be found with key 'Project1'.]
Can you show a screenshot of the Versions?
Some progress. I can retrieve individual versions with this command:
Get-JiraVersion -ID 10001 -Credential $cred
But I am still struggling to access all versions by Project name.
Unfortunately you redacted the project key
Yes, we can't post it. How would it help you anyway?
I am sorry to say, but I am not able to track down the problem please make sure your prokect key is in the correct case (I think the current implementation is case sensitive).
However: I am planing on releasing the a new version by end of this week with the feature working properly. You can track this here: Milestone v2.2
I do have the key in the correct case. Hope the new release fixes my issue.
How do I get a Jira project's versions using JiraPS?