youngmon/atlassian-qna huggingface dataset:
Confiforms: Find unselected values from a smart multi-select field?
Asked by Wade Meredith:

I'm trying to determine what's been unselected from a smart-select field on update. (So I can use that value elsewhere.)

My approach has been subtracting the current state from the previous state so I will be left with any values that were unselected.

I've gotten pretty far by looking up the previous state of the smart multi-select, converting it to a list, and then subtracting the current state with replaceValue. If I manually enter a string in the replaceValue function, it works. But I can't seem to get replaceValue to accept a dynamic value (current state) as the search string.

Example:

```
somefield=[entry._previousState.someSmartMultiSelect.transform(id).asList.replaceWith([entry.someSmartMultiSelect.transform(id).asList],)] 
```

First: Can replaceValue take a dynamic search string?

Second: Is this the best way to find the ID's of the unselected records in a smart multi-select?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

1. At the moment it does not

2. Probably, using "asFilteredBy" virtual function - <https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions>. But it looks like it does not accept dynamically evaluated expressions.

I will register these are feature requests

Alex

comments: author: Wade Meredith
body: Thanks. I would love to see these features make the Confiforms plugin even more powerful.


Tags: confiforms

confluence-server

server
table entries out of order when copy paste from another table
Asked by mani:

given a

* confluence page
* with a table
* and that table has some entries

expected

* copy paste of that table preserves original ordering

actual

* copy paste of that table does not preserve original ordering


Answers:
author: Diego
body: Hello [@mani](/t5/user/viewprofilepage/user-id/1915643) !

As I understand, copying and pasting a table from Confluence inside Confluence renders the table order incorrectly.

With this in mind, I tried combinations of the following options:
> Copy:
>
> 1. Copy the whole original table from View Mode via mouse drag
> 2. Copy the whole original table contents via CMD+A/CTRL+A
> 3. Copy the whole original table via mouse drag
>
> Paste:
>
> 1. Paste the content in a new page with no table
> 2. Paste the content inside a new empty table

This is the original table:
> ![Screen Shot 2020-09-07 at 16.44.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/109469iD1DC79D2B5A36043/image-dimensions/443x266?v=v2 "Screen Shot 2020-09-07 at 16.44.10.png")

With all the tests above, the only outlier was "Copy the whole original table from View Mode via mouse drag" + "Paste the content in a new page with no table". This was the result:
> ![Screen Shot 2020-09-07 at 16.47.53.png](https://community.atlassian.com/t5/image/serverpage/image-id/109468i10AEE03F5FD328EB/image-dimensions/481x258?v=v2 "Screen Shot 2020-09-07 at 16.47.53.png")

Having these results at hand, I would like to ask you:
> 1. *What is the exact workflow that results the incorrectly sorted table?*
> 2. *Has this worked at some point in the past?*
> 3. *Are you able to sort the table while viewing them?*

Here is a detail to keep in mind:
> *When viewing a table on a page, you can sort it by clicking the sort icons in the header row. Your sorting choices don't impact what other people see.*

Which means that the original order (the one with which the table was created) is the real one. Here is our full documentation on page formatting:
> * ++***[\[Confluence Cloud\] Format your page](https://support.atlassian.com/confluence-cloud/docs/add-formatting-to-your-page/#Addformattingtoyourpage-tables)***++

Let us hear from you!


Tags: cloud

confluence-cloud
Confluence *and* Service Desk - Simple Knowledge Base with Text and Video Content
Asked by Brian Fazio:

I have the simplest of problems and I am super frustrated. All I want is a knowledge base that looks nice and neat, is easy to navigate and makes sense. Did we come in at a weird time for Atlassian? Because every time I try to use a macro it is deprecated, and the Support Portal isn't playing nice with Confluence. All we want is a video at the top of the page and the text-based content/screen shots below. Here's where I am today:

**Solution:** Use YouTube connector, put video at top of page

**Problem:**in Service Desk the Knowledge Base topic starts with the embed code as the description - looks horrible and is pointless.

**Solution:** Put video at bottom of page, use Anchor for link at top.

**Problem:** Anchor macro no longer works, says use Headings and Links. When using that solution it does not work in Service Desk - when you click the link to the video (linked to a heading further down the page) it errors and says it can't find your page (it is trying to load the header link as a whole page, which it isn't).

Am I missing something or is just the state of these two products and they are working as expected? Is there a better way to solve this seemingly simple problem?

On a related note, is there a road map to update Service Desk to accommodate the Confluence changes? Does Atlassian need an assistant product manager to help keep these two products working harmoniously, because I am free!


Answers:
author: Florian
body: Maybe there is a way to have it nice and easy when you think about the structure of you pages. I can imagine something like this:

* Title (mandatory in Confluence)
* Introduction (one or to sentences leading the customer to the content)
* video
* all the other stuff.   

When you place a short introduction on top of the video it should look nice in Jira.   

Example:

**Reset Password**

In this video you will learn how you can reset your password for xyz-Sytem in case you lost it.   

\[video\]

blabla

comments: author: Brian Fazio
body: This is the workaround I have landed on so far. Other tips include to keep your video window in Confluence to under 650px wide so it fits right in the Service Portal. I won't mark this resolved yet because I don't like this solution and would like to see if anyone has anything else.

There should be better communication between the two pieces of software if they are being sold as complimentary. Right now they feel like a poorly implemented integration.


Tags: cloud

confluence-cloud

jira-service-desk
yuml.me macro
Asked by Joshua Rogers:

Before I go and reinvent the wheel, has any one created a macro for yuml.me diagrams?

I found these, but they are quite old (2009!)

* <https://www.atlassian.com/blog/archives/yuml_for_simple_confluence_dia>
* <https://www.youtube.com/watch?v=ZmbLGgsIKv8>

Just looking at it, I'd love to do a couple extra things with what they outlined here:

* allow multiline body, but replace newline characters with a comma in the GET url.
* Instead of making a macro for each of the three diagram types, include some sort of 'option' that allows the user to specify the diagram type, and use a single macro.
* Add a similar 'option' to optionally specify the drawing style.

Has anyone already done this, and willing to share?

-Josh


Answers:
author: David Willson
body: The closest thing I can think of is something like - mermaid diagrams - I found this plugin, looks recent, havn't used it myself, not sure how hard it would be to convert - [https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server&tab=overview)


author: Nic Brough -Adaptavist-
body: So, I'm afraid I don't have much of any direct use here, but I did want to say that what you're asking for should be achievable if you are happy to delve into some coding, and I think you'll find it is not as complex as you might imagine.

That's based on some old experience (8 years ago) where I was asked to knock up something to enable Confluence to draw a picture of something based on a format like a UML file (this was far more obscure than UML though). I landed on what I think you have - a macro that can render an attachment as a picture for the user, with some formatting options fed in.

For UML, my instinct is always to reach for the PlantUML app for Confluence, but I do not know if that works with yUML. If it does not, then my next instinct is to go to the first link you've mentioned there and see if there is a way to do the same thing in later versions.  

I'm sorry that this is not really anywhere near a solution. I just wanted to point out that you've got a good question that deserves an answer, and although I can't get you a direct "fix", there's a bit more to have a look at.


Tags: confluence-server

macro

server
How can I disable auto scroll when viewing a document?
Asked by Freddie Carthy:

Documents that have embedded images, google documents, etc will auto scroll to those elements as they load in. How can I prevent this from happening? It is incredibly frustrating to click on a comment notification, and as the page loads my document is scrolled all over the place and I'm unable to find the comment.


Answers:
author: Diego
body: Hello [@Freddie Carthy](/t5/user/viewprofilepage/user-id/731710) !

I tried to replicate the behavior you have specified but was unable to. Here is what I see:
> ![Screen-Recording-2020-09-07-at-1(1).gif](https://community.atlassian.com/t5/image/serverpage/image-id/109477iDB60A266DFD1C3C6/image-dimensions/346x314?v=v2 "Screen-Recording-2020-09-07-at-1(1).gif")

I also tried to replicate the issue by using a link that leads to a comment but the behavior was the expected one.
> 1. *With this in mind, I believe we could check a few things. Here we go:*
> 2. *Is this happening with all pages that contain attachments?*
> 3. *Is the linked comment an inline comment?*
> 4. *Is this present regardless of the browser being used?*

Let us hear from you.

comments: author: Freddie Carthy
body: Hmm. Certainly odd. To answer your questions:

- this happens with any documents we create, particularly with google drawings/diagrams attached.

- regardless of comments, this happens when navigating to the document even if we aren't navigating to a comment.

- I see this happen largely on the latest Chrome and to everyone in my company.

Our documents are usually large, with a table of contents, many many sections, attachments, links, etc.

I will create a sample document and record a video of the experience.


author: Diego
body: Thank you [@Freddie Carthy](/t5/user/viewprofilepage/user-id/731710) ! This can certainly help us to understand what is happening.


author: Freddie Carthy
body: [@Diego](/t5/user/viewprofilepage/user-id/1188952) you can see in my example here that shortly after the table of contents loads the page will jump down to the Google Document. This seems to be once the preview of the Google Document is loaded, which in this case is a Google Drawing. The drawing was added via the Google Docs macro, if that helps.

I am using macOS 10.15.6, Google Chrome Version 84.0.4147.105 (Official Build) (64-bit).

![confluence.gif](https://community.atlassian.com/t5/image/serverpage/image-id/109583i2A0CE06EB0F9F45C/image-dimensions/544x291?v=v2 "confluence.gif")


author: Freddie Carthy
body: [@Diego](/t5/user/viewprofilepage/user-id/1188952) any updates on this?


Tags: cloud

confluence-cloud
Add "Was this Helpful" to our confluence site
Asked by Vignesh Suryanarayan:

I would like some info/help to implement "Was this Helpful" survey on all our confluence pages. Any directions on this will help.

TIA!


Answers:
author: Daniel Eads
body: Hello [@Vignesh Suryanarayan](/t5/user/viewprofilepage/user-id/50717) ,

For Confluence Server, there are a couple ways to go about adding a "was this helpful" or content ratings at the bottom of your pages:

* User macro by Jens Iwanenko: [Getting Feedback for your Documentation](https://community.atlassian.com/t5/Confluence-articles/Getting-Feedback-For-Your-Documentation/ba-p/831269)
* User macro by Stephen Deutsch: ["Was this helpful?" buttons](https://bitbucket.org/stephendeutsch/confluence-user-macros/src/master/feedback%20buttons/was%20this%20helpful%20buttons.vm)
* [Content rating apps](https://marketplace.atlassian.com/search?hosting=server&product=confluence&query=rating) on the Atlassian Marketplace

Depending on your expertise, the user macros can give you some ability to customize. However, the learning curve can be steep if you're not comfortable with code and Velocity templating. The marketplace apps have some customization options and depending on the app, may have paid support available. They all seem to have some easy display options to view the results as well. Between the macros and apps, there are several choices!

Cheers,  
Daniel

comments: author: Vignesh Suryanarayan
body: Thank you, Daniel. These user macros must be helpful.


author: Vignesh Suryanarayan
body: [@Aaron Thayer](/t5/user/viewprofilepage/user-id/1331427) - Something that we can look into.


author: Jonathan Appel
body: An alterative for Confluence Cloud is [Page Feedback for Confluence](https://marketplace.atlassian.com/apps/1231936/page-feedback-for-confluence?tab=overview&hosting=cloud)

Has a byline and macro for collecting sentiment on Confluence pages.


Tags: confluence-server

server

survey
Confluence link url disappears
Asked by RJAS:

I'm having an issue where I create a link in a confluence document, I specify the URL and the text to be displayed, I can open the link while still in editing mode, but as soon as I save changes the URL vanishes and only the display text remains. It still remains formatted as a link but when I try to open it, nothing happens. When I return to editing to view the link settings, the URL is gone. Has anyone else had this issue?


Answers:
author: Daniel Eads
body: Hi RJAS,

Is the link to another Confluence page, or is it a web link? We have a couple known instances where links might not behave quite right:

* [CONFCLOUD-65866 Ability to insert custom (non-standard) URL protocols](https://jira.atlassian.com/browse/CONFCLOUD-65866) where links must have http:// or https:// at the beginning. Trying something like slack://\<link\> currently doesn't work.
* [CONFCLOUD-24320 Links and web images with URLs containing certain non-alphanumeric characters fail to save](https://jira.atlassian.com/browse/CONFCLOUD-24320) could be relevant if your link includes one of a few characters

If the URL you're linking to is not sensitive, I can also take a look and see if there's a reason why it's not saving as you expect.

Cheers,  
Daniel \| Atlassian Support

comments: author: RJAS
body: Hi Daniel, Thanks for the reply, my link contains ? symbol and I suspect this is causing the issue. I will use a tinyurl as a workaround for the moment thanks


Tags: cloud

confluence-cloud

link
Can you embed a pivot in a confluence page?
Asked by Jim O'Connell:

I have created a pivot table in sheets. Is it possible to embed it into a page?

Thanks!


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Jim O'Connell](/t5/user/viewprofilepage/user-id/4073917)

The simplest way to embed your pivot into a Confluence page is to copy/paste it.

![Jim 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/109108iCAA4ABBC67B2A13C/image-size/large?v=v2&px=999 "Jim 1.png")

![Jim 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/109109iA473EA12494A45E9/image-size/large?v=v2&px=999 "Jim 2.png")But if your pivot tables are rather big, it is more convenient to use special apps to import them into Confluence and/or import your source tables into Confluence and create pivots right there.

For example, you may try our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview).

**Option 1.** Save your pivot as a .csv file and use the [Table from CSV](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+from+CSV+macro) macro to import you table into Confluence.

![Jim 3.png](https://community.atlassian.com/t5/image/serverpage/image-id/109111i0481071AB45BB634/image-size/large?v=v2&px=999 "Jim 3.png")

**Option 2.** Import your source table into Confluence with the help of the Table from CSV macro, wrap it in the [Pivot Table](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Pivot+Table+macro) macro and create different pivots right in Confluence.

![Jim 4.png](https://community.atlassian.com/t5/image/serverpage/image-id/109112i39D3AC0F92C28752/image-size/large?v=v2&px=999 "Jim 4.png")![Jim 5.png](https://community.atlassian.com/t5/image/serverpage/image-id/109113i89BCEC7CAEF32D1A/image-size/large?v=v2&px=999 "Jim 5.png")


Tags: cloud

confluence-cloud
REST-API file upload Internal Error # 4346665848812042962
Asked by Daniel:

Hello,

I'm having an issue uploading files to a confluence page using REST API. The response that I get is the following:

\<html\>\<head\>\<title\>Request Failed\</title\>\</head\>\<body\>Internal Error # 4346665848812042962. Please contact the Support Team.\</body\>\</html\>.

I can create pages and everything works fine until I want to upload the file. The same request with a different Confluence server seems to work ok.

Is this some specific error? Is it something with the server version(6.13.3)?


Answers:
author: Fabian Lim
body: Hi Daniel,

The error indicates that something has gone wrong on the server side. I'd check with the server admin person, as those logs may provide more specific information.

I was wondering if you could try a different way to test it. This page describes a method to upload attachments and shows a shell script that uses the REST API (also user/password authentication).

<https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html>

Other articles that may help troubleshoot:

<https://confluence.atlassian.com/confkb/getting-http-error-code-500-for-all-rest-requests-252347532.html>

<https://www.lifewire.com/500-internal-server-error-explained-2622938>


Tags: attachment

confluence-server

rest-api

server
How to remove "Numbered Headings" plugin without loosing content.
Asked by Roger Aschwanden:

Hi

We have the numbered Headings Plugin in Place but it's not for free anymore.

That's why we have to remove the plugin.

First we migrated without the plugin and the content was lost :-(

We than added the plugin again which is now active for the next 30 days.

We're able to identify the affected sites with the following search: "*macroName: numbered\*"*

When we just copy the content we loose Icons, Pictures, "Advanced Table - CVS, which gets the content from a URL", ........

Does someone has experience on how to remove the plugin without loosing anything?

Best Regards,

Roger


Answers:
author: Bill Bailey
body: It does require manual effort, but I would install the [source-editor-for-confluence](https://marketplace.atlassian.com/apps/1215664/source-editor-for-confluence?hosting=cloud&tab=overview) . This will allow you to access the storage view of the page. Then you can remove the surrounding XML for the macro and re-save.

Generally, I don't understand why people still want to use numbered headings in a hyperlinked environment.


Tags: cloud

confluence-cloud
Did Atlassian stop honouring their support commitments for existing customers?
Asked by Dirk Dittert:

Hi,

I am wondering about the changes that Atlassian made to their customer support. They don't seem to provide support for new 10 user licenses anymore.

However, I bought a such a license quite some time ago and it still has *active maintenance*. I believe that customer support was a part of that maintenance at time of purchase. How can I get in touch with customer support for that active maintenance or did Atlassian just stop honouring the commitments they made to their customers?

Thanks for pointing me in the right direction!


Answers:
author: Ste Wright
body: Hi [@Dirk Dittert](/t5/user/viewprofilepage/user-id/558361)

Server 10-user licences do include 12 months maintenance/support - see the self-managed pricing FAQ on the [pricing page](https://www.atlassian.com/software/jira/pricing?tab=self-managed):
> Our Server licenses entitle you to perpetual use, and include 12 months maintenance (updates/support) starting from the date of purchase. Renewing maintenance is entirely optional.

You can contact support via: <https://support.atlassian.com/>

Ste

comments: author: Dirk Dittert
body: Stephen,

thanks for pointing me to the support page. Unfortunetely, that only redirects to community support (i.e. here) when I try to submit a case for my SEN.

I believe that my license came with 36 months maintenance and support (because I bought the license with that maintenance period in 2017).


author: Ste Wright
body: Hi [@Dirk Dittert](/t5/user/viewprofilepage/user-id/558361)

I went through our Starter Licence to make a support request, and you're correct - Starter Licences do not have dedicated personal support - it states:
> Atlassian no longer offers personal support for Starter Licenses

\^ It has a link to a blog post but it didn't direct me to one - I assume it'll be [this one](https://www.atlassian.com/blog/announcements/support-for-server-starter-10-user-licenses). This is from July 2017 - we must not seek support very often!

---------------

In this instance, the Community is where you can seek help for any issues you are facing on the Starter Licence.

You are welcome to ask a question if you're facing an issue and other Community Members will look to assist.

There are also some Atlassian Support Engineers who answer queries on the Community too :)

Ste


author: Dirk Dittert
body: I ran into the same problem with the blog post. Thanks for pointing out the correct link for it. I must have missed that this announcement was already in July 2017.


Tags: confluence-server

server
Share page dialog does not list user accounts
Asked by Dirk Dittert:

I have upgrade my Confluence instance to version 7.7.3. It is not possible to share pages with individual users anymore. The share dialog does not seem to find users anymore.

**Observed behaviour:**

* Open a page that is accessible by a particular user
* Click on **Share**
* Start typing the name of the user

Confluence does not offer the user account to so select. It only shows **No match found**.

**Expected behaviour:**

Confluence shows the user and allows me to select it as it used to do before the upgrade.

The user that I am trying to share the page with is listed in ... \> users that can view this. It is still possible to share pages with groups. They *do* appear if I start typing their name.

Sharing is a massive part of the Confluence functionality so this is a huge problem for my installation. What could be the issue here?


Answers:
author: Dirk Dittert
body: I was able to resolve this issue by rebuilding the indices on that installation.


Tags: confluence-server

server