hi
i have a problem
i want to integrate dynatrace with jira.
i create api token and send test request and i fail. https://jira-support.kapitalbank.az/rest/api/2/
i seee this error on jira logs
2022-03-02 11:03:40,127+0400 http-nio-8080-exec-132 anonymous 663x13021407x7 - 10.0.6.204,10.0.4.121 /rest/api/2/issue login : 'Dynatrace' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.
2022-03-02 11:03:40,148+0400 http-nio-8080-exec-132 anonymous 663x13021407x7 - 10.0.6.204,10.0.4.121 /rest/api/2/issue The user 'Dynatrace' has FAILED authentication. Failure count equals 9
2022-03-02 11:03:40,168+0400 http-nio-8080-exec-132 anonymous 663x13021407x7 - 10.0.6.204,10.0.4.121 /rest/api/2/issue login : 'Dynatrace' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.
2022-03-02 11:03:40,188+0400 http-nio-8080-exec-132 anonymous 663x13021407x7 - 10.0.6.204,10.0.4.121 /rest/api/2/issue The user 'Dynatrace' has FAILED authentication. Failure count equals 10
Reason: Invalid HTTP status code
HTTP Response Code: 401 - Unauthorized
HTTP Response Body:
`
Unauthorized (401)
<meta name="application-name" content="JIRA" data-name="jira" data-version="8.20.3">
<div class="aui-page-panel" ><div class="aui-page-panel-inner">
<main role="main" id="main" class="aui-page-panel-content" >
<div class="aui-page-header" ><div class="aui-page-header-inner">
<div class="aui-page-header-main" >
<h1>Unauthorized (401)</h1>
</div>
</div></div>
<div class="aui-message aui-message-warning warning">
<p>Encountered a <code>"401 - Unauthorized"</code> error while loading this page.</p>
<p>Basic Authentication Failure - Reason : AUTHENTICATED_FAILED</p>
<p><a href="/secure/MyJiraHome.jspa">Go to Jira home</a></p>
</div>
</main>
</div></div>
You have a user account dedicated for the Dynatrace integration and you can log in as that, but the error messages are very clear - that user does not have permission to do what it is trying to do.
You need to give the Dynatrace user permission to log in and update the issues it is trying to amend.
thank you very much for reply. Dynatrace user is admin user. (jira-administrator group)
it is okay ?
what should i do now ? pls help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to grant the dynatrace account the permissions to do what it is intended to do. Admin rights are wrong, the app doesn't need admin rights (and they don't mean "can do everything"), it needs permission to log in and act in the projects you've configured.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok i understand you but i send request with postman dynatarce user and api token task created succeessfully.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.