Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,993
Community Members
 
Community Events
168
Community Groups

How do you tell CreateIssueDetails!init.jspa to use the currently logged in user as the reporter?

This question is in reference to Atlassian Documentation: Creating Issues via direct HTML links

How do you get CreateIssueDatils!init.jspa to use the currently logged in user as the reporter? The document says it's possible doesn't doesn't explain how to do it.

I tried passing "currentUser()" as a value but that didn't work.

3 answers

Hello @davidkazuhiro

did you find some solution for this?

Thank you and BR

No, I've since moved on to other things :(

Is it also possible to set a dynamic duedate

 

duedate=3d

duedate=thisWeek

duedate=thisMonth

 

or anything else?

 

Regards,

Sebastian

Just realized that you were asking about getting it in the create action. It should populate the current user if you don't pass anything to the reporter value. Have you tried that?

Hi, 

i tired this, but this does not work...

 

Regards,

Sebastian

Try not filling it at all.  It defaults to the current user.

Yes, this is what i did. I only have 3 arguments:

  • pid=11632
  • issuetype=10001
  • labels=w6-brm

or should i add a reporter argument without a value

  • reporter=

?

Can this be fixed? When not filling the field at all then it reports: Reporter is required and you have to set it manually.
image.png

There's nothing to "fix" there.  You have set the reporter mandatory, so you need to fill it in.

Reporter should be auto filled with the current logged in user. Same as if you click create button in JIRA.
Seems that this worked previously and a Bug was introduced: "It should populate the current user if you don't pass anything to the reporter value."

Like David Feig likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events