The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How do I set the reporter and assignee via ticket creation URL?

Archana
September 22, 2020

I'm using this method to set up links for ticket creation

https://confluence.atlassian.com/jirakb/how-to-create-issues-using-direct-html-links-in-jira-server-159474.html

(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.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Fazila Ashraf
Community Champion
September 22, 2020

@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..

Archana
September 23, 2020

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. 

Fazila Ashraf
Community Champion
September 23, 2020

@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

Like • Archana likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events