I'm using this method to set up links for ticket creation
(Using the REST API instead isn't an option).
I am trying to set assignee and reporter by passing email address in the URL as mentioned below:
https://<Cloud instance URL>/secure/CreateIssueDetails!init.jspa?pid=10117&issuetype=10033&assignee=<user-email-address>&reporter=<user-email-address>
However the create issue page is not recognizing the user email. Not sure why. I have tried passing user name instead of email address but same problem.
Any leads would be much appreciated.
@Archana , i just tested this out..
The email address doesnt work.. But there is an id like '520058:d7c6c728-5501-4905-a5e5-c1e7bbc55265' when you go to your profile.
When i use that in the format below, it works
https://<Cloud instance URL>/secure/CreateIssueDetails!init.jspa?pid=10117&issuetype=10033&assignee=<id>&reporter=<id>
You will have to probably get that id from the user.. Not sure whether the site admins can fetch it easily in the system..
Thanks @Fazila Ashraf, Thanks for your answer. I understand it works fine when using id. But I am actually trying to access the page from another application using the URL. The said application only provides email-id. Getting id is not an option right now, however we are still working on it.
On Atlassian documentation mentioned above they clearly said the email-address and username should work. Thus I wonder why this doesn't work.
Do let me know if you have any idea why email doesn't work. Thanks anyways.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Archana , the doc link you are referring to is for jira server. It doesnt have this token id concept.
For cloud, i dont think email address work
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.