Hi, I'm trying to send a web request with the "GET" method, but the response is 405. Here is the error:
Hey @Sedrak Khachatryan ,
Are you really sending to that url?
I guess you wish to GET an issue?
Also your smartvalue seems wrong. instead of {{isse.key}} try {{issue.key}}
Oh, thanks. I'm trying to get the issue.key and then I will use smart values to change time in the ticket fields which depends on the Status time changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unless I'm missing something that is not how this work.
With a GET you'll have to provide an issue key (which you can with the smart value) and then the GET call will return the details of this issue.
Get issue
GET /rest/api/2/issue/{issueIdOrKey}
Returns the details for an issue.
The issue is identified by its ID or key, however, if the identifier doesn't match an issue, a case-insensitive search and check for moved issues is performed. If a matching issue is found its details are returned, a 302 or other redirect is not returned. The issue key returned in the response is the key of the issue found.
If you don't have an issue key you'll first have to retrieve that some other way. (could be thru maybe a JQL call? https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-jql/#api-rest-api-2-jql-parse-post)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.