Jira Api支持基础授权和OAth授权.我试过基本授权,它工作正常.现在我正在尝试OAuth授权,但我无法获得访问令牌.
这是我所引用的Api文档链接:https://developer.atlassian.com/jiradev/api-reference/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example- OAuth的认证
任何人都可以帮我找到访问令牌吗?我错过了什么吗?
我需要从一个方法中存在,我该如何在Java中实现?
void print(){
try{
coding...
//I need to exist from the print method here.
}catch(){}
}
Run Code Online (Sandbox Code Playgroud)