Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody,
Now I am working to import Trello cards to Jira issue.
The Trello cards contain a lot of comments I would like to import. Is It possible to do that in mode «creating issue » without « issue mode ».
My job :
I have this errors :
[WARN ]: org.apache.http.client.protocol.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: cloud.session.token=deleted; Expires=Wed, 01 Jan 1800 00:00:00 GMT; Domain=id.atlassian.com; Path=/; Secure; HttpOnly". Invalid 'expires' attribute: Wed, 01 Jan 1800 00:00:00 GMT
[WARN ]: org.apache.http.client.protocol.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: cloud.session.token=deleted; Expires=Wed, 01 Jan 1800 00:00:00 GMT; Domain=.atlassian.com; Path=/; Secure; HttpOnly". Invalid 'expires' attribute: Wed, 01 Jan 1800 00:00:00 GMT
Exception in component tJIRAOutput_1
java.io.IOException: Reason: record wasn't updated, because it doesn't exist
Record: { "fields": { "project": { "key": "TRL" }, "summary": "(30) #F24 Emarsys ==> Mise à jour du fichier de transfert / Dépriorisé en attendant PARDOT", "description": "#Contexte\n\nNous utilisons une solution marketing nommée **Emarsys** qui nous permet d'envoyer des mails aux prospects ou clients en fonction des actions effectuées sur le site ainsi que des campagnes e-mails.\n\nPour que tout cela fonctionne, nous créons un fichier csv chaque nuit à partir de :\n\n- commandes du jour\n- devis du jour\n- formulaires de contact du jour\n\n#Besoin\n\n- Modifier la requête permettant de remplir le fichier (les nouvelles informations à obtenir sont dans le fichier specs_champs-Emarsys, ligne 31 à 63).\n- Créer un second fichier pour le hub sur la base du premier fichier\n- Créer une requête qui va remplir le fichier avec les informations captées sur le hub\n\n#Informations sur le hub\n\n- Nous utilisons un plugin nommé \"DB Contact Form\" pour sauvegarder tous les formulaires issus du hub\n- ils sont sauvegardés dans la base de données du hub, à la table **wp_cf7dbplugin_submits**\n\n#Éléments utiles\n\nPlus d'informations sur le fichier sont présentes ici : https://docs.google.com/a/boxtale.com/spreadsheets/d/1rgnMc5mEL7uEvMcH_qr6Xy1ta1m_5Z4Txmeu2-6HFOY/edit?usp=sharing", "issuetype": { "name": "Task" }, "labels": "Webapp", "comment": [{ "add": { "body": "test Ale" } }] } }
[statistics] disconnected
Error: {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}
at org.talend.components.jira.runtime.writer.JiraWriter.createRejectException(JiraWriter.java:198)
at org.talend.components.jira.runtime.writer.JiraUpdateWriter.handleResponse(JiraUpdateWriter.java:137)
at org.talend.components.jira.runtime.writer.JiraUpdateWriter.write(JiraUpdateWriter.java:100)
at
or when I do this :
I have this :
[WARN ]: org.apache.http.client.protocol.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: cloud.session.token=deleted; Expires=Wed, 01 Jan 1800 00:00:00 GMT; Domain=id.atlassian.com; Path=/; Secure; HttpOnly". Invalid 'expires' attribute: Wed, 01 Jan 1800 00:00:00 GMT
[WARN ]: org.apache.http.client.protocol.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: cloud.session.token=deleted; Expires=Wed, 01 Jan 1800 00:00:00 GMT; Domain=.atlassian.com; Path=/; Secure; HttpOnly". Invalid 'expires' attribute: Wed, 01 Jan 1800 00:00:00 GMT
Exception in component tJIRAOutput_1
java.io.IOException: Reason: record is invalid
Record: { "fields": { "project": { "key": "TRL" }, "summary": "(30) #F24 Emarsys ==> Mise à jour du fichier de transfert / Dépriorisé en attendant PARDOT", "description": "#Contexte\n\nNous utilisons une solution marketing nommée **Emarsys** qui nous permet d'envoyer des mails aux prospects ou clients en fonction des actions effectuées sur le site ainsi que des campagnes e-mails.\n\nPour que tout cela fonctionne, nous créons un fichier csv chaque nuit à partir de :\n\n- commandes du jour\n- devis du jour\n- formulaires de contact du jour\n\n#Besoin\n\n- Modifier la requête permettant de remplir le fichier (les nouvelles informations à obtenir sont dans le fichier specs_champs-Emarsys, ligne 31 à 63).\n- Créer un second fichier pour le hub sur la base du premier fichier\n- Créer une requête qui va remplir le fichier avec les informations captées sur le hub\n\n#Informations sur le hub\n\n- Nous utilisons un plugin nommé \"DB Contact Form\" pour sauvegarder tous les formulaires issus du hub\n- ils sont sauvegardés dans la base de données du hub, à la table **wp_cf7dbplugin_submits**\n\n#Éléments utiles\n\nPlus d'informations sur le fichier sont présentes ici : https://docs.google.com/a/boxtale.com/spreadsheets/d/1rgnMc5mEL7uEvMcH_qr6Xy1ta1m_5Z4Txmeu2-6HFOY/edit?usp=sharing", "issuetype": { "name": "Task" }, "labels": "Webapp", "comment": [{ "add": { "body": "test Ale" } }] } }
[statistics] disconnected
Error: {"errorMessages":[],"errors":{"comment":"Field 'comment' cannot be set. It is not on the appropriate screen, or unknown."}}
at org.talend.components.jira.runtime.writer.JiraWriter.createRejectException(JiraWriter.java:198)
at
What is the problem specifically here ?
I red here on Jira forum : https://tinyurl.com/ybjtmqe6 that :
Im getting this 400 Eror: {"errorMessages":[],"errors":{"summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.","priority":"Field 'priority' cannot be set. It is not on the appropriate screen, or unknown.","description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."}}
It supposed to be a JSON format exception, but when i look at my JSON post form with data, it perfectly match the requriments at their API site. I even try to copy that data they use there, and still get the error.
So my question is, have you any idea what i do wrong?
The solution has been found :)
The HTTP Basic Session Cookie just need to be preemptive:
httpRequest.addHeader(new BasicScheme().authenticate(new UsernamePasswordCredentials("username","password"), httpRequest));
Jira says its a JSON format problem, but it is a auth-error. Hope it helps other people..
Anyone has an idea ?
Is It really a problem of rights or a problem of configuration of my componant ?
Thanks
Hi,
On which talend build version you got this issue? What does your input record look like?
Best regards
Sabrina
Hi,
I work with Talend Open Studio for data integration 6.3.1
What does your input record look like?
>>> What do you mean Sabrina ? You want the traces of the logs in my console ?
I have these ones :
https://docs.google.com/a/boxtale.com/spreadsheets/d/1rgnMc5mEL7uEvMcH_qr6Xy1ta1m_5Z4Txmeu2-6HFOY/edit?usp=sharing", "issuetype": { "name": "Task" }, "labels": ["Webapp"], "update": { "comment": { "add": { "body": "test de commentaires\n" } } } } }
Error: {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}
at org.talend.components.jira.runtime.writer.JiraWriter.createRejectException(JiraWriter.java:198)
Is It really a problem of rights ? or something else... I tried with "creation" (doesn't work) and "update" following https://tinyurl.com/ybj2exvz and
to replace
"key": "TRL" by "key": "TRL-67" ---> 67
is the number of my issue already created but doesn't work !.
Anyone has an idea ?
Thanks.