youngmon/atlassian-qna huggingface dataset:
Butler HTTP requests - how to loop results in returned JSON
Asked by Steve Nyveld:

I am trying to help someone automatically populate some information into a card each morning. Since a HTTP API is available to fetch the data as a JSON, it seems we should be using Butler:

<https://help.trello.com/article/1203-issuing-http-requests-with-butler>

The example provided helped to get a proof of concept working, but it only shows how to display a specific result

```
First result: {httpresponse.relatedMovies[0].title}
```

The data I am requesting may return any number of results, from 0 to 30, so listing each is not practical and would result in 'undefined' being displayed if results were not available; following the example, perhaps you want to return the list of all the movie titles that are related with no limit; the below is not ideal:

```
First result: {httpresponse.relatedMovies[0].title}
Second result: {httpresponse.relatedMovies[1].title}
Third result: {httpresponse.relatedMovies[2].title}
Fourth result: {httpresponse.relatedMovies[3].title}
...
```

I assume there is some wildcard or the ability to do a for loop of some sort?

```
for {let n = 0; n < httpresponse.relatedMovies.length; n++}
{
   {httpresponse.relatedMovies[n].title}
}
```

Any help appreciated. I had a decent search through the documentation and forum and didn't find anything related. Perhaps we need to move to the Power Ups to get this sort of functionality?

The above considers a JSON like in the example on the link

```
{relatedMovies:[  {title: 'Movie 1'},  {title: 'Movie 2'},
  {title: 'Movie 3'},
  {title: 'Movie 4'}, ],};
```


Answers:
author: Steve Nyveld
body: Thank you for your responses, although largely confirming that Butler was incapable of processing the results.

I have instead altered the API call to do the processing and return the results in a formatted single entry.

ie. Return all the movies seperated by \\n in a single JSON field allowing

```
{httpresponse.relatedMovies[0].title}
```

to include all the results.

comments: author: milynnus
body: [@Steve Nyveld](/t5/user/viewprofilepage/user-id/4500900)

How are planning to iterate through each of the values? Or you just need to see them as separate items on a card description?


author: milynnus
body: [@Steve Nyveld](/t5/user/viewprofilepage/user-id/4500900)

You will not be able work easily with a list in Butler unless you have them as a checklist or attachments (see actions in Cascade).   
Instead get an endpoint that can update the cards for you instead. You can use http to trigger the update giving it the card id.


author: Iain Dooley
body: [@Steve Nyveld](/t5/user/viewprofilepage/user-id/4500900) there's no looping in New Butler, but for this code approach you may be interested in our BenkoBot platform:

<http://www.benkobot.com/>

You can see some examples and a "crash course" here:

<https://trello.com/b/IoHmhz5c/benkobot-community-board>

The crash course tells you how to make calls out to any external API using the ___request object


Tags: butler

json

loop
How to show Confluence Status on Jira
Asked by NORBERTUS WUSANA:

Hello, I set the document/page status on Confluence to mark when the documents already Reviewed, Approved, Need Revision, etc. How to connect or show this status on Jira?

![Confluence Status.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/220275iC1DC67F64CFD6945/image-size/large?v=v2&px=999 "Confluence Status.jpg")


Answers:
author: Alex Koxaras _Relational_
body: Hi [@NORBERTUS WUSANA](/t5/user/viewprofilepage/user-id/5041298) and welcome to the community,

My bet is that you can't show this to Jira out of the box. You have to find a workaround for it, or contact the vendor of the app you are using.

One of the workaround would be manually to place the status on the summary of the page.

Another would be to look for another app on the marketplace..


Tags: cloud

confluence-cloud
How to retrieve space and page name in PDF export css?
Asked by Alexandre Meyer:

Hi everyone,

I am trying to configure the PDF export of my confluence.

I want to write the space name and the page name at the bottom of the page export.

I am able to write the page number with the "count(page) / count(pages)" method, but I cannot find anything on how to get page and space data like space name and page name.

Thank you in advance.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Alexandre Meyer](/t5/user/viewprofilepage/user-id/5052107) and welcome to the community!

Take a look at this <https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/>

You will find a template css which includes the following:

```
@page {    margin: 0.5in;    padding: 1em;    @top-left    {        content: element(header);    }    @bottom-left     {        content: element(footer);    }}@page title{    margin: 0.5in;    padding: 1em;           @top-left    {            }    @bottom-left     {            }}a{    text-decoration:none;}div.titlepage,div.toc{    page:title;    }
```

comments: author: Alexandre Meyer
body: Hi [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) and thank you for your answer.

I've seen this documentation but I fear I did not truly understand it.

Does that mean that " @page title" gives me the title of the page? If so, does "@space title" does the same for the space?

Thanks in advance if you have the answer.

I understood that atlassian does not supply a complete documentation for this feature, thus we switched to Scroll PDF Exporter which does the job easily.


Tags: cloud

confluence-cloud
Create from template does not refer to correct space when copied from one space to another
Asked by Sara Jacobsson:

Hi!   
I have searched for similar previous questions but did not find any matching my problem.  
I have a space with several pages (X). THis space X work as a "template" for other spaces. We simply copy the pages from space Y into a new space X.

We have a problem with "create from template" button on pages we copy from one space (X) to another space (Y) . The properties on the "Create from template" is correct. The name in field "space key" refers to the new space X, but when you create a new page through the button, the page is created in space Y.  

I've found a "work around", but this isn't that sustainable in the long run I think. The work around works like so I have to edit the "Space key" field in "Create from template" and enter the name of the new space (Y). Although it already looks like this is the space that the page will be created in, it won't work until I enter the space name again. Only after I have done this and saved the properties and the "Create from template" page will the new pages be saved in space Y.   

This feels like a bug. Has anyone else experienced this? Does anyone know how to copy pages with "Create from template" to another space and the space name will be correct in the "Space key" field?

/Sara


Answers:
author: Sam Lucas
body: Hi there! This is a bug. I have created a ticket for it! Thank you.


Tags: cloud

confluence-cloud

space

template
Formatting headers of the table
Asked by Rachi Manwal:

Hi, do we have any provision for formatting the headers of a table in Table transformer macro?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Rachi Manwal](/t5/user/viewprofilepage/user-id/5036129) ,

