Access JIRA API with api key without username and password

后端 未结 3 1539
不知归路
不知归路 2021-01-21 20:21

Currently I\'m accessing JIRA API in C#.Net application with username and password. But I need to access the JIRA API without entering a username and a password even without has

3条回答
  •  感动是毒
    2021-01-21 20:43

    Best approach for this is to read the documentation of the JIRA version you are using, since different versions could have different ways to approach Rest APIs.

    For me below endpoint worked with Basic auth:

    curl -u username:password -X GET -H "Content-Type: application/json" http://localhost:8080/rest/api/2/issue/createmeta
    

提交回复
热议问题