Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

545 views 15 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you