youngmon/atlassian-qna huggingface dataset:
How to CREATE lambda NOT update
Asked by Himanshu Thawait:

Update working fine but what about 1st time deployment.

COMMAND: 'update' giving error : Function not found.

Also while updating FUNCTION_CONFIGURATION: 'function-configuration.json'

with hander, description etc update not working.


Answers:
author: Oleksandr Kyrdan
body: Hi [@Himanshu Thawait](/t5/user/viewprofilepage/user-id/4431950) ,

Thank you for your question!

It would be nice if you provide us with more details, pipeline configuration and logs about this case to help you.

Cheers,  
Oleksandr Kyrdan

comments: author: Himanshu Thawait
body: just share me sample code to create NEW Lambda NOT update existing one


author: Oleksandr Kyrdan
body: Ok, it's good to use [AWS Serverless Application Model (AWS SAM)](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html) to init lambda.

Just [init sam app:](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-init.html)

```
sam init
```

also, available options:   
-r, --runtime \[python2.7 \| ruby2.5 \| ruby2.7 \| java8 \| python3.7 \| dotnetcore2.0 \| nodejs10.x \| nodejs12.x \| nodejs14.x \| dotnetcore2.1 \| dotnetcore1.0 \| python3.6 \| go1.x\]


author: Himanshu Thawait
body: So it mean creation of lambda function not support in "atlassian/aws-lambda-deploy:0.2.1" ?


author: Oleksandr Kyrdan
body: Yep, pipes automate routine repetitive tasks.


author: Himanshu Thawait
body: Thanks for confirmation.


author: Halyna Berezovska
body: [@Himanshu Thawait](/t5/user/viewprofilepage/user-id/4431950) to create lambda function, it is not that pipe, for examples check out readme of aws-sam-deploy pipe <https://bitbucket.org/atlassian/aws-sam-deploy/src/master/>


Tags: bitbucket-pipelines
Migration from StarTeam to Bitbucket.
Asked by Akshay Bhandakkar:

Hi Team,

Is it possible to migrate code from the star team to Bitbucket, Please let me know how we can proceed?


Answers:
author: Theodora Boudale
body: Hi [@Akshay Bhandakkar](/t5/user/viewprofilepage/user-id/4087344) ,