You may check [this part](https://docs.stiltsoft.com/display/TFAC/Custom+Transformation+-+use+cases+with+advanced+SQL+queries#CustomTransformationusecaseswithadvancedSQLqueries-FormattingaheaderofJiraIssue?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) of our documentation - the example was done for the Jira Issues table, but it can be manually created table, Page Properties Report macro, etc. as well.

comments: author: Rachi Manwal
body: I checked these and these are for formatting the cells.


author: Katerina Kovriga {Stiltsoft}
body: Maybe the anchor didn't work in the previous link:

<https://docs.stiltsoft.com/display/TFAC/Custom+Transformation+-+use+cases+with+advanced+SQL+queries#CustomTransformationusecaseswithadvancedSQLqueries-FormattingaheaderofJiraIssue>

The "Formatting a header of Jira Issue" section is relevant.


Tags: cloud

confluence-cloud

filter

table

table-filter

table-filter-and-charts

table-transformer
Search in personal space
Asked by Jean Tinguely Awais:

Hello the community,

I would like to know how I cant set a private search engine in my personal space. My personal space is locked for everybody but not for me. The upper right search function is giving too much results, I only want the one from my personal space but without choosing this space in the search options. The idea is to add a search field in my personal space to search my personal space.

Probably i missunderstood something. Who can help me with a guideline?

Best regards.

Jean Tinguely Awais.


Answers:
author: Ollie Guan
body: Hi [@Jean Tinguely Awais](/t5/user/viewprofilepage/user-id/5051959) ,

Insert the livesearch macro and restrict to this Space Key.

<https://support.atlassian.com/confluence-cloud/docs/insert-the-livesearch-macro/>

comments: author: Stephany
body: This works great for our teams and individual page searches.


author: Jean Tinguely Awais
body: Thanks. I will check.


author: Fabio Racobaldo _Herzum_
body: Hi [@Jean Tinguely Awais](/t5/user/viewprofilepage/user-id/5051959) ,

welcome to the Atlassian community!

If you want to have result from a specific space you need to go to Advanced Search and select that space from the list.

You have no chance to have result from a specific space without selecting it.

Hope this helps,

Fabio

comments: author: Jean Tinguely Awais
body: Thank you. I can live with your solution.
Cannot log in to Confluence
Asked by ???:

Hello,

I have confluence(6.8.1) and jira(7.9.0) server managed by docker. I run conflulence, jira, crowd and some other containers to use these services.

Everything's okay, but I cannot log in to confluence and jira, after sudden shutdown of server PC (ubuntu 18.04.1 environment)

Jira and confluence uses external user directory, provided by crowd.

If I check everything on crowd, it seems there is no problem. I can see confluence and jira in Applications menu, they have corrector user groups, and also I can tell there is no problem on Authentication test for users, for both confluence and jira.

However, when I try to log in to jira and confluence, it just said there is an error and try again, without any further information.

It happened to jira first, but I tried to remove everything in jira home\\caches\\indexes and restore them, confluence also doesn't allow me to log in.

Also I cannot log in with admin ID.

Do I need to run jira and confluence again with recovery mode and get new admin ID? and then ..synchronize with the user directory in crowd server? (<https://confluence.atlassian.com/jirakb/restore-passwords-to-recover-admin-user-rights-972329273.html>)

I wanted to try this method, but I even cannot find jira and confluence install directory. I run them with docker, so it might be bit different from normal case...

Please let me know if you have any idea or need further information.

Thank you so much!

Best wishes,

JESuh


Answers:
author: Brant Schroeder
body: [@???](/t5/user/viewprofilepage/user-id/4787411) You can look at this post where they talk about recovery commands on docker <https://community.atlassian.com/t5/Confluence-questions/Locked-out-of-Confluence/qaq-p/1412281>


Tags: confluence-server

crowd

jira

server
Confluence Cloud doesn't work with Microsoft Teams Desktop application.
Asked by Makoto Nishihara (?? ?):

Hi, when I add Confluence Cloud (Microsoft Teams app) to Microsoft Teams,

Conflunece Cloud doesn't work with Microsoft Teams Desktop application.

White screen is just displayed on the tab...

This issue only happens on Microsoft Teams Desktop application.

There is no problem on Microsoft Teams web browser application ([https://www.office.com](https://www.office.com/)).

Could you please fix this issue A.S.A.P. ?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Makoto Nishihara (?? ?)](/t5/user/viewprofilepage/user-id/4460254)

This is Atlassian Community and not Atlassian Support. Therefore we can't fix anything by default. You need to check if Confluence was setup properly. Or uninstall the app and install it again.

comments: author: Makoto Nishihara (?? ?)
body: Thanks for your response.

I'm sorry, but I heard from our IT team that I should've asked a question here.

In case of you, Confluence Cloud is working well on Microsoft Teams Desktop application, isn't it?

I've already uninstalled and installed the applications, but I haven't been able to solve this issue yet.

I will try to contact to Atlassian Support.


author: Jan-Hendrik Spieth
body: I have exactly the same problem, [@Makoto Nishihara (?? ?)](/t5/user/viewprofilepage/user-id/4460254), so it's definitely not just you :-) Maybe you can let us know here when you got an answer from support? Thanks!

P.S.: Similarly, Confluence Cloud integration is stuck somehow in a login loop in Teams Mobile App (Android).


author: Alex Koxaras _Relational_
body: [@Jan-Hendrik Spieth](/t5/user/viewprofilepage/user-id/386132) I don't encounter this problem. Just installed confluence cloud for teams and passed all config screens


author: Jan-Hendrik Spieth
body: Thanks for checking, [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) . So, not a general issue/not affecting everyone. Kind of the worst case for troubleshooting/investigation ;-)


author: Makoto Nishihara (?? ?)
body: This is just information.

In my environment, JIRA Cloud can work correctly, but only Confluence Cloud doesn't work well on Microsoft Teams Desktop application. (White screen)

On web browser application, both of them can work correctly.

I don't know what the difference is...


Tags: cloud
How to search for some text when the Confluence page is already Published?
Asked by Sunil Pareek:

Search option (Find) is available when we are in Edit mode, but when the Page is published I am unable to do a search. I am using Expand Content option and hence CTRL + F on the browser is also not working.  

Please Help


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Sunil Pareek](/t5/user/viewprofilepage/user-id/3512989)

Why don't you use the search field on the navigation bar?

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

comments: author: Sunil Pareek
body: Thanks [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) for the response.  
I have a huge confluence page and want to search which part (Week) the searched text is available (say like I am maintaining Weekly content).  

The one you suggested will again guide me back to the same confluence page only.


author: Alex Koxaras _Relational_
body: You mean like pressing ctrl+f and see the searched text highlighted?


author: Sunil Pareek
body: yes..since I am using Expand Content option..even if I try to search using CTRL + F, it will not work.  

<br />

![Screenshot_1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/220271i415D7930C1400D8B/image-size/large?v=v2&px=999 "Screenshot_1.jpg")


author: Alex Koxaras _Relational_
body: Since auto expand of the expand macro isn't available (<https://jira.atlassian.com/browse/CONFCLOUD-54831>) and since you really want to search for this text, I see three ways:

* Export the page (and hopefully the macros will be expanded) and then search OR
* Use rest api to search for the text you want
* Find a app from the marketplace which could search within the contracted expand macros


Tags: cloud

confluence-cloud

search
In what condition that Inline messages can be resolved automatically?
Asked by Cher Chin Chai:

Hi there,

I would like to know in what condition within Confluence page that inline messages turns to resolved automatically? My team mate shows me the notification that I've made the changes to resolved in the inline message, but in reality I never made such amendments.

Appreciate the feedback.

Thank you!!!


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Cher Chin Chai](/t5/user/viewprofilepage/user-id/4529371)

