Issue HTML creation link assigning to @me?

Hi there,

working on JIRA v5.1.8 i am trying to create a issue by HTMl hyperlink.

Everything works fine, but i can't figure out how to set the assignee to the
currently used user? Is there a shortcut like @me or something like that?

I would appreciate if you can give me a hint on that.

Best regards,
Marc

 

1 answer

This widget could not be displayed.

How are you creating the issue via HTML Hyperlink? Can you show us how? And what do you mean by "to the currently used user?"

My cgi script generates content for a JIRA issue which is then created by a user clicking on a link looking like something like that:

http://0.0.0.0/secure/CreateIssueDetails!init.jspa?pid=<ProductId>&components=<Component1>&components=<Component2>&assignee=<Assignee>&environment=Sample+Environment&duedate=07.12.2015&issuetype=<IssueType>&customfield_10300=<CustomfieldInput>&reporter=<Reporter>&timetracking=<Value>&priority=<Priority>&summary=This+is+a+sample+summary&description=Sample+Description%0AWow+a+line+break

Documentation: https://confluence.atlassian.com/display/JIRAKB/Creating+Issues+via+direct+HTML+links

I can now define the assignee parameter as mwe (which is me) but i need to define it in a way that uses the currently logged in user. For example: another user calls the issue creation link and so he has to be the assignee.


You will have to update your script so that it will programatically get the current user and build the html link first before applying it in the href link.

There is no way for fetching the current user because the script is not running in/on Jira - that's the reason why i use the HTML link interface. There has to be a way to define that, i am sure about that. Can i contact the JIRA devs?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 8 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

21 views 0 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you