Create User Macro that may assign a task to a user

Hi,

 

I'm creating a user macro to create a ToDo in the document. As a parameter I've asked if they want to create a task and which user to assign it to.

Now I'm trying to work out how to create and assign the task.

I've tried a variety of methods, but can't work out how I should go about doing it.

If there is an in-built macro to call via: [$action.getHelper().renderConfluenceMacro("{user-mention:user=$!paramCreateTaskAssignUser}")]

But I don't know what the name of user mention macro is (if indeed it is one and not some other type of funtion) and I don't know if I've defined it as a task correctly or if it needs another macro call....

 

Please help! Some examples would be great.

Thanks

1 answer

Jason- I am trying to do something similar. Did you ever figure this out?

Hi Tim,

Unfortunately I don't believe that I did. There was only a limited amount of time I had to devote to it. I guess it was a 'nice to have' for me. But I would certainly be interested if you end up having a win. Please let me know how you get on.

Thanks,

Jason

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

358 views 2 13
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