There is no automatic resolution of the inline comments

<https://support.atlassian.com/confluence-cloud/docs/comment-on-pages-and-blog-posts/>

Having said that, you either resolved them yourself and you don't remember, or someone else used your profile and did it, OR there is an app who could act like your user. For the latter I can't be 100% sure, since I don't know such an app. Perhaps a document workflow manager could do that, but again I'm not sure.

comments: author: Cher Chin Chai
body: Hi Alex,

Thank you for your reply, can I raise this as a bug to Atlassian for further checking? Personally I don't remember I click resolve in any of the Inline in one of the page.


author: Alex Koxaras _Relational_
body: Can you check if you have any apps installed?

You can raise a request here <https://support.atlassian.com/contact/#/>


author: Cher Chin Chai
body: Don't think we have some app installed.


author: Alex Koxaras _Relational_
body: Then raise a support request


author: Cher Chin Chai
body: thank you Alex.


author: Alex Koxaras _Relational_
body: [@Cher Chin Chai](/t5/user/viewprofilepage/user-id/4529371) please report back from any answer the support gave you, and if you think my answer helped you, kindly mark it as accepted in order to help others.

Thank you!


Tags: cloud

confluence-cloud
How can I find page including mentioned JIRA ID in all pages?
Asked by Liam Choi:

I want to list up in a table cell which is mentioned specific JIRA ID in the other pages.

Ex)

Cell No. A1: Linked JIRA ID 1111

Cell No. A2: List up page name which mentioned same JIRA ID in A1 (1111)


