-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Jira 9 breaks creating Jira issues #461
Comments
Jira Server not cloud btw |
Same for 9.1. I also discovered that the API call used by Get-JiraIssueCreateMetadata was not only deprecated but missing entirely. I was already making some local changes to use the new API call when I saw your post. The workaround does work after also making changes to the ConvertTo-JiraCreateMetaField for the different structure. |
I have the same problem! @rjl61 would you please share what changes have you made to solve the problem? |
Is there any chance that we will see a solution for this issue? |
@jcrivas1971 @saeid-adz This is my solution. I have not significantly tested this but it seems to work for my purposes. spicy@fc2632c |
@spicy Thanks mate! Worked for me too! I have several types of connection and automation based on this module and I can confirm that the issues have been solved by using your solution! |
@saeid-adz: I am sorry but I guess you have to thank @spicy. |
@jcrivas1971 Thanks mate, I selected the wrong userId! edited now :) |
@spicy: It took a while but I was able to test your fix today. It works perfectly!! |
@spicy I need to integrate this fix today into my local WindowsPowerShell\Modules\JiraPS\2.14.6\JiraPS.psm1, what's the right way to do this? Or can we somehow get a fixed module? |
I don't think this project is being supported since my merge request was not accepted yet. You can just copy my code and modify the function if it's visible. Otherwise you can put the new function in a new ps1 to call instead. Hope this helps |
@spicy Thanks - I did try that locally, made the edits to "function Get-JiraIssueCreateMetadata" but the error still shows up, so I must be doing something wrong. We (along with many others) very much need this fixed. Any idea how to build an updated module using your fixed code? |
Can anyone help with this? |
@mwoffenden: spicy forked the original project and provided a fixed version. Instead of a local edit you should probably try to use his version or just the corrected file? You could download the whole project as a zip file and either copy the whole directory or just the above mentioned file. Just go to spicy/JIRAPS. I hope this helps. |
@jcrivas1971 Yes, we finally did download the code and made the edits locally, this solution seems to be working for us. However I can imagine that the ideal is to have the master JiraPS brought up to date so that people downloading from the PowerShell gallery can have a working version. |
So what's the status with proper Jira 9 support, @lipkau? |
Same issue here. What I can see, this is related to this change: We've created a workaround for our use case, and we use this internally. Not sure if this covers all cases and if it is a complete workaround. Anyway, if someone finds that helpful: |
@claudiospizzi ; thank you so much for this. I hope the maintainers find room to get the CICD pipeline up and running again so your pull-request can get processed. Your change fixed our situation. |
Seems the alpha pre-release |
Thanks @bradyclifford! Would you post a link to where I can find this pre-release? Also, does this also apply to Jira Cloud? We moved to Cloud about a year ago. |
I am not sure if it applies to Jira Cloud. I only tried the pre-release with the on-prem version of Jira. The release is listed in this repo's releases: https://github.com/AtlassianPS/JiraPS/releases/tag/v2.15.0-alpha1 |
Description
Get-JiraIssueCreateMetadata fails in Jira Version 9.0 according to a short research its because the used API is deprecreated
Steps To Reproduce
Run Get-JiraIssueCreateMetadata against a Jira Server with Version 9.0 or higher
Expected behavior
Get the Meta Data needed to create an Issue
Your Environment
Jira 9.0
Get-Module JiraPS -ListAvailable | Select Name, Version
Name Version
JiraPS 2.14.6
$PSVersionTable
Name Value
PSVersion 7.2.5
PSEdition Core
GitCommitId 7.2.5
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Possible Solution
https://bitbucket.org/atlassianlabs/atlascode/issues/753/cannot-open-issue-create-issue-in-vscode
The text was updated successfully, but these errors were encountered: