I want to use Talend Open Studio to GET data from the JIRA REST API. Talend needs HTTP Header information to be filled in, what do i need to fill in that information.
i already tried username and password but that doesn't work.
Talend fields to fill:
http method = GET
Thank you for your response.
I am new in the REST API world and i have no clue of what to do. i have been exploring the internet for answers but i could not find any...
In JIRA i have an username and password, i searched in JIRA with the advanced function for a specific project and now have a link like this https://jira.[companyname].nl/rest/api/latest/search?j=project=circoo so when i put this in the browser a bunch of text (json) is shown. when i try to make the connection in Talend it needs the URL, i paste the one above and then it needs HTTP method and header. method is GET and the header (name,value) i dont know what to fill in there.. do you have any clue?
I think you need to look at Talend resources to find out why it's asking for these when you're doing simple postings that don't need the headers. (They may be useful if you want to retain an authentication, but without knowing what Talend is doing or why, I can't even say that)
thanks for your answer, so i changed the link and filled in name: jql and value: project=circoo. so for that part i understand. but where can i find the checkbox for use authentication? and also, where should i fill in the username/password (i think you mean the username/password for my JIRA login right?)
well i am using another component in Talend, i am using: tREST instead of what the screenshot is showing me (tRESTClient).
however i managed to get rid of the error messages by adding the JIRA certificate to my JAVA keystore, now i dont get any errors when connecting but when i try to retrieve the data from the REST API i get 0 results....
so the data i get from the tREST = just the first part of the REST API, when i enter the URL in the browser then i get the full REST API.
see the attachment for more information..
i get this when i read the data from the tREST directly:
It is returning 0 results because you are still not authorised to view data, although the connection is successful. Just add
This is answer to a question of how to add basic authentication to tREST component in Talend:
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot