youngmon/atlassian-qna huggingface dataset:
Is it possible to click on a chart in Confluence and be navigated to Jira?
Asked by Manisha Yalavarthy:

I've created charts on Confluence that are based on Sprint/Epic/Assignee information from Jira. I want to know if I am able to click on a chart in Confluence and have a new window open to take me to a page in Jira that shows that information?

For example, if I have a chart that has the amount of story points each Assignees have in a project. If I click on Assignee A, a new window containing the backlog page in Jira with the assignee's name filtered, should open.

Is this possible? I haven't been able to find anything during my research.


Answers:
author: Kimberly Deal _Columbus ACE_
body: [@Man](/t5/user/viewprofilepage/user-id/10319) Welcome to the Community! Happy to have you among us!

I wanted to let you know that I have looked though a bunch of documentation and tried out some things in my own instances, it doesn't appear to be possible natively in the cloud products. There are ways to do it on Server, according to the following, but notes that it won't work for Cloud

[https://confluence.atlassian.com/confkb/how-to-bring-jira-and-jira-agile-reports-into-confluence-779163801.html?_ga=2.88704539.1801791018.1539821640-1859860204.1539821640](https://confluence.atlassian.com/confkb/how-to-bring-jira-and-jira-agile-reports-into-confluence-779163801.html?_ga=2.88704539.1801791018.1539821640-1859860204.1539821640?)

You might be able to take a look at some plugins that will allow for the additional functionality, but I haven't personally tested any to know which ones might be able to help you. It looks like there are options, when I searched for Enhanced Jira charts for Confluence.

Best Wishes!


Tags: cloud

confluence-cloud

jira

table-filter
Need help limiting LDAP user sync by security group
Asked by Justin Samsel:

Hello, new user to Confluence here.

I am trying to limit Confluence to only importing AD users that are part of the two AD security groups Confluence-Admin and Confluence-Users. I found [this KB](https://confluence.atlassian.com/kb/how-to-write-ldap-search-filters-792496933.html) that I think is pointing me in the right direction, however I can't write the filter correctly.

In "User Directories \> Configure LDAP User Directory \> LDAP Schema \> Base DN" I have:
> OU=MyUsers,DC=MyCompany,DC=com

And in "User Directories \> Configure LDAP User Directory \> User Schema Settings \> User Object Filter" I have:
> (\&(objectCategory=Person)(sAMAccountName=\*)(\|(memberOf=cn=Confluence-Admin,ou=MyUsers,dc=MyCompany,dc=com)(memberOf=cn=Confluence-Users,ou=MyUsers,dc=MyCompany,dc=com)))

I'm either trying to do this completely wrong or my syntax is broken somewhere. Does anyone have any guidance on fixing this?


Answers:
author: Justin Samsel
body: After more reading and trial and error I figured out I was just writing the DN of the security groups wrong. After correcting them in the example above the proper people are getting imported into Confluence.

comments: author: Kelvin Latner
body: Hi Justin!

I've been tasked with limiting access to our Bitbucket application to a specific group (Distribution List) in our LDAP directory, which is a few hundred users. Right now, anyone/everyone in our LDAP directory can sign into Bitbucket, which is thousands of users... We have limited licenses. I too have tried to tried several filtering suggestions I've found; however, I haven't guessed the right combo yet... :/

Would you be so kind as to provide examples of your corrected settings?

Thank You Sir! :D


author: kns_jeinhorn
body: Justin wrote "I solved it!" but did not share his solution.

Justin, it sure would be nice if you would share the details.


author: Nicola J
body: [@Justin Samsel](/t5/user/viewprofilepage/user-id/1811597) Any chance you can provide what you ended up with? I have this exact scenario and could do with a hint as to what was wrong in the original DN above...


author: kns_jeinhorn
body: In my case, the goal was to sync users who belonged to either one of two security groups.

The Active Directory structure in our company, loosely represented:

```
corp.mycompany.com             (Domain)
|--Otherstuff1                 (OU)
|--Groups                      (OU)
   |--OtherGroup1              (OU)
   |--SpecialGroup             (OU)
      |--IgnoreGroup1          (group)
      |--MyGroup1              (***group to be included***)
      |--MyGroup2              (***group to be included***)
      |--IgnoreGroup2          (group)
   |--OtherGroup2              (OU)
|--Otherstuff2                 (OU)
```

I managed to make it work by using the following value for the "User Schema Settings - User Object Filter":
>
> ```
> (&(objectCategory=Person)(sAMAccountName=*)(!(useraccountcontrol:1.2.840.1135
> ```

Good Luck!

Janet


Tags: confluence-server

server
How to Hide a custom field on edit screen Jira
Asked by Muhammed Sharifi:

Hello

I want a custom field that should be hide when we want to edit the issue,

I tried adding some script at the discription of the field at field configuration but it didnt work,

apprecited every one's cooperations


Answers:
author: Alexey Matveev
body: Hello,

Just remove this custom field from the edit screen for this issue type (project settings -\> screens)

comments: author: Muhammed Sharifi
body: Hi Alexey Matveev

Thanks for reply dude, I went through that way to remove it from Edit screen but the problem is when you remove it from there the field is being removed from view screen too. and when I added it back to view screen it was there on the edit screen.

any other suggestion ??


author: Alexey Matveev
body: It means that you use the same screen for the view and edit screens. You should create a separate screen for the edit screen.

Have a look at this link:

<https://documentation.catworkx.com/jppm/latest/configuration/configure-the-project-portfolio-project/create-screen-scheme>


author: Muhammed Sharifi
body: thank you, separating screens worked fine for me.


author: Alexey Matveev
body: [@Muhammed Sharifi](/t5/user/viewprofilepage/user-id/1555906) You are welcome! If you feel like my answer helped you, kindly accept my answer.
Customize the page of a Space Overview? (confluence/wiki/spaces/xxx/overview)?
Asked by Thomas Schittli:

Good afternoon

I'm very sorry to ask the honorary working community for help  
while Atlassian makes a lot of money and raise prices every year.  
But the Atlassian Support usually needs years to solve Problems (there are very many multi-year open issues), so here I am:

**Is there a way to customize the Space Overview Page?**

For example, we would like to remove:

* The Dropdown list with the other spaces
* Space settings
* ... if possible, we would like to remove the whole left column

Thanks a lot for any help \& light,  
kind regards,  
Thomas


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Thomas,

in my case specific problems to my installation have been solved by the Atlassian support team in a couple of hours or days.

Try customize the viewspacesummary.vm file located in

CONFINST/confluence/spaces

There are some more space related files where you can modify the decorators.

Best

JP

comments: author: Thomas Schittli
body: Hello Jan-Peter

**Thank you very much for your answer** !,  
it's true, we also have successful Atlassian Support requests, but 8 of 10 are ++not++ successful, they just send us links to well known and long time open issues. :-(

**It looks like Cloud-Customers cannot modify** viewspacesummary**.vm**

I've found this Doc: <https://confluence.atlassian.com/doc/customize-space-layouts-139512.html>

But although Atlassian does not declare any restriction to cloud-customers, the Layout settings are missing in Look and Feel in the Space tools.

Therefore it looks like it's not possible to change the annoying default site summary layout.

Thanks a lot,  
kind regards,  
Thomas


author: Nic Brough -Adaptavist-
body: To be fair, they do explicitly state that you have no access to hacking the code behind a Cloud install, and that space layouts are not editable. It's on the "cloud restricted functions" mentioned when you sign up.


author: Thomas Schittli
body: ... yes, we can ask google to answer Atlassians issues, if we pay some 1000$ per year, we expect to get information like this limitation where it must be: in the product Docs. it couldn't be that hard to assign the three Tags - one for each product type.

Additionally, modifying the layout is not related to hacking "code behind". We're pretty sure there is an open ticket about this issue ... and we bet it is ignored since many years :-(


Tags: cloud

confluence-cloud

layout

space

theme
Links removed on page save
Asked by Joe George:

Hi everyone,

We upgraded to 6.9.0 a few months ago and are now just noticing an issue. When we save a page (possibly on just old pages which have not been edited for a few years), even with no changes, all the pages links are removed. Just a single "\<ac:link /\>" remains, where it used to be "\<ac:link\>...\<ac:link /\>".

We initially suspected Scroll Versions but after chatting with their support team they think it's a vanilla confluence issue, possibly some sort of update task gone wrong.

Has anyone ever experienced this or any have idea what's happening?


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Joe,

have you by any chance Script Runner \& Page Information macro on these pages? This in combination with Scroll Office Ignore macros deleted the content inside the Scroll Ignore macro. We found out after upgrading our production site...

Problem was the migration process of Script Runner.

Can you access the page history \& copy/return to the older page versions?

Best

JP

comments: author: Joe George
body: Hi,

Thanks for your answer, unfortunately we don't have any ScriptRunner plugins installed.
Creating a user macro that adds and removes labels
Asked by Peter_Baschan:

Hi,

I'm looking to create a user macro in Confluence that creates a button. when the button is pressed, some labels are added to the page and some gets removed. I figured I would need three parameters:

1. Label of the button (the text that appears on the button)

2. Labels to add (a list of labels, that I want to tag the current page with)

3. Labels to remove (a list of labels, that I want to remove from the current page)

Ideally it would ignore duplication (so if the page was already tagged with the label, it won't give an error and would just ignore adding it again) and also would ignore removing labels that were not there to begin with.

How would I do that? I only managed to define the parameters, but stuck after that:

```
## Macro title: Replace page labels
## Macro has a body: N
## Body processing: No macro body

## @param ButtonLabel:title=Button's label|type=string|required=true|desc=Enter the text that would appear on the button
## @param LabelsAdded:title=Labels to add|type=string|desc=Enter one or more labels to be added to the page
## @param LabelsRemoved:title=Labels to remove|type=string|desc=Enter one or more labels to be removed from the page
```

Thanks,

Peter


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Peter,

defining the macro parameters is the easiest part. What did you try afterwards?

For a starter:

<https://confluence.atlassian.com/doc/writing-user-macros-4485.html>

<https://confluence.atlassian.com/doc/user-macro-template-syntax-223906130.html>

<https://developer.atlassian.com/server/confluence/confluence-objects-accessible-from-velocity>

<https://www.communardo.de/techblog/using-confluence-api-managers-in-user-macros/>

Best

JP

comments: author: Peter_Baschan
body: Thank you. I am not a developer and neither a Confluence admin unfortunately, I am just trying to make the most of Confluence by researching useful data and creating user macros with the community's help that would enable my requirements . I have to request my admin to put these custom macros into the system for me, so I can test them out. It is a very painful process, hence my questions for existing solutions. I appreciate your help with the links. :)


Tags: label

user-macro
Why is my Table of content showing up in edit view but then when I publish, nothing is there?
Asked by Kim Lange:

I added in the table of contents macro and I can see it and then I save and it isn't there?

![1.PNG](/t5/image/serverpage/image-id/35220iF8CF6CF6FCFBD193/image-size/large?v=v2&px=999 "1.PNG")![2.png](/t5/image/serverpage/image-id/35221iA21C29176F6A024A/image-size/large?v=v2&px=999 "2.png")


Answers:
author: Frank Boisvert
body: Your headings have to be in one of the font sizes from the dropdown on the top left at the top of the page. Heading 1, heading 2, etc.

So above each section, like where you say "Images" change that to Heading 1, or 2, or whatever size you want. You'll have to do that to each heading for it to show up.

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


author: Thomas Schlegel
body: Hi [@Kim Lange](/t5/user/viewprofilepage/user-id/2143343),

could you please show us the source of your page? Without further information, it is hard to say something reasonable about the problem.

comments: author: Kim Lange
body: What is the source of the page?


author: Thomas Schlegel
body: The page in the editor


author: Kim Lange
body: ![screenshot-healthepro.atlassian.net-2018.10.17-09-55-16.png](https://community.atlassian.com/t5/image/serverpage/image-id/35225iBE384B69AEFA3080/image-size/large?v=v2&px=999 "screenshot-healthepro.atlassian.net-2018.10.17-09-55-16.png")


author: Thomas Schlegel
body: Did you change some settings of the toc-macro?


author: Kim Lange
body: No, I left everything as default


author: Kim Lange
body: list, disc, no indent, min heading 1, max heading 7, n/a in include/exclude headings, n/a css and not checked absolute.


author: Thomas Schlegel
body: This sounds like standard settings. Is the toc working on other pages?

There must be something on your page preventing the toc to work correctly. Do you have the source editor? It's a great plugin to find some of these bad hidden things on Confluence pages.

Maybe you could try to copy the content of the page within the editor and paste it to another page.
Getting an error when trying to run jira macros in Confluence
Asked by Nurit Geller:

I am trying to run an external Xray Jira macros in Confluence, for example 'Test evolution macro' and getting an error: 'error retrieving chart data from server'.

Macro of 'test run summary' runs OK,

Any idea?


Answers:
author: AhmadDanial
body: Hello, Nurit.

I would like to first understand the error that you shared in detail before we dig deeper into the issue. Can you please reproduce the issue and provide us with the following information to this ticket?

* Screen shot from the Confluence page
* Log snippets from atlassian-jira.log and atlassian-confluence.log when you replicate the problem

Let me know how it goes on your end. Thanks.

comments: author: Nurit Geller
body: ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35292iABA06D5E0117F437/image-size/large?v=v2&px=999 "Capture.PNG")


author: Nurit Geller
body: above is the snapshot. How do I get to: atlassian-jira.log?


author: AhmadDanial
body: Hi, Nurit.

You can find the atlassian-jira.log in $JIRA_HOME/log/\<atlassian-jira.log\>.

The "Client must be authenticated to access this resource" potentially indicates that there might be an issue with the Application Link between the 2 apps. Though you mentioned that the **Test Run Summary**works fine, can you please confirm how the configuration looks like from the UI? Any issues with that?


Tags: confluence-server

jira

jira-server

server
Need to restrict confluence space access to company email addresses only
Asked by Harvinder Singh:

We have certain confluence spaces that are shared with client as well and have access restrictions. However, there are certain spaces on which we want default access of company people only(excluding external users like client).

I was thinking of creating a group that has all company users mentioned in it and in turn provide access to that group only for specific space. However, issue comes when a new company user is created and I will have to manually include that credential as a part of that group(excluding external users). Can't it be done as default that only company person automatically gets included in that group and not the external users.

e.g. learning and Training space access we want restrictions to company people only


Answers:
author: Daniel Eads
body: Hey Harvinder!

If you're on Server and using an LDAP directory for your company, then good news! We support this with an option in the User Directory called **Default Group Memberships** . In the Directory configuration for your company's LDAP, you'll just add an additional group you want to auto-add (confluence-users should be in there already). [Check out our documentation](https://confluence.atlassian.com/adminjiraserver073/connecting-to-an-ldap-directory-861253200.html?_gac=1.242565558.1537301087.EAIaIQobChMIjYC74avF3QIVjQRpCh2mkQXyEAEYASAAEgKVVPD_BwE&_ga=2.258583567.48017889.1540206818-1321633266.1533744427#ConnectingtoanLDAPdirectory-autoaddAddingusertogroupsautomatically) if you want to read up more on that option.

For the rest of the setup, it would go just as you described. Add that other group to the spaces you want your internal folks to have access to.

However, if you're on Confluence Cloud, then unfortunately there's no option like this right now. There's one open feature request I could find for default groups: [JRACLOUD-42820](https://jira.atlassian.com/browse/JRACLOUD-42820). There's also work being done on LDAP integration for Cloud which would help out if the LDAP connection brought in group memberships (you could use a group local to your LDAP for access).

Cheers,  
Daniel
Confluence macros need several HTTP requests to work
Asked by Jes?s Jorge Mu?oz:

Hi everyone,

I am debugging a Confluence Cloud add-on and I noticed a behaviour that I don't quite understand.

The add-on has several custom macros. Each one of our pages could contain all or some of them in it. When I see the overall output log, it seems that when accessing a single page, our Confluence instance sends several HTTP requests for each one of the macros (from 2 to 6 requests for each macro in worst cases).

Does this make sense? I personally think it does not. Also I noticed the pages spend so much time to load, could this be related to it?

Thanks in advance!

Jes?s


Answers:
author: Stephen Deutsch
body: I would assume that you're talking about a Confluence Cloud app that you or your company has developed yourself?

I also noticed that Confluence tends to send more than one request for each macro on each page load. I haven't figured out the reason either, but you may want to consider caching the request as described on this page:

<https://developer.atlassian.com/cloud/confluence/modules/static-content-macro/>

Even if you only set it to cache for 60 seconds, it should help each macro to be called only once.

comments: author: Jes?s Jorge Mu?oz
body: Hi Stephen,  

Yes, you are correct, the add-on is developed by ourselves.   

Thank you very much for your suggestion! I didn't figure out that it was possible to cache content in a Connect add-on. I hope it can be a nice workaround for anyone who may read this post.  

I shall now mark your answer as accepted.  

Best regards,  

Jes?s


author: JP _AC Bielefeld Leader_
body: Hi,

why are you posting the same question multiple times?!? As you don't give us more information about what addon embedded into what kind of pages, you probably won't get many answers.

JP

comments: author: Jes?s Jorge Mu?oz
body: Hi Jan,  

I apologize for duplicating the question. I was experiencing issues with the Atlassian web page and posted it twice, but it seems I cannot delete one of them.  

In the OP I've said the add-on has custom macros. More specifically, they are static content macros. This issue is observed in blank pages as well as in custom-template-based pages.  

No matter is the functionality of the macro, the Confluence instance send too much requests to the add-on. I want to know if this behaviour is expected or not.


Tags: app

atlassian-support

cloud

confluence-cloud
Bold text in pdf file shifted slightly?
Asked by Hanse00:

I've recently been uploading some other documentation to Confluence as pdf files for reference. One of these has bold text highlights (Written in Google Docs). The document looks fine in Docs, and the pdf expert looks just right when I download it and view it on my Mac as well.

However when I upload the file to Confluence, the preview pane shows every instance of bold text, offset to the right, as seen here:

![Screen Shot 2018-10-17 at 10.30.29.png](/t5/image/serverpage/image-id/35174i0476F25740F750DF/image-size/large?v=v2&px=999 "Screen Shot 2018-10-17 at 10.30.29.png")

![Screen Shot 2018-10-17 at 10.30.39.png](/t5/image/serverpage/image-id/35175iCCA6982BF624C672/image-size/large?v=v2&px=999 "Screen Shot 2018-10-17 at 10.30.39.png")

Has anyone else seen this before?

Edit: It's worth noting that once I download the pdf from Confluence, it also works just fine. It seems to only be a problem with the Confluence pdf preview feature.


Answers:
author: Aron Gombas _Midori_
body: To me this looks like a font rendering issue (the width and the spacing of the bold characters are overly large). I'd check if this is possible to tune the font settings for the PDF preview feature, because as you pointed out, the PDF file itself should be perfectly fine.


Tags: confluence-server

server
Pictures wrong orientation?
Asked by Martin Kaufmann:

Hi all,

our users are beginning to upload pictures to the platform now.

Unfortunately most of the uploaded pictures are stored and showed in the wrong orientation. Most of them are showed upside down.

When I use a picture viewer on my PC (Irfanview for example), then irfanview shows the pictures in the right orientation.

Is there any known way to correct this issue?

Regards,

Martin

Confluence 6.11.1


Answers:
author: Thomas Deiler
body: Dear [@Martin Kaufmann](/t5/user/viewprofilepage/user-id/1773752),

best explenation is found here: [CONFSERVER-17621](https://jira.atlassian.com/browse/CONFSERVER-17621)

So long

Thomas

comments: author: Martin Kaufmann
body: Thank you Thomas, I will have a look at it!


author: Martin Kaufmann
body: [@Thomas Deiler](/t5/user/viewprofilepage/user-id/484715)so it is my understanding, that this in an open issues for years now and atlassian is not willing to fix it?

Can?t believe that .. :-(


author: Martin Kaufmann
body: I now have installed an add in named "rotate images for confluence".

Now we are able to manual correct the orientation.

Its just a workaround, but hey ...


author: CARLISLE
body: ++This issues is common across many software applications.++

<https://community.atlassian.com/t5/Confluence-questions/Images-Networking-DB-Programming/qaq-p/982696>

See more discussion above


Tags: confluence-server

image

orientation

server