Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

does a REST api need authentication when calling it on a servlet?

jacob delddd
Contributor
July 13, 2018

I want to read all the sprint names on jira, but 'greenhopper' is just a pain to work with. So i wanted to use REST api's, but i noticed there needs to be authentication (username & password) when you want to acces the sprintnames. Can't this be avoided, because i'm working within a servlet? (notice: cookie authentication is going to be removed by jira themself)

Thank you for your time!

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2018

Hello,

You cant avoid authentication working in a servlet. You can read my article on how to  work with Jira Software:

https://community.atlassian.com/t5/Agile-articles/How-to-use-Jira-Software-functionality-in-a-Jira-plugin/ba-p/779854

jacob delddd
Contributor
July 17, 2018

isn't there a possibility to avoid manual authentication (so that the user doesn't need to type the password himself)? Like combining api.auth.LoginUriProvider with greenhopper rest api?

Suggest an answer

Log in or Sign up to answer