I'm using this method to set up links for ticket creation
(At the moment using the REST API instead isn't an option).
For the Reporter, it says:
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.
Should this happen by default? Or is there a key I should pass for the reporter field?
Is there a way to set default watchers for a ticket? (A comma separated list of usernames?)
I tried ?watcher=username and ?watchers=username but neither worked.
@jonb For the reporter piece, you should make sure that the current user (executing the issue creation using above html link) is already logged into JIRA instance and does not have "Modify Reporter" permission in that project's permission scheme. You do not need to pass any value for the reporter field in the html link in this case.
I am not sure about whether this html link issue creation supports Watcher field or not, but I am sure that the user who creates the issue will automatically become the watcher of that issue.
Hope it proves helpful!
I see, yes some of the users are marked as developers, so the reporter field isn't automatically filled in.
Also, on further inspection following these instructions:
The name of the field can be found by examining the source code of the page in which the field is in.
The "watchers" field is set at customfield_10367. It's strange that that isn't a default field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As @Taranjeet Singh mentioned, I needed to check the "Modify Reporter" permission in that project's permission scheme. Some users are listed as developers which will not fill in the reporter field automatically.
The "watchers" field is set at customfield_10367. It's strange that that isn't a default field.
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.