Comments
-
Glad it worked for you! Wrapping the built-in macros with user macros and dynamically changing out the parameters can be super handy. Feel free to mark the question as answered.
-
Sorry ... muddled brain. Rather it would be something like this...<ac:structured-macro ac:name="tasks-report-macro"> <ac:parameter ac:name="assignees"> <ri:user ri:userkey="8a8880c1459790bc014597917f8f03fc"/> <ri:user ri:userkey="8a8880c1459790bc014597917f8003d8"/> </ac:parameter></ac:structured-macro>
-
It works for now if you use the username inside the <ac:parameter ac:name="assignees"> element without the <ri:user ri:userkey=""/> element. However, when you create the macro in the editor itself and look at the storage format that is created by Confluence it doesn't create it with username. It uses the key. So, in order…
-
Actually I typo'ed the user macro. It should indeed be key to match what Confluence creates for itself. Check out my edit above.
-
You create user macros in Confluence Admin. You need to be a system admin to create these.
-
It's not the page storage format you need to edit. You need to create a user macro with the above code. Sorry if that wasn't clear. Call it something like Personal Tasks. Then instead of using the task report macro use the Personal Tasks user macro.
-
This should work. ## @noparams<ac:structured-macro ac:name="tasks-report-macro"> <ac:parameter ac:name="assignees"> $action.getAuthenticatedUser().key </ac:parameter></ac:structured-macro> Update — use the below macro not the one above: I somehow didn't include the user key element in the assignees element. ##…
-
So, I wrote a Speakeasy extension to highjack the people directory page. It hides the default search box and will put in search syxtax to remove people I don't want to be seen. I then created my own search form that when the submit button is click it gathers the data in the fields creates the correct search sytax(making…
-
Here is some rough code. You would need to wrap it in a html macro. <script type="text/javascript>AJS.toInit(function(){ var user = AJS.Meta.get('remote-user'); AJS.$.ajax({ type: 'GET', //or POST url: 'Your URL', //this should pass back the parameter based on the user submitted to it processData: true, data: { u: user },…
-
You have a couple options. One would be to write your own plugin. If you don't want to go that far then you would to enable the html macro so that you can embed some Javascript. You can get the user using this Javascript method. AJS.Meta.get('remote-user'); Confluence has jQuery installed, so you could use AJS.$.Ajax(); to…
-
I provided the link in my above anser. It is a add on in the atlassian marketplace. Onve of the macros included is an iframe macro.
-
Does this "application already exist somewhere butyou just want to display in your wiki as well, or is this something new? If it already exists then you could use an iframe to show it in the wiki. The html macro could be used for this, or if you have the content formatting macros (free) it comes with an iframe macro. You…
-
You can do this pretty easily with a uer macro. Here is the code. This will create a user macro that you can wrap around the conditional content. If there are children to the page then that section will show, otherwise it will not. Macro Name: if_children Macro Title: If Children Macro Body Processing: Rendered Template:…
-
That's another good thought Stephen.
-
Each space has a trash can in the space admin. Have you checked there?
-
Ok. If you set it to global search (conf_all) then you can put "stuff AND spacekey:???" in the search field and you should get the results only for that space.
-
If you look at the source for the form you will see a hidden input like this ... <input type="hidden" name="where" value=""> the value should be either conf_all or the space key you want to search. You could set it with this... <script type="text/javascript"> AJS.toInit(function(){ AJS.$('#quick-search…
-
@Ramiro Pointis There is still a swag section.https://answers.atlassian.com/plugins/swag/myswag.action
-
Sure there are workarounds for editing comments by doing convoluted things, but really fundamentally the ability to edit a comment it missing.
-
Here are my thoughts on what I like and what I don't. Likes * The WYSIWYG editor in my opinion is better than the old one. I love the code macro. So, much easier than the old platform. * I like that I only get new question notifications and then updates on the question only after I comment on it. The old one you would get…
-
I believe the "-" does an implied AND NOT, but exlicitly stating it is ok too ... might look nicer for your users.
-
I think your options would be to use JavaScript to add it prior to form submission or to create a plugin that would do this. Either way you will need to do some development to get what you want ... I think.
-
Ah! Well, I've got no easy options for you then ... except maybe train your users to append "-title:_" to their search string ... or find a way to auto add it.
-
Do you want people to be able to see these pages at all? If not then if you apply a viewing restriction to the page(s) it will not show up in search results.
-
If you truly want the content to be hidden however you need to combine the visibility plugin with the page include plugin. The reason for this is users could just view the source of the page (tools menu -> view source, or if they have edit permissions they could just edit the page and see the information, also the search…
-
The built-in PDF macro that has been there since at least version 4.
-
You can also render out an attached PDF on a wiki page using the PDF macro or the new functionality depending upon your version.
-
Maybe Atlassian can turn that header off for your site? Probably not though.
-
It's your browser that is respecting the X-Frame-Options header.
-
You cannot iframe a ?????.atlassian.net site and have it work with modern browsers because of the X-Frame-Options HTTP header. It is set to only allow iframeing from the same origin. Most newer browsers will respect this HTTP header. It will work only OLD browsers though ... but then the site won't work. image2016-7-13…