Comments (2)
Since the browser is using cookie-based authentication as well, it should be possible to get jiralib2 working, too.
If you have too many failed login attempts through the API, Jira might need you to log in from the browser and fill a captcha. I have had to do that several times.
The minimal steps to get the login to work are:
(setq jiralib2-url "https://jira.mycorp.com") ;; note, no /rest/api/2 here, make sure you use correct protocol http/https
(jiralib2-session-login "username" "password") ;; Evaluating this should return a string "JSESSIONID=...", it is also bound to *JIRA-SESSION*
from ejira.
I've attempted to try ejira again. apparently your lib is hitting the saml auth due to not appending the /rest/api/2 portion to the calls. prompting in emacs to login in the browser
Eval of (jiralib2-session-login "username" "password") with username and password replaced with proper values
login denied login in the browser.
SAML frontend denied. each time as the saml login is also 2fa.
I am connected and using the hosted jira perfectly in the browser. I don't understand what hook or method emacs uses the browser to get a session id? I've even attemted to set the JIRASESSION to the cookie found in the browsers session..
login denied login in the browser
Org-jira connects and pulls the data (partially) but it seems that the calls to the hosted version api's are different enough from the cloud version that it breaks on update and insert. So I tried ejira again.
jiralib2-verify-setup reports successfully logged in.
from ejira.
Related Issues (20)
- ejira-progress-issue fields for code review
- verbatim text (curly braces) HOT 4
- Having trouble logging in HOT 1
- ejira does not appear to be published anywhere HOT 3
- Working on issues with multiple users HOT 4
- ejira-hourlog seems to be one hour off for every entry HOT 10
- I can unassign an issue but I can't assign it to a user or myself HOT 14
- wrong-type-argument stringp replace-regexp-in-string (at ejira--parse-sprint) HOT 20
- Feature: add "open in external browser" method HOT 4
- Issues moved between projects show up in both projects
- `Update-my-projects` doesn't get all issues for very large projects
- ejira-update-my-projects not working HOT 1
- update-my-projects fails on first run HOT 2
- ejira-heading-to-task return errors HOT 1
- Add {noformat} to parser HOT 2
- Team-managed projects lack Epic Links etc
- How to use with Jira cloud HOT 4
- `ejira-update-my-projects` should be asynchronous HOT 1
- Does ejira has plan to host on melpa?
- (invalid-function #<buffer AAA.org>) HOT 5
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 ejira.