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
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

134 views 1 4
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