Comments (15)
Hey @mathiasdaniel,
What happens if you select the issue type from the dropdown box does that work?
from n8n.
Hey @mathiasdaniel,
Can you configure an HTP Request node to use the same credential and set the URL to https://your-instance.atlassian.net/rest/api/2/project/10980
and see if that works?
It can also fail to load if the project id isn't correct as an example for my test project which is the first project in my jira instance the id is 10000
and for my issues I have...
Task - 10001
Epic - 10002
SubTask - 10003
Don't forget that these are IDs internal to Jira, I would be very surprised if you had single digit IDs on Jira Cloud.
from n8n.
Hey @mathiasdaniel,
Can you try the request option I provided so we can see what Jira is replying with?
from n8n.
Hey @mathiasdaniel,
Yeah we were expecting higher so we need to change that regex, I am not sure why it isn't loading the list though. I will update that regex though and we can see if it changes anything.
from n8n.
@mathiasdaniel docker tag is n8nio/n8n:PR-8571-gh-8560
but I would recommend running it as a test instance rather than in your live instance.
from n8n.
Hey @mathiasdaniel,
Perfect, in that case I will get the PR ready for review and we can look at merging it for the next release.
from n8n.
Hey @mathiasdaniel,
The change for this has been merged and will be generally available in the next release. For now I will get this closed.
from n8n.
Fix got released with [email protected]
from n8n.
Hey @mathiasdaniel,
What happens if you select the issue type from the dropdown box does that work?
Hey @Joffcom,
good advice, but there is also a Problem:
BTW the JIRA User has admin privilegs (for fixing this bug), so there should be no problems with JIRA Cloud right policy.
from n8n.
@Joffcom we are also surprised of one digit IssueTypeIDs - after the migration from jira server to jira Cloud.
The Test via HTTP Post Request works:
from n8n.
Hey @Joffcom
I changed the Method to GET
and the URL to https://our_instance.atlassian.net/rest/api/2/project/10980
Here is the Output:
[
{
"expand": "description,lead,issueTypes,url,projectKeys,permissions,insight",
"self": "https://our_instance.atlassian.net/rest/api/2/project/10980",
"id": "10980",
"key": "SYS",
"description": "",
"lead": {
"self": "https://our_instance.atlassian.net/rest/api/2/user?accountId=712020:9b30ad14-d3cd-4ed3-a41c-b4c440712355",
"accountId": "712020:9b30ad14-d3cd-4ed3-a41c-b4c440712355",
"avatarUrls": {
"48x48": "https://secure.gravatar.com/avatar/877d5474e20eee516937ba75a901555a?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHM-5.png",
"24x24": "https://secure.gravatar.com/avatar/877d5474e20eee516937ba75a901555a?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHM-5.png",
"16x16": "https://secure.gravatar.com/avatar/877d5474e20eee516937ba75a901555a?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHM-5.png",
"32x32": "https://secure.gravatar.com/avatar/877d5474e20eee516937ba75a901555a?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHM-5.png"
},
"displayName": "Dale and Evil",
"active": true
},
"components": [
{
"self": "https://our_instance.atlassian.net/rest/api/2/component/13760",
"id": "13760",
"name": "Mando",
"description": "Mando",
"isAssigneeTypeValid": false
},
{
"self": "https://our_instance.atlassian.net/rest/api/2/component/13660",
"id": "13660",
"name": "Boba",
"isAssigneeTypeValid": false
},
{
"self": "https://our_instance.atlassian.net/rest/api/2/component/13661",
"id": "13661",
"name": "Opal",
"isAssigneeTypeValid": false
}
],
"issueTypes": [
{
"self": "https://our_instance.atlassian.net/rest/api/2/issuetype/3",
"id": "3",
"description": "Eine Aufgabe, die ausgeführt werden soll.",
"iconUrl": "https://our_instance.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/11418?size=medium",
"name": "Aufgabe",
"subtask": false,
"avatarId": 11418,
"hierarchyLevel": 0
},
{
"self": "https://our_instance.atlassian.net/rest/api/2/issuetype/10001",
"id": "10001",
"description": "User Story",
"iconUrl": "https://our_instance.atlassian.net/images/icons/issuetypes/story.svg",
"name": "Story",
"subtask": false,
"hierarchyLevel": 0
},
{
"self": "https://our_instance.atlassian.net/rest/api/2/issuetype/1",
"id": "1",
"description": "Ein Problem, welches die Funktion von OPAL beeinträchtigt oder gar verhindert.",
"iconUrl": "https://our_instance.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/11403?size=medium",
"name": "Fehler",
"subtask": false,
"avatarId": 11403,
"hierarchyLevel": 0
},
{
"self": "https://our_instance.atlassian.net/rest/api/2/issuetype/10000",
"id": "10000",
"description": "Eine thematische Klammer für andere Vorgänge",
"iconUrl": "https://our_instance.atlassian.net/images/icons/issuetypes/epic.svg",
"name": "Epic",
"subtask": false,
"hierarchyLevel": 1
},
{
"self": "https://our_instance.atlassian.net/rest/api/2/issuetype/10302",
"id": "10302",
"description": "Ein Problem mit einem System oder einer Software",
"iconUrl": "https://our_instance.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/11403?size=medium",
"name": "Problem",
"subtask": false,
"avatarId": 11403,
"hierarchyLevel": 0
}
],
"email": "jira_mail@our_instance.de",
"assigneeType": "UNASSIGNED",
"versions": [
{
"self": "https://our_instance.atlassian.net/rest/api/2/version/29849",
"id": "29849",
"name": "1",
"archived": false,
"released": false,
"projectId": 10980
}
],
"name": "System",
"roles": {
"atlassian-addons-project-access": "https://our_instance.atlassian.net/rest/api/2/project/10980/role/10102",
"Service Desk Team": "https://our_instance.atlassian.net/rest/api/2/project/10980/role/10101",
"Service Desk Customers": "https://our_instance.atlassian.net/rest/api/2/project/10980/role/10100",
"Technical User": "https://our_instance.atlassian.net/rest/api/2/project/10980/role/10103",
"Administrators": "https://our_instance.atlassian.net/rest/api/2/project/10980/role/10002",
"Users": "https://our_instance.atlassian.net/rest/api/2/project/10980/role/10000"
},
"avatarUrls": {
"48x48": "https://our_instance.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10201",
"24x24": "https://our_instance.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10201?size=small",
"16x16": "https://our_instance.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10201?size=xsmall",
"32x32": "https://our_instance.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10201?size=medium"
},
"projectTypeKey": "software",
"simplified": false,
"style": "classic",
"isPrivate": false,
"properties": {}
}
]
With the IssueType Problem (issueTypeID 10302) i am able to create a JIRA Ticket via the native JIRA Node.
BTW: I searched the Web for the Schema Description for the issueTypeID, in the end chatgtp tells me a Range of 1 to 10 digits, type number.
The n8n JIRA Node accepts minimum 2 digits for the issueTypeID. https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/nodes/Jira/IssueDescription.ts
from n8n.
@Joffcom thank you so much. n8n and the community are awesome.
from n8n.
@mathiasdaniel if I was to make a test image based on the PR above would you be able to give it a go in a test environment?
from n8n.
Hey @Joffcom sure, we only need the Release Tag for the docker build, at the moment we use latest. Thx.
from n8n.
Hey @Joffcom ,
we builded a test instance and tested the following execuions with the JIRA node:
JIRA Node, IssueType, select by ID 3 works - JIRA Ticket is created, JIRA Node Ouptut is fine as expected
JIRA Node, IssueType, select Liste Task (ID 3) works - JIRA Ticket is created, JIRA Node Ouptut is fine as expected
Thank you for your help
from n8n.
Related Issues (20)
- Bug: Gmail Node is not saving parameters HOT 4
- Post Upgrade to v1.39.1 - Airtable Node Output Fields BROKEN HOT 6
- OpenAI Assistant & gpt4-o HOT 8
- OpenAI Assistant creating new thread everytime HOT 8
- Accessing Ticket Object ID in Hubspot Trigger Node HOT 2
- 1.41.0 - Bug: Number of Executions Shown in Side Panel is Limited to 10 at a Time HOT 5
- ERROR: The DNS server returned an error, perhaps the server is offline HOT 2
- OpenAI Assistant - The requested model ‘gpt-4o’ cannot be used with the Assistants API in v1 HOT 1
- HTTP Request / OpenSSL Error HOT 3
- "Convert to HTML Table" Does Not Add the "Row Attributes" Option HOT 1
- workflows.map is not a function HOT 2
- Renaming the node by leaving the name field empty causes unexpected behavior HOT 4
- Can you add options for multi-branch parallel execution and for nodes to continue the workflow execution even if an error occurs? HOT 1
- Error: HTTP status 403 HOT 7
- Node Max Tries / Wait Values Limits Too Low HOT 7
- Ask AI is not present in the Code node on self-hosted Docker ver 1.41.1 HOT 3
- Pagination Does Not Reset When Re-Testing Node HOT 1
- NPM - Esm modules are not supported, dynamic (async) import fails HOT 3
- http node executes "successfully" but error is returned HOT 3
- Webhook only work in test mode... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n8n.