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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

320 views 0 7
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