Assignee cannot find me when creating a Jira issue

Hello, I’m a beginner.
english is weak, so please understand.

I ran the n8n using a docker, and the version uses 0.227.1.
I want to create a jira issue using n8n recently. The jira I use is not the cloud version.

If i look up the assignee section as “From list” during the test, only a few users will be printed, and search for my name, there will be no results.

If I search by “By ID”, I don’t think I recognize my id.
For example, my name is Joe Biden.
If i type {{“joe.biden”}} in “By ID”, the response is as follows.
400 - {“errorMessages”:[],“errors”:{“assignee”:“user ‘joe’ does not exist”}}

Is there a way to query me on “From list” or to send my name including “dot” on “By ID” as a string?

Information on your n8n setup

  • **n8n version: 0.227.1
  • **Database (default: SQLite): idk, using docker-compose
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): idk
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • **Operating system: linux

using “By ID”
Screenshot 2023-05-19 at 10.07.51

using “By ID” output
Screenshot 2023-05-19 at 10.08.43

using “From list”
Screenshot 2023-05-19 at 10.09.20

Hey @Supka,

Welcome to the community :cake:

The ID for a jira assignee isn’t their username it is normally some numbers followed by a GUID so something like 123456:7710de47-1472-4420-9b7e-ce422bb94d97. Does the assignee list not work at all? I have just given it a quick look with my test jira cloud account and it appears to find me as expected.

image

1 Like

Thank you for your reply.
Unfortunately I don’t use the jira cloud version.
So it looks different from me.

Like the second image I attached
Is there a way to pass a variable with a ‘.’ included?

It’s hard to do this and that because newbie.
Thank you for your reply.

Hey @Supka,

Looking at the API documentation it should be the same for self hosted Jira as well. If you get an issue under the assignee or creator you should see a userId which is the value to use.

It would be nice to see why it fails when fetching the list though, does the url have a trailing slash in the credential?

Thank you for your prompt reply.
I think it’s because we’re linked to the AD server.
I can’t seem to find the same value as hash no matter how much I look for it.

I found this instead.
When querying with “From list”, a few users are queried.
Sorry, I covered up sensitive information.
Screenshot_2023_05_23_18_41

And after i select someone, switch to “By ID” and that person’s AD account name will be printed out.
Screenshot_2023_05_23_18_42

If i send it like this, it works well.
However, the problem is that if the user ID contains a ". (e.g., “areum.wei”)
This seems to be going to “areum.”
Screenshot_2023_05_23_18_47

That’s why I felt I needed a way to request a string containing “.”

thanks

Ahh ok that is interesting, I wonder if we are changing something there or if it is something the API doesn’t like. I will free up some time to take a look, For now you could try using the http request node to see if that works around it.

1 Like

Thank you always for your quick reply.
I think you understand my situation.
I think I can create Jira issue using http request urgently, and assign assginee to a specific person (user name containing “.”).

I look forward to your reply.

Thanks

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.