-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix issue creation #7
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -276,8 +276,8 @@ | |
{:json {:fields (merge | ||
(select-keys opts [:summary | ||
:description]) | ||
{:project {:id (:project-id opts)} | ||
:issuetype {:id (:type-id opts)} | ||
{:project {:key (:project-id opts)} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://docs.atlassian.com/software/jira/docs/api/REST/9.1.1/#api/2/issue-createIssue This api doc still shows that |
||
:issuetype {:name (:type-id opts)} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The If It's possible that at this point There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If for some reason From what I know about Jira, however, trying to create an issue with a type that isn't included in the |
||
:assignee {:name (jira-user opts :assignee)}} | ||
(custom-fields opts))}}) | ||
ky (:key response) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is code that uses this value as
issue-type
: https://github.com/rwstauner/jirazzz/blob/main/jirazzz#L209-L217so changing the spelling here without changing that code means it will never find an issue type from the createmeta response.