Forums

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

How to authenticate with Jira REST API using VBA, but not basic authentication

Nicholas Hall June 2, 2022 edited

I have read this article: https://community.atlassian.com/t5/Jira-questions/How-to-authenticate-to-Jira-REST-API/qaq-p/814987

Also able complete basic authentication login on a standard Jira server that requires Email Address and API token. 

Our Jira server requires Okta verify to confirm login, so the same code (using a appropriate email address and a different API token generated, while logged on to our Jira site) does not work.

Any suggestions on the way to proceed?
 


1 answer

0 votes
Sunny Ape
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.
June 2, 2022

@Nicholas Hall 

You will have to speak to your Jira Admins / Sys Admins and request that the URLs related the REST API are exempt from requiring 2FA via OKTA.

Nicholas Hall June 3, 2022 edited

@Sunny Ape Thank you, is this the only solution, then I don't see I will get it to work.

I did some more investigation, if I submit it directly as a curl request instead of VBA it logs me in and provides data, which adds further to my confusion.


David Semmens September 4, 2023

@Nicholas Hall did you find a suitable answer? We are moving our Jira over to OKTA now and I need to move the finance  reporting over.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events