Hi I am trying html link to create an issue in Jira
But I need current user to populated as reporter
How to do the same
https://[JIRABASEURL]/secure/CreateIssueDetails!init.jspa?pid=14507&issuetype=11802&reporter= ???
You can get the current user login using GET /rest/auth/1/session. You can find more info here:
https://community.atlassian.com/t5/Jira-questions/How-to-check-current-login-group-using-javascript/qaq-p/173183
and then add the current user login to your html link.
Users would be directly clicking the URL , they wont run GET /rest/auth/1/session
The rest call must be made on the page loading using java script.
It looks like you're new here. Sign in or register to get started.