n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
45.97k stars 6.47k forks source link

Jira node list custom fields not working #10522

Open support337 opened 1 month ago

support337 commented 1 month ago

Bug Description

When using Jira Software Server node to update an issue, dropdown Custom fields is empty with message "Could not load list". JIRA Software Server version is 9.4.8.

To Reproduce

  1. Create Jira Server Update Issue node
  2. Set resource to Issue, set operation to Update, set Issue Key to any existing JIRA issue which has custom fields
  3. Select Add field, choose type Custom fields
  4. Set Field to From list
  5. Click on dropdown Select a Field
  6. Observer error 500 in console stating JIRA response is 404: Issue not found

Jira logs contain following requests when dropdown menu is invoked, basically n8n calls to nonexistent endpoint:

"GET /rest/api/2/issue/LTES-121- HTTP/1.1" 200 1380 8 "-" "axios/1.6.7" "1ek8x0j" "GET /rest/api/2/issue/createmeta?projectIds=17006&issueTypeIds=10700&expand=projects.issuetypes.fields HTTP/1.1" 404 91 4 "-" "axios/1.6.7" "1dewby7"

Expected behavior

List available custom fields

Operating System

Debian 12.6

n8n Version

1.54.4

Node.js Version

v18.19.0

Database

SQLite (default)

Execution mode

main (default)

Joffcom commented 1 month ago

Hey @support337,

We have created an internal ticket to look into this which we will be tracking as "GHC-181"