Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Issues via direct HTML links

Ron Jacob
Contributor
April 9, 2018

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= ???

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2018

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.

Ron Jacob
Contributor
April 9, 2018

Users would be directly clicking the URL , they wont run GET /rest/auth/1/session

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2018

The rest call must be made on the page loading using java script. 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events