youngmon/atlassian-qna huggingface dataset:
SourceTree Git flow does not have bugfix branch type option like stash
Asked by Amro Altahlawi:

I use SourceTree with Stash. Stash has an option to create a new branch with branch type "bugFix", is there a way to do the same when using Git flow in SourceTree?


Answers:
author: Seth
body: Yes. If you have development or master checked out, you can hit the "git flow" button and select "Start New Hotfix".

EDIT:

Git flow is not something developed by SourceTree. It was initially developed by Nvie (<https://github.com/nvie/gitflow>), which is the version SourceTree installs by default. Nvie no longer maintains it, but there is a good fork at <https://github.com/petervanderdoes/gitflow>.

The main point I want to make is that neither of these versions supports a "bugfix" prefix that is separate from "feature" and "hotfix". The AVH edition (petervanderdoes) adds a "support" prefix, but it looks like that is for branches that are not intended to ever be "finished".

If you'd like to see SourceTree support the actively maintained AVH version of gitflow, vote for these feature requests:

<https://jira.atlassian.com/browse/SRCTREEWIN-1394>

<https://jira.atlassian.com/browse/SRCTREE-1762>

comments: author: Amro Altahlawi
body: HI Seth,My mistake, i meant Bugfix and not HotFix


author: Seth
body: Do you want bugfix instead of hotfix, or in addition to hotfix?


author: Amro Altahlawi
body: In addition to hotfix. In my team, we use bugfix branch type to indicate that this work is related to certain bug that we have, and once it is done, we merged back to development branch. It would be nice if we can do that through Git flow. It would be same steps as start/end feature but the branch type should be bugfix.


author: Seth
body: Git flow is not something developed by SourceTree. It was initially developed by Nvie (<https://github.com/nvie/gitflow>), which is the version SourceTree installs by default. Nvie no longer maintains it, but there is a good fork at <https://github.com/petervanderdoes/gitflow>.The main point I want to make is that neither of these versions supports a "bugfix" prefix that is separate from "feature" and "hotfix". The AVH edition (petervanderdoes) adds a "support" prefix, but it looks like that is for branches that are not intended to ever be "finished".If you'd like to see SourceTree support the actively maintained AVH version of gitflow, vote for these feature requests:<https://jira.atlassian.com/browse/SRCTREEWIN-1394><https://jira.atlassian.com/browse/SRCTREE-1762>


author: Michel Buczynski
body: But BitBucket branching model support **bugfix/** branches and recent Git installation come with the AVH edition of GitFlow Git extension, so with **bugfix/** branches support.


Tags: bitbucket-server

git-flow
reset to commit in source tree
Asked by pruthvi raj chowda:

i have done a commit, and i don't want to push few changes in the commit to bitbucket.

can i do the reset to commit for selected changes in the commit?


Answers:
author: Seth
body: First, make a backup of your working copy to prevent risk of losing changes.

Then, right-click on the previous commit, and choose "Reset...", and in the popup, choose "Mixed". This will remove any later commits from your branch, but will keep all of the changes from those commits in your working copy. You can then re-commit whichever changes you are ready to push, then push, then decide what to do with any remaining changes.

Make sure the commit you reset to isn't any older than the latest commit on the remote version of the branch.
Sourcetree windows not responding with magento project
Asked by h8h:

I've tried to create a repository for my magento project (fresh deployment), but after first commit, Sourcetree is not responding and nothing changed after at least 1 hour (then I have to force shutdown it)

Now each time I open Sourcetree, same thing happens over and over.

How can I fix this?


Answers:
author: minnsey
body: Hi @Hoang Trinh Huy

I suspect this is because there is a very large initial commit.

Unfortunately SourceTree has a performance problem viewing the Log/History for a large commit. We are currently working on a fix for it.


author: h8h
body: Thank you! Hope that your team will fix this soon.
Can you separately authorize external users on the same space?
Asked by Adina:

Hello Confluence community,

I have an space in Confluence with many pages and sub pages. Several people work on this area (internally). But I also want to allow external people to read and edit this area. The problem is that all other internal people have to restrict the existing Confluence pages, otherwise the external people could access confidential data. Is there a way to enable external people separately for the page, without that they can access the enabled pages in Confluence?

Thanks!


Answers:
author: Ste Wright
body: Hi [@Adina](/t5/user/viewprofilepage/user-id/5282398)

As far as I know, you have to restrict the pages to not be shared with external users, not the other way around unfortunately.

There is one simple option though:

* Create two parent pages - one shared with external users, and one restricted to internal users
* Move all internal pages under the restricted parent page
* Move the external pages under the other

\^ Child pages inherent the view settings from the parent page, so you could restrict just the one parent page, and that would apply to all other pages under it.

Ste


author: Mark William Graham Bortz
body: Hello Adina, we meet again :).

As I have mentioned previously to Austin, the confidential information is encrypted twice already and we will take your request seriously. /Mark


Tags: cloud

confluence-cloud

permission
CQL returns results as expected. but IF block attached to that doesn't run
Asked by Chris Buzon:

I'm experimenting with the new Confluence automation rules, and I'm seeing that evaluation of CQL doesn't appear to work....at all.  

I'm doing a simple test. I've also used CQL before without much issue.  

-----------  

- Creating a new page using the Create-with-template macro  
- The Template has one label "test_page", and some nonsense text.  
- When a new page is published with that label, in my personal space, I want a slack message with some of the page info, like the URL of the new page. This will be leveraged elsewhere later.  

The rule has the trigger of publishing a new page (no additional configuration)  
The 2nd block is an IF/Else block, which sends a slack message in both cases.  

<br />

**IF: label = test_page** (see screenshot)

**-- Action: slack message with {{smart values}}** (note - the validator returns 3 results, but there are actually 8 pages with this label in my space). Screenshot attached.  

**Else:
-- Action: slack message with {\[smart values}}** (using real smart values here)  
**-- Action: slack message "CQL didn't work"** The message payload is the same for the both if/else, and I can see that when "else" is used, the information in the slack message is what I expect. SO the smart values are fine.I think I've just found a bug in the Confluence automation, but I'd like to be sure before I actually send in a help desk request**.
<br />
Screenshots from the rule:
![image (31).png](/t5/image/serverpage/image-id/272577iD32E2D7EAD5E9E12/image-size/large?v=v2&px=999 "image (31).png")![image (32).png](/t5/image/serverpage/image-id/272576i5B6E20FF1A52B7BD/image-size/large?v=v2&px=999 "image (32).png")**   
![image(1).png](/t5/image/serverpage/image-id/272578i46972DAF56E00DF1/image-size/large?v=v2&px=999 "image(1).png")

![mspaint_2023-08-01_14-18-25.png](https://community.atlassian.com/t5/image/serverpage/image-id/272579i46B169AC1595BB03/image-size/large?v=v2&px=999 "mspaint_2023-08-01_14-18-25.png")


Answers:
author: Chris Buzon
body: No answers for CQL have been found, however the Advanced Compare condition DOES work as expected. You can add several of those to narrow down to what you need, similiar to how a CQL query can be chained together for a similar result. Not quite as nice to read, but functional.


author: Chris Buzon
body: This EVALUATED block is weird, it's got 2 conditions I expect exist because this isn't a global rule, but it's hard to be 100% sure of that. The rule is only explicitly using the label CQL, so it must be adding the additional stuff because this is in my personal space.  

I've also tried both AND and OR for the CQL conditions, the problem occurs in both cases.  

<br />

comments: author: Chris Buzon
body: [@Sheerine Baucum](/t5/user/viewprofilepage/user-id/4751651)I saw you answering some other Confluence automation questions, so I'm tagging you in case your team is unaware, or in case you able to spot where I am going wrong.  

No reply actually needed, just want to make sure the Atlassian team is aware of the (potential) bug.


Tags: cloud

confluence-cloud
How to run an automation rule only for a specific team under a Project
Asked by Manu:

Hi,

In my company, there is a Project (Jira) under which there are multiple teams that have their assignments. Each such assignment is a project (work) in itself. Issue is if I run a particular rule for my project (work), it will also get executed in others. And that is what my question is: I want to run the automation rule only for a particular project (work) and not in the entire Project (Jira). Is there a way to achieve this?

Note: Project (Jira) - is the project for Jira instance

Project (work) - is the actual development project that is under way

eg.

++Team++ ++Projects (work)++

Team A - Front End

Team B- Backend

Team C- DBA

Team D- Platform Engineering

I want to have a dynamic JQL query which changes on its own as and when sprint changes from one sprint to another as we progress:

JQL I am using: project = "PS" and Sprint = 15 AND status NOT IN (Done)

Obviously, had it been just a single project in the entire Jira instance, I could have used "*sprint in openSprints()*", but if I do this in my environment, it will execute the automation rule in all the active sprints including other projects (work) as well.

Can anybody help me on this JQL?


Answers:
author: Ste Wright
body: Hi [@Manu](/t5/user/viewprofilepage/user-id/5282312)

How do you differentiate between the "team projects" under the Jira Project? Is it based on Epic, or Component, or Team, etc?

If there's a unique identifier per set of team projects, couldn't you use this within the JQL also?

More information about what the Automation rule should do might also be beneficial :)

Ste


Tags: cloud

confluence-cloud
Table of Content not generating when exporting with Scroll PDF Exporter
Asked by Tina-Louise Allaire:

Hello,  
The first time I created a pdf with Scroll PDF Exporter it generated a table of content but since then it's no longer generating one.

"Table of Contents  
No headings included in this document"

So I'm not sure what has changed or how I can get it to wok properly again.


Answers:
author: Brant Schroeder
body: [@Tina-Louise Allaire](/t5/user/viewprofilepage/user-id/5282304) Welcome to the Atlassian community

I would suggest submitting an issue to the vendor here [https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=support\&hosting=cloud](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=support&hosting=cloud)

comments: author: Tina-Louise Allaire
body: Thank you Brant.


author: Brant Schroeder
body: [@Tina-Louise Allaire](/t5/user/viewprofilepage/user-id/5282304) Can you mark this as accepted to help others?


Tags: cloud

confluence-cloud
How do I renew my access to our Teams calendar in Confluence
Asked by jennifer_arkell:

Our calendar in now only read only in confluence and states I need to ask my administer to renew my Teams Calendars subscription


Answers:
author: Brant Schroeder
body: [@jennifer_arkell](/t5/user/viewprofilepage/user-id/5282264) welcome to the Atlassian community

Are you the confluence admin? If not you will need to talk to your admin as they will need to fix your instances team calendar licensing.


Tags: confluence-server

server
How do I edit / delete a content status?
Asked by Angelos Devletoglou:

I have create a space in order to manage company policies, I created content statuses and then decided I wanted to remove one of my custom statuses.

I also wanted to edit one of the Space defined content status.

I couldn't do either :(

Am I the only one?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Angelos Devletoglou](/t5/user/viewprofilepage/user-id/4893123) ,

please take a look to the following simlar thread <https://community.atlassian.com/t5/Confluence-questions/How-do-you-remove-custom-statuses/qaq-p/2195589>

Hope this helps,

Fbaio

comments: author: Angelos Devletoglou
body: Thank you!


author: Levente Szabo _Midori_
body: [@Angelos Devletoglou](/t5/user/viewprofilepage/user-id/4893123)

Confluence page statuses can be done better than what Atlassian offers in Confluence.

I recommend looking at the suite of features in [Better Content Archiving for Confluence](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview&utm_campaign=gh&utm_medium=cac-comment-2437255&utm_source=cac). It has automatic statuses and much more.

This is a [comprehensive article on Confluence page statutes](https://www.midori-global.com/blog/2023/04/28/confluence-page-status?utm_campaign=gh&utm_medium=cac-comment-2437255&utm_source=cac) \>\>  
It's a tutorial on what's possible for Confluence page status with pointers on how to continue beyond statuses and create a Confluence content lifecycle management strategy.

[Go this way if you prefer a video \>\>](https://www.youtube.com/watch?v=CaAVluzLTEw)

![20230428-confluence-cloud-content-statuses.png](https://community.atlassian.com/t5/image/serverpage/image-id/273233iFC8844C5B2CFF392/image-size/large?v=v2&px=999 "20230428-confluence-cloud-content-statuses.png")

*(Please note that Better Content Archiving is a free/paid, and supported app and I'm part of the team developing it.)*

comments: author: Angelos Devletoglou
body: Looks powerful, I will bear this plugin in mind but right now I don't want to start adding plugins and trying to use the out of the box capabilities until we mature our documentation process and look for improvements.

Thank you


Tags: cloud

confluence-cloud
how to move the page created accidentally to its original workspace?
Asked by sara rao:

I created the new page for the task assigned to me. But, since I no longer hooked up with this task my manager wants me to move it back to the original space as it was before. what I am supposed to do? and I don't have permission to delete it either. I need help.


Answers:
author: Dan Breyen
body: Hi [@sara rao](/t5/user/viewprofilepage/user-id/5282094) welcome to the community. You don't state whether or not you're on the cloud. If you're using the cloud and have the right privileges, on the page if you click on the kabob (3 dots, ellipse) you should have an option to 'Move' That will let you select what space you can move the page to.

Hope that helps.


Tags: unknown-hosting-type
How do you embed a page attachment back onto the page (which is listed in the attachments view).
Asked by Jonathan Smith:

If a user removes an attachment from a page and publishes it, **the attachment is still saved in the page's attachments.**

Is there a way to **embed**the file back onto the page?

* Showing the entire attachments macro is not the answer.
* Downloading and uploading the file may not be the answer because the file in question is a Gliffy attachment. The user tried to download it and then dragged and dropped it - which didn't work.

Apologies if this is an easy or already asked question.

Cheers,

Jonathan


Answers:
author: Max Foerster - K15t
body: Hey [@Jonathan Smith](/t5/user/viewprofilepage/user-id/1254033),

The new cloud editor in Confluence falls short of some features the former editor was offering, but for some topics, workarounds exist. So, in general, it's a good idea to look at the cloud editor roadmap for an overview of actual tasks you want to perform: [Confluence Cloud editor roadmap](https://support.atlassian.com/confluence-cloud/docs/confluence-cloud-editor-roadmap/)

On that page, they link to a workaround on how to link to different things but also attachments: [Insert links - Attachments](https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Attachments)

I hope that helps already. :)

Best, Max

comments: author: Jonathan Smith
body: [@Max Foerster - K15t](/t5/user/viewprofilepage/user-id/693014)

I do hope some day that Confluence's file management becomes **on par** with SharePoint. For now, I'll have the users download and re-upload the file onto the page if they need something embedded.

Thank you for the response!

Cheers,

Jonathan


author: Samie Kaufman - Your Gal at Gliffy
body: Hey [@Jonathan Smith](/t5/user/viewprofilepage/user-id/1254033) !

Specific to Gliffy, if the diagram attachment is a .gliffy file, you should be able to re-[import the diagram](https://help.gliffy.com/confluence/Content/GliffyConfluence/Importing-diagrams-Confluence.htm?Highlight=import) to get it properly embedded back on the page.

Let me know if you're still stuck? :)

Samie


Tags: cloud

confluence-cloud
Sending email via script runner in Confluence Cloud
Asked by ????:

I want to send email to all member when confluence page is updated or created.

but it was hard to find script example.

Please tell me sending email on the confluence cloud with script runner.

if there is another solution besides script-runner please tell me!

Thanks!

#scriptrunner


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

The examples here are for Jira, but the "send email" code will work with Confluence (and Bitbucket) too - have a skim through <https://docs.adaptavist.com/sr4jc/latest/features/script-listeners/script-listener-examples>

comments: author: ????
body: Hi thanks for the answer. but your link is for the Jira.

Could you just give me "Sending email with scriptrunner on Confluence cloud" example?


author: Nic Brough -Adaptavist-
body: Again, the example is for Jira, but will work with Confluence.


author: ????
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)

hi thanks for the reply

I tried, but failed.. :(

I don't know what to write in the post part..

Is there api for confluence to send email?

```
def resp = post("/wiki/rest/api/content/{id}")
.header("Content-Type", "application/json")
.body([
subject: 'Priority Increased',
textBody: "textMessage",
htmlBody: "<p>htmlMessage</p>",
to: [
watchers: true,
voters: true,
users: [[
name: '????'
]],
groups: [[
name: 'allmember'
]]
]
]).asString()

assert resp.status == 204
```


Tags: cloud

confluence-cloud
Confiforms: Working with { Tabs Pages }
Asked by Maniumek:

Hello, I have a page, where I have register button and table view placed in third tab in { Tabs Container }. When I register new record a page obviously refreshes, but unfortunatelly tab is also switched to the first one in { Tabs Container }. Is it possible to set proper Tabs Page after adding new record?

[@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)


Answers:
author: Alex Medved _ConfiForms_
body: I dont know about your "{ Tabs Container }", but if that is capable of switching the tabs via URL then you can set up ConfiForms Registrations Control macro to redirect to this URL (macro parameter) after form submit (same could be achieved with IFTTT macro and Redirect to URL parameter)


Tags: confiforms

confluence-server

server
How can install Product Management in Confluence (Data Center)?
Asked by Sepideh Najafpour:

Hello dear Sir/Madam,  

would you please guide me regarding Confluence. I want to install Product Management in Confluence (Data Center). As far as, I searched, all the products are related to the Confluence (Clould).  

Thank you in advance. I am looking forward to hearing from you.  

Best Regards,

Fatemeh Najafpour


Answers:
author: Sepideh Najafpour
body: Hello,  
I want to create KPIs in Jira and Confluence for my supervisor. The manager wants to manage and organize the work of employees and get an overview to control and plan according to that.  
Would you please suggest me, the useful KPIs for our company?  

I should mention that also, our company are using Data Center in Jira and Confluence.  
If you have any information, Please share with us.  

Thank you so much. I am looking forward to hearing from you.  

Best regards,


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

These templates are for Cloud systems, not DC.

comments: author: Sepideh Najafpour
body: Is there any template that you can offer me for DC?


author: Nic Brough -Adaptavist-
body: Not globally, but you can easily cheat - use the ones you like in a free Cloud install to create an empty page with just the template data, then copy and paste the content into your own DC global or space templates.


author: Sepideh Najafpour
body: Thanks for your reply.


author: Sepideh Najafpour
body: I am looking for Atlassian inbuilt application but in Data Center. Please find the link below:

<https://www.atlassian.com/software/confluence/templates/categories/product-management>


Tags: cloud

confluence-cloud
Plantuml extension not working
Asked by nibansal:

Hi Team,  
I created one doc with some design using plantuml extension. Few days back it was working and now its not, I have been trying since yesterday, my whole work seems to have lost. Please help here  

The error that I get is   
\`Error loading the extension!\`   
Even in editing the doc I dont get the edit option for the design part where I used plantuml extension


Answers:
author: nibansal
body: I asked my admin and this plugin has been disabled as not many people were using this.  
Can I someohow get the plantuml code that I used in the doc as I believe content of it is saved somewhere, its just that it is unable to render  
[@Marc Koppelaar](/t5/user/viewprofilepage/user-id/3931256)

comments: author: Marc - Devoteam
body: Hi [@nibansal](/t5/user/viewprofilepage/user-id/5281803)

It still saved in the backend and the vendor or in the db at Atlassian.

You would need temporary enable the app to get to the data.

I would ask your admin to to this. Make an appointment together when. If then enables the app you are able to get the data and the app can be disabled again.


author: nibansal
body: Hi [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

The admin has to repurchase the plugin to get the data which wont be free, if somehow I can get the data from db that will be better


author: Marc - Devoteam
body: [@nibansal](/t5/user/viewprofilepage/user-id/5281803)

The app can be used as a trail and that's free.

You are on Cloud so this is your only option (or contact Atlassian Support), in cloud you can't have DB access.


author: Marc - Devoteam
body: Hi [@nibansal](/t5/user/viewprofilepage/user-id/5281803)

Welcome to the community.

PlantUML options are not default in Confluence, but achieved with a 3rd party add-on.

I would contact your administrator.

As it seems that the license of the add-on expired, the error reltaes to this.


Tags: cloud

confluence-cloud