Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence connect add-on with javascript

aturch October 2, 2016

Hi,

I've already developed add-on(blueprint) for confluence server solution.

This add-on uses js inside and it works fine.

Now I'm trying to migrate it to Confluence Cloud and I'm stuck with js part.

Is there any way to add custom js to Confluence Connect add-on

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2016

Hi Andrii,

It's not like you just migrate to the Cloud. Cloud development is another religion smile. I advise you to start from tutorials https://developer.atlassian.com/static/connect/docs/latest/guides/introduction.html.

> Is there any way to add custom js to Confluence Connect add-on

For me the cloud development is 90% about JS so I believe you will find a way to include the JS. Challenging could be to make the JS common for Server and Cloud versions.

aturch October 6, 2016

Right, it's all about js. But tricky thing is that looks like blueprints for connect version could not contain executable js. At least it's what I've seen so far.

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2016

Ok, I see the problem. Try to add web-panel with location atl.general and put your JS inside of the panel. I did similar tricks for JIRA server but did not try with cloud addons.

Please update me if it worked for you.

Update: Probably it will NOT work since I guess that web-panel will be in an iframe. But you have to try.

aturch October 6, 2016

Sure I will, thx.

0 votes
Jake Furler
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2016

Hi Turchin,

Could you please add more detail about what exactly you want to achieve here? Why do you need client-side javascript? In what situation do you want it to execute? What do you want it to do?

If we have more information we may be able to provide you with a better overall solution smile

0 votes
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2016

This question seems very similar to: https://answers.atlassian.com/questions/42693519.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events