Update Jira Issue Status

Describe the problem/error/question

When I try to use Jira Tool to update Issue Status I always receive “bad request” response. I tried using status name “Done” and tried using the status ID “100032” Neither have worked.

What is the error message (if any)?

Bad request - please check your parameters

Please share your workflow

Share the output returned by the last node

Bad request - please check your parameters

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Is there a reason you don’t want to use “Mark as done” option from the fall down menu?

I tried and it didn’t work. Jira doesn’t seem to support changing status using the update status field. It only work through what is called “transactions”

I was confused by that. I mean if this is not supported, then why does it show as an option in Jira node?

I just tried changing the status of the support ticket in Jira via Update and “Mark as done” dropdown and it worked for me just fine.

Hmm, I have just retested it now and you are right. If I manually select a status from the list it works.

What I was trying to do is the let the model pick the status based on the user input. Which I was never able to let it work. I tried using the status string and the status numeric ID. No luck.

I guess I’ll have a node for each status:

  1. Update status to Done
  2. Update status to QA
  3. etc

But what if I want to use Update Assignee?

It seems like the AI Model can not interact with “From List”

Should be able to use expression and values too. For instance the statuses gave numeric values (if you switch “from from” list to by id you should get the value). The process becomes - one operation is get the value for a given status, the other - set the status from retrieved value. I think the dropdown should work too, I may try it later today (if I won’t forget).

Ah I see what you mean, the option to set the status by ID goes away when you switch to AI assisted field.

The way to get this field is either with api call to get transition ids (there got to be one) or just look them up manually on this page:

See Mark as Done is transition id 61. This is the id you will need to use to change status. So basically when setting the status you don’t use the status id, you use a transition id, where each transition id sets the destination state of the issue.

1 Like

Thanks mate! This helped.