Answers:
author: Brant Schroeder
body: [@Liam Choi](/t5/user/viewprofilepage/user-id/5051766) Welcome to the Atlassian community

If you are using the Jira macro to add issues you will not be able to search by Jira issue by ID. Since the editor converts the issue link to use the macro in the cloud this will most likely be your case so search will not find it.


Tags: cloud

confluence-cloud
Is there a way to create a TOC in tree form?
Asked by Rodney Sumlin:

I want a TOC macro that shows only first-level headers but expands to show sub-level headers.

Thanks


Answers:
author: Brant Schroeder
body: [@Rodney Sumlin](/t5/user/viewprofilepage/user-id/5051705) Welcome to the Atlassian community

The TOC macro does not provide that functionality. You can add the full TOC macro inside an expand macro so they can expand to see all the content or contract it to hide it.


Tags: cloud

confluence-cloud

macro
How do we remove strike throughs on Jira issues with Resolution set
Asked by RichardA:

Hi Team,

How do I get rid of strike through's on Jira issues when moved to a Blocked/Cancelled status with Resolution set on the transition.

We need to remove the strike through's on Jira board even there is a resolution set using the workflow postfunction.

Can some one help me how to do this with Script Runner or is there any way to do it using CSS/Html code?

Thanks !


Answers:
author: Trudy Claspill
body: Hello [@RichardA](/t5/user/viewprofilepage/user-id/3697346)

What problem are you trying to solve by removing the strikethrough?

Your question is posted in the Confluence Questions community. What does this have to do with Confluence?


Tags: jira

jira-server

resolution

server
Aura title macro feature request
Asked by Gonchik Tsymzhitov:

Hi!

We use Aura plugin on the version 3.7.6, it's latest and greatest one for today.

But I would to have a small feature for macro **Aura title**:

![image.png](/t5/image/serverpage/image-id/220213i460E641C20CC7F02/image-size/large?v=v2&px=999 "image.png")

![image.png](/t5/image/serverpage/image-id/220214i3126773497C421FA/image-size/large?v=v2&px=999 "image.png")

it's possibility to add links for some words :)

It helps to easier navigate through wonderful Aura-based welcome page.

Cheers,

Gonchik Tsymzhitov


Answers:
author: Florian Bonniec
body: Hi [@Gonchik Tsymzhitov](/t5/user/viewprofilepage/user-id/726117)

It's not the right place to ask such improvement. You should raise a request to the app vendor directly.

<https://appanvil.atlassian.net/servicedesk/customer/portal/3/group/9/create/19>

Regards

comments: author: Gonchik Tsymzhitov
body: Hi [@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589) ,

Thanks for the link.

I am not fully agree with you.

I have asked many feature requests.

And only public requests with discussions are fixed faster and better.

Let me explain, how do I see community.

Because community can help to find out workaround, maybe agree with feature request and maybe disagree and propose correct fundamental solution by other developer.

Because community is customers, vendors, developers.

i.e. open transparent and public tracker - <https://jira.atlassian.com/issues> helps to Atlassian grew up.

If you look into tracker you can many interesting ideas, or find out how and why developed Structure, Zephyr, re:solution apps and others.

i.e. Sub-components - (<https://jira.atlassian.com/browse/JRASERVER-846>) if you want I can mention many interesting tickets, because last 10 years I read that tracker a lot.

As summary:

1. I wrote into community to share ideas, find out the same problems, find possible workaround.

2. Each feature request I link with private.

3. I do accept rejection of feature request because I fully understand the developers ;)

[@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589) Please, comment there, if you using aura app, do you need like this feature or not.

If you think, with other community members, community.atlassian.com is not place for share ideas, feature requests and workarounds I will stop to write.

Thanks.

Cheers,

Gonchik Tsymzhitov


author: Gonchik Tsymzhitov
body: Vendor accepted that feature request in private request.


Tags: addon-com.appanvil.aura.aura

atlassian-marketplace

confluence-server

server