Bitbucket uses [Git](https://git-scm.com/) as a version control system. In order to migrate from StarTeam to Bitbucket, you would need to migrate your StarTeam repositories to Git repositories first. Then, you can create empty repositories in Bitbucket Cloud, and push each converted Git repo to the respective Bitbucket Cloud repo.

I'm afraid that we don't have a tool that performs an automated migration from StarTeam to Git.

After a search on the internet, I found some tools developed by other users for such a conversion, e.g.:

* <https://github.com/planestraveler/git-starteam>
* <https://github.com/warrenfalk/git-st>

You can check if either of them works for the migration of your StarTeam repositories to Git.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

cloud-migration
Landing issue of Space template in Confluence
Asked by Priyanka Yadav:

Hey All,

There is an issue I face with 'Space Template' I have created in my work space. Depending on which page my user was on when they clicked on three dots (...) next to 'Create' button to choose the template, the filled-in template lands at that location and under that hierarchy in page tree. This is not the desired behavior.

I want irrespective of which page a user was on in my space when they went to three dots (...) next to 'Create' button to launch template, the filled in template should get saved under a particular parent page in my space (for more context: a section I have created to get the submissions through this template)

I know one answer is ensure users are on that parent page when they launch template, but it's not possible for me to enforce that. Any other way this can be solved?

Regards,

Priyanka


Answers:
author: Laura Campbell _Seibert Media_
body: Hello [@Priyanka Yadav](/t5/user/viewprofilepage/user-id/5015231)

I don't see a way to restrict the availability of the template, and unless you limit user access to the other spaces, they will be able to create pages in those spaces.

You mention collecting submissions, so it sounds like you're using the template as a form to collect information. What about looking into an app that gives you form features on Confluence? Or what about collecting the information through Jira? It could be a simple Jira Work Management form or a more complete Jira Service Management request.


Tags: cloud

confluence-cloud

space

template
Confluence REST API page versions
Asked by grigorhakobyanwork:

Hi all,

I am trying to integrate confluence REST API and faced with the problem.

https://$domainName/rest/api/content/search?cql=(contributor=$user and lastmodified\>=2023-01-01 and lastmodified\<=2023-04-19)\&expand=version

I wanna get from this endpoint result of the CURRENT USER last modification date and count of modifications in selected period .

Problem is that this endpoint is returning last modification date and it is not related to CURRENT USER, and count of CURRENT USER modification is not returning.

Is there anyone that can help me related that issue, so main issue is that I want to get (CURRENT USER last modification date and count of modifications in selected period)

Thank you,

Grigor


Answers:
author: marc -Collabello--Phase Locked-
body: You can't get these values directly from the API.

The only I would know is to get each page version, get the last editor, compare the editor to the CURRENT USER, and then get the modification date. This requires multiple API calls.

comments: author: grigorhakobyanwork
body: Thank you for the answer.


Tags: cloud

questions-for-confluence
Deleted Groups - noone has access to some spaces - how to fix?
Asked by Verena Ruff:

Hi,

I deleted some groups which I thought weren't used anymore. But there were some spaces for which access was defined by these groups exclusively. No noone in the company has access to these spaces.

I can't find where I as the product admin can see spaces and give access. How can I solve this and make these spaces accessable again?

Regards,

Verena


Answers:
author: Verena Ruff
body: Going to answer to myself - luckily found it:

Administration -\> Space Permissions -\> search for space -\> Recover Permissions


Tags: cloud

confluence-cloud
Confluence - Jira Macro. How to exclude 'issues' text from the retuned value
Asked by Jitendra Shembekar:

Whenever we use JIRA macro in Confluence, it returns value like - 105 issues.

If I want to get only the numeric value and exclude text 'issues', is it possible?

If this is possible then it will help a great deal in performing automated arithmetic operations in Confluence, by pulling values in a table and then using table transformer (sql queries) macro.


Answers:
author: Stiltsoft support
body: Hi [@Jitendra Shembekar](/t5/user/viewprofilepage/user-id/5195907) ,

You may use an additional [Table Transformer](https://docs.stiltsoft.com/tfac/dc-server/how-to-use-table-transformer-macro-42241552.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro to split your string by the space character and leave only numbers:

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

SELECT \*,  
T1.'Column 2'-\>split(" ")-\>0 AS 'Column 2'  
FROM T\*

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

Hope this helps your case.

comments: author: Jitendra Shembekar
body: Hi [@Stiltsoft support](/t5/user/viewprofilepage/user-id/5062270)

Thanks for the revert. I tried the suggested solution but I am getting parsing error.

**Here is the table I am using**

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

**This is the formula I am using**

SELECT \*,  
T1.'Issues'-\>split(" ")-\>0 AS T1.'Issues'  
FROM T\*

**This is the error**

![2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/258630i0BE085F037294CF8/image-size/large?v=v2&px=999 "2.JPG")

Can you please check what is wrong here. Thanks in advance for your help!


author: Stiltsoft support
body: Try to use not

SELECT \*,  
T1.'Issues'-\>split(" ")-\>0 AS T1.'Issues'  
FROM T\*

but just

SELECT \*,  
T1.'Issues'-\>split(" ")-\>0 AS 'Issues'  
FROM T\*


author: Jitendra Shembekar
body: [@Stiltsoft support](/t5/user/viewprofilepage/user-id/5062270) - I found the mistake in my formula. :)

Thanks a lot for the solution. You guys rock! Excellent!!


author: Craig Nodwell
body: Hi [@Jitendra Shembekar](/t5/user/viewprofilepage/user-id/5195907) this is fully possible. When you are in the macro definition there is a link in there for Display Options. In Display Options you can select Issue Count Only.

comments: author: Jitendra Shembekar
body: Hi [@Craig Nodwell](/t5/user/viewprofilepage/user-id/3973516)

Yes I am using that option, but it gives output like this - '66 issues' not just the number '66'.

Thanks!

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


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts

table-transformer
I;m the owner of the page bur couldn't edit the page due to some restrictions
Asked by Tushara Gogula:

I need the editing access to the page. Initially, I have the access to edit. But, I'm restricted to do , Rn.. Kindly help with this.


Answers:
author: Dan Breyen
body: Hi [@Tushara Gogula](/t5/user/viewprofilepage/user-id/5199394) welcome! I've posted another page with a similar issue. You may want to look at that one as there are many possible solutions in there.

[Solved: I cannot edit a Confluence page I am an admin for (atlassian.com)](https://community.atlassian.com/t5/Confluence-questions/I-cannot-edit-a-Confluence-page-I-am-an-admin-for/qaq-p/1249153)

Here are some possible solutions:

Steps which are recommended in this thread:

* [Check WSS](https://websocketstest.com/) (WebSockets)
* Check newest Chrome version
* Try in incognito or private browsing
* Try from another network / PC

comments: author: Tushara Gogula
body: Hello [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) .

Sorry, checked these above steps recommended, But wasn't able to resolve.

please let me know how to proceed further, it will be really helpful.


Tags: cloud

confluence-cloud
After editing the file, upload is failing
Asked by Rama Devara:

After editing the file, upload is failing after clicking on upload button in atlassian app. From my application we are opening the file using companion app and it is opening and able to edit but upload is not happening and it displays that upload failed. Please let us know the solution or what we are doing wrong. Also some times in the console getting error as "user gesture is required"


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Rama Devara](/t5/user/viewprofilepage/user-id/5195715) ,

please take a look to atlassian-confluence.log file into the CONFLUENCE_HOME/log folder in order to provide us more information about the error your are experiencing.

Fabio

comments: author: Rama Devara
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) thanks for your reply. where can i find logs ? whether in local machine or in atlassian community


author: Fabio Racobaldo _Herzum_
body: In your local server.

Application log files {#toc-hId--468754935}
-------------------------------------------

By default, the application log files can be found in the `<local-home>/logs` directory. This location is configurable, so you may need to check the log config for your location.

To make troubleshooting problems easier, the application log is split into several distinct log files:

* **atlassian-confluence.log**   
  This is the main application log file, most entries will be written here. When you start Confluence, any log entries written to the console will also be repeated in this log.


author: Rama Devara
body: [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) i found the logs and getting error as invalid origin and unable to parse json error and extract


author: Fabio Racobaldo _Herzum_
body: thanks for the update [@Rama Devara](/t5/user/viewprofilepage/user-id/5195715) . So, did u resolved your issue?


author: Rama Devara
body: still not able to upload .. what will be the issue

1. We have uploadurl: "",

2. Downloadurl:"",

3 sourceurl:""

Don't know which url has the issue


Tags: confluence-server

server
Carga el board con tareas pero ya no salen los done y en list We couldn't load item
Asked by Jelica Moreno:

Jira Software


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Jelica Moreno](/t5/user/viewprofilepage/user-id/5199314) and welcome,

please could you better specify your issue?

Fabio


Tags: cloud

confluence-cloud
How can I tell where an excerpt is included?
Asked by Sheila L:

I'm looking at a page created by someone else. There's an excerpt. How do I find out where this excerpt is included? I don't want to add text to the excerpt if it doesn't also apply to the included portion.


Answers:
author: Bill Bailey
body: Hello [@Sheila L](/t5/user/viewprofilepage/user-id/4990833) that does seem to be a shortcoming of the native excerpt macro. It is one of the reasons we went to the multi-excerpt macro. Yes it is paid, but it does let you have more than one named excerpt per page, and has the ability to see where it is used.

Won't help you here but maybe for the future?

I did see this answer that may give you the search string to find what you need. I have not tested it, but maybe it will help

<https://community.atlassian.com/t5/Confluence-questions/Find-includes-to-excerpts/qaq-p/1719338>

comments: author: Sheila L
body: I couldn't get that search string to work. It found all pages that contained the specified text instead of pages that contain the macro. Thank you though!

The plug-in is an interesting idea. I'll have to see if my company will pay for it.


author: Bill Bailey
body: I like the multi-except because I can place a number of excerpts on a single page (and out of the main ToC). Makes it much easier to admin common content shared by pages.


Tags: confluence-server

server
How do I move an info panel from one line to another?
Asked by Robert Randolph:

This seems really simple.   
I have a bunch of text.

I want to insert an info panel in the middle of the text.   
I place my cursor there, and insert an Info Panel.

The info panel is placed at the bottom of the text with no way to move it.

Why?


Answers:
author: Bill Bailey
body: There does not appear to be a way to do what you want. Some macros have an inline option you can set after inserting it, but this macro does not -- not a use case they envisioned. Sorry.


author: Alex Koxaras _Relational_
body: Hi [@Robert Randolph](/t5/user/viewprofilepage/user-id/4529331)

Hit enter twice and add the info panel between the two paragraphs. That should do the trick

comments: author: Viktoriya Zhbannikova
body: Thank you that worked for me


author: Connor
body: Hi [@Robert Randolph](/t5/user/viewprofilepage/user-id/4529331) I tested this myself and it looks like the **panels** can only be added to the end of text. I was aware this is how it functioned when adding to a list, but I didn't realize it worked this way for text. Here's a gif I recorded to demonstrate. ![Insert-Panel-Macro.gif](https://community.atlassian.com/t5/image/serverpage/image-id/252555i45EE2D50A8DB829A/image-size/large?v=v2&px=999 "Insert-Panel-Macro.gif")


Tags: cloud

confluence-cloud
Excerpt macro is gone: Error loading the extension!
Asked by Robert Wiesner:

The JS Console shows errors like:

```
Extension-handlers.js:33 Error rendering extension Error: Extension with type "com.atlassian.confluence.macro.core" and key "excerpt" not found!
at x.getExtension (default-extension-provider.js:20:13)
at async x.getExtension (forgeExtensionProvider.js:12:7)
u

tensionComponent.js:48 Provided extension handler has thrown an error
Error: Extension with type "com.atlassian.confluence.macro.core" and key "excerpt" not found!
at x.getExtension (default-extension-provider.js:20:13)
at async x.getExtension (forgeExtensionProvider.js:12:7)
(
```

This error was reported by one of our users today. There were no changes on the affected pages


Answers:
author: Victoria Grandury
body: Having the same issue. Excerpt include macro is in the dropdown but not excerpt


author: Peggy Creek
body: We are having the same issue in cloud with the excerpt macros previously working and today we have "Error loading the extension!".

Has anyone had a resolution for this?

comments: author: Robert Wiesner
body: I assume this is a confluence bug, because it broke without any edits and the macro is gone everywhere.

someone with a support plan can create a bug ticket? ?


author: Peggy Creek
body: This issue seems to be resolved today.


author: David Chell
body: We are having the same problem, I've tried clearing all browser data and cookies.


author: Andres Parraguez
body: We are having the same problem with multiple users on Confluence Cloud


Tags: app

cloud

confluence-cloud

excerpt

macro
are users deactivated if they don't log in for a long time?
Asked by Vanessa Berry:

User hasn't logged in since January. He has since retired from the military and is now a contractor waiting for a new CAC. Will his account be deactivated?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Vanessa Berry](/t5/user/viewprofilepage/user-id/4896081) ,

If you are talking about atlassian accounts, I don't think that they are disabled. If you are taking about your jira instance, only an admin can deactivate an account.

comments: author: Vanessa Berry
body: Sorry failed to mention it is a Naval Lift Confluence site. Is Naval Lift included in your answer?


author: Alex Koxaras _Relational_
body: Hmm... this is beyond my expertise.
How do you lock template variables so users can't delete them when accessing the template?
Asked by stacey_flynnkissel:

Watched a user access my global template and while they were completing the fields they hit delete by accident and deleted one of the fields where data should be input.

How do you lock the template so it can't be modified when accessed by users?


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

I'm not sure you can lock the variables. Variables are there to ease the page population, but are not mandatory.

comments: author: Connor
body: Yeah it's not possible to lock them, at least I have never seen that functionality in the 7+ years I've worked with Confluence.


Tags: cloud

confluence-cloud
How to change the confluence page logo from a simpla dot or arrow to a required image
Asked by Meera.Amanullah:

Hi, Im looking for an option to add some images to the confluence pages in the tree view. Is there a possibility to do it.?


Answers:
author: Connor
body: Hi [@Meera.Amanullah](/t5/user/viewprofilepage/user-id/5198768) there's a couple ways to add emojis to a page name, but I'm not sure its possible to add an uploaded image into the page name.

If you're asking about the page hierarchy shown in the sidebar of the Space, then hover your mouse over the page name, click the 3-dot (**...** ) more actions button, click Rename, and then click the emoji button to the left of the page name to prefix an emoji in the page name. The negative for this solution though, is the emoji will not be visible in the page name when using the **Page Tree** or **Children Display** macros.

Here's a screenshot of what I'm referring to.

![Emoji-In-Page-Name.png](https://community.atlassian.com/t5/image/serverpage/image-id/252557i25E83CE0E3B2A888/image-size/large?v=v2&px=999 "Emoji-In-Page-Name.png")

If you're trying to have the emoji visible in the page name when using the **Page Tree** or **Children Display** macros, then you'll need to add the emoji to the page name without using the Confluence built-in emoji button. Edit the page (or rename like before), on Windows use the "Windows logo key + . (period)" shortcut to open the emoji keyboard, select the emoji(es) you want to add to the page name. The emoji will be visible within the page name, when using either of the 2 macros.

Here's an example screenshot using the **Page Tree** macro with an emoji added to the page names of 2 child pages.

![Emoji-PageName-PageTreeMacro.png](https://community.atlassian.com/t5/image/serverpage/image-id/252560iBAD1B48AE7325266/image-size/large?v=v2&px=999 "Emoji-PageName-PageTreeMacro.png")


author: Meera.Amanullah
body: Thanks for the reply Connor, it is helpful. I'm actually looking to change the bullet that comes automatically in the navigation pane/left tree to a different one.

comments: author: Connor
body: Ahhh I misunderstood my apologies. You probably want to look at the marketplace for theming apps. For example, [Refined for Confluence Cloud](https://marketplace.atlassian.com/apps/1221322/refined-for-confluence-cloud?hosting=cloud&tab=overview) looks like it may do what you're trying to achieve. [Their demo site](https://decibel.refined.site/) shows the extreme level of customization they're offering.


Tags: confluence-server

server
Is there a way use icon in the custom short cut link in the side bar?
Asked by Chisung Bae:

I like use the question, blog and home icon for the custom shortcut link in the the sidebar.

Is there any way add these icon in the sidebar shortcut?


Answers:
author: Connor
body: Hi [@Chisung Bae](/t5/user/viewprofilepage/user-id/5194183) shortcut link icons can't be changed, but you could add an emoji to the shortcut text to help differentiate it/make it stand out.

comments: author: Chisung Bae
body: Can I know the URL the default shortcut icon?


author: Connor
body: The icon used for shortcuts depends on the type of shortcut. A shortcut to a Confluence page will be different than a Jira issue shortcut, etc. You can browse through [Atlassian's icon explorer](https://atlassian.design/components/icon/icon-explorer) to see what they use, but I don't know how to download those icons, or if its even possible.


Tags: confluence-server

server

sidebar
Tables was not indented properly while viewing through Scroll viewport
Asked by Arun Pandi:

Hi,  

I am working on a confluence space with the k15t Scroll viewport app installed. When I insert the Table on the confluence, it is aligned with the headers. But after being published on the Scroll viewport, the indentation was not aligned properly between the table and the header. Could you please provide me a solution for this issue?  

![Confluence table.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/252448i681C9DE52355EC36/image-size/large?v=v2&px=999 "Confluence table.jpg")![Scroll viewport table.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/252449iCC92994C6346917D/image-size/large?v=v2&px=999 "Scroll viewport table.jpg")


Answers:
author: Arun Pandi
body: Thanks for reaching out, Arun. I am part of the Scroll Viewport team and would love to help. What you've mentioned is happening because of a recent update where we incorporated a few changes to improve overall readability, especially within tables.  

With this update, tables are wider than the article text. However the width can be adjusted to either wide or full width inside of the Confluence editor. You can find out more about the change and why we've made these[enhancements here](https://help-cloud.k15t.com/scroll-viewport/scroll-viewport-cloud-2023-04-03#id-2023-04-03-Whyaretableswiderthanbefore).   

I hope this helps!

comments: author: Arun Pandi
body: Hi @\[deleted\]

Thank you for your quick response!  
Is there any other option to align the tables with the normal text and header as it look alike in Confluence.


Tags: cloud

confluence-cloud

scroll-viewport

table