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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

98 views 0 6
Read article

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