We are setting up direct HTML (customer links) for repetitive requests. We've worked out most of the URL we just can't get the reporter part to auto-fill with the current user. Ex: https://jira.corp.xxxxx.com/secure/CreateIssueDetails%21init.jspa?pid=xxxx&issuetype=7&summary=xxx&assignee=xxx&priority=8&reporter=admin
When we use "admin" it auto-fills our Jira Admin, not the current user. We've tried "currentuser" as well.
How is your html reaching into Jira to work out what the user id of the current user is?
How do you mean? Sorry, still a new to all this.
The reporter field needs to be given a user id. I was guessing that your application that is building the url needs to ask Jira for the user's id.
Oh. We are putting these together from scratch. No application is being used. Though, are there any good recommendations?
Hi @Carissa Massongill
just in case you have not seen the specific part in documentation for "Reporter" I wanted to add that there is some speciality:
To have the reporter field default to the currently logged in user, the user must be logged in and must not have the Modify Reporter permission.
Modify Reporter
So I think you could leave out the "reporter=admin" part and let Jira do the rest (automatic) but, indeed, it would require that the user "does not have the modify reporter permission" (as per documentation).
Edit: I forgot to link the documentation:https://confluence.atlassian.com/jirakb/how-to-create-issues-using-direct-html-links-in-jira-server-159474.html
Regards,Daniel
currentuser is not supported (yst) see [JRASERVER-25308] CreateIssueDetails URL does not fill in default value for Reporter field when user has Modify Reporter permissions - Create and track feature requests for Atlassian products.
It looks like you're new here. Sign in or register to get started.