youngmon/atlassian-qna huggingface dataset:
Git in written in shell to be triggered from Rational application developer IDE running on Windows10
Asked by cpotti:

Hi

I have installed e-git in my rational application developer which uses eclipse neon version. I have installed cygwin for windows 10 64 bit . Installed git also and set the bin folder of cygwin in environment variables. However my git hooks are still not triggered through Rational application developer IDE , git functionality works fine when running the hook in git bash.

Can some one suggest what am I doing wrong and how to go about and I want the git hooks to be triggered especially commit-msg when I am trying to commit my changes through eclipse.

The hook gets triggered perfectly while commiting the change using source tree.

I want the same hook to be triggered when commiting changes through RATIONAL APPLICATION DEVELOPER IDE


Answers:
author: minnsey
body: Hi  

I'm sorry we can't assist with configuring Rational IDE


Tags: git

windows
Unable to ignore folder structure while exporting in GIT Tortoise
Asked by ANSHUMAN PATNAIK:

Hello,

I have a repository which has a lot folders and sub folders.

I use GIT Tortoise to check the files in a particular TAG or commit. But When I try to export the files of that TAG/commit to a specific folder, the files along with the folder structure gets exported.

I just need the changed files to be exported and not the folder structure along with it which contains the file.

Example : If file FileA is changed in folderA of the repo and FileB is changed in folderB the same repo. When I use GIT Tortoise to check the files changed in that commit it shows :-

folderA/FileA

folderB/FileB

And when I export it both the files FileA and FileB get exported along with folderA and folderB. I need to only export the files and not the folders.

Is there to do this ? Please let me know if this can be done in any way using GIT Tortoise or SourceTree. I do not want to use GIT bash for this.


Answers:
author: minnsey
body: Hi  

The export functionality in TortoiseGit uses the git archive functionality see <https://git-scm.com/docs/git-archive>, this will always export a copy of the full worktree for the selected tag or commit.  

I think the closest you will get to what you want in Sourcetree is to open the commit/tag you are interested in and then in the commit details select the files and use the 'Open Selected Version' option.  

This will give you the file contents you want, although you will need to manually save them and if you have a lot of files to open it may be quite time consuming.


Tags: export

github

repository

windows
Trigger git hooks written in shell through windows
Asked by cpotti:

Hi

I have installed e-git in my rational application developer which uses eclipse neon version. I have installed cygwin for windows 10 64 bit . Installed git also and set the bin folder of cygwin in environment variables. However my git hooks are still not triggered through Rational application developer IDE , git functionality works fine when running the hook in git bash.

Can some one suggest what am I doing wrong and how to go about and I want the git hooks to be triggered especially commit-msg when I am trying to commit my changes through eclipse.

The hook gets triggered perfectly while commiting the change using source tree.

I want the same hook to be triggered when commiting changes through RATIONAL APPLICATION DEVELOPER IDE


Answers:
author: minnsey
body: Hi  

I'm sorry we can't help with configuring Rational IDE


Tags: git
Unable to create branch?
Asked by t s:

I am trying to create a branch in Sourcetree, but I am getting "New branch name is invalid". I have created many branches with the "/" in it before. This seems to be a new bug.

\*Update: Ignore this. It is fixed now.


Answers:
author: bgannin
body: To clear up what happened: we're explicitly enforcing the rules outlined in <https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html>

Cheers,

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: t s
body: Thank you for your quick reply. I tried to remove this post once I found the issue. :)


author: supergibbs
body: Any plans to support "--allow-onelevel" as an option?
How to get rid of persistant "Password Required" dialog
Asked by dkubie:

I am getting a dialog box (multiple instances at a time) that says "Password Required - For user xxxx on host git.assembla.com" Inputting the password doesn't work, and boxes will continue to pop up. Please help.


Answers:
author: bgannin
body: Which OS are you on and what version of Sourcetree are you using?
Anybody else having issues moving repository browser on MacOS?
Asked by winterhalder:

Weirdest thing - I'm finding that I cannot move the repository browser if I click on the Sourcetree name and logo - only if I click and drag near the sides of the title bar.

I'm pretty sure this wasn't a problem before (I'm sure I would have noticed?).

Anyway, thought I would throw it up here to see if anyone else has run across this issue?

(Obviously not a huge deal - since once you know where you \*can\* click it's fine... still, very weird)

<https://www.dropbox.com/s/m8w7eipb15s16qm/2018-04-05_09-52-28%20Sourcetree%20repository%20browser%20drag%20issue.png?dl=0>

Note - MacOS 10.13.4, running SourceTree 2.7.1 (159)


Answers:
author: bgannin
body: We've had another note about this (don't have the ticket number handy) and will address in a future update. Thanks for your patience and report.

Brian Ganninger  
Senior Mac Developer, Sourcetree


Tags: mac
Sourcetree error when trying to pull from repository
Asked by Cyriac Joseph:

Mac OS El Capitan

Sourcetree 2.7.1

system git 2.10.1

Getting the following error

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull origin master

From <https://bitbucket.org/xxxx/yyyyy>

\* branch master -\> FETCH_HEAD

fatal: refusing to merge unrelated histories

Completed with errors, see above


Answers:
author: bgannin
body: There's not a way to resolve this within Sourcetree's UI but it seems like this thread has some helpful suggestions for a CLI solution: <https://stackoverflow.com/questions/37937984/git-refusing-to-merge-unrelated-histories-on-rebase>. HTH.

Brian Ganninger  
Senior Mac Developer, Sourcetree


Tags: bitbucket

mac
Unable to clone a bitbucket rep
Asked by Varun Chand:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote http://VChand@stash.internal.t-mobile.com:7990/scm/tom/testscripts.git  
Output:  
Error: fatal: Authentication failed for 'http://VChand@stash.internal.t-mobile.com:7990/scm/tom/testscripts.git/'

Could someone help on clearing this error out.


Answers:
author: minnsey
body: Hi  

You are getting authentication errors when trying to clone?  

Are you expecting the repository to require authentication?  

Do you get prompted for credentials at all?  

If you haven't already I would suggest trying the following:  

1. In Tools/Options/Authentcation Tab add an account for your Bitbucket Server instance, that will prompt for credentials and you will see if they have been successfully validated.  

OR  

2. Try the command from the command line outside Sourcetree and see if you re prompted by Git.  

It is also possible that something has locked your Bitbucket Server account and logging out/logging in on the server will remove the lock and give you access back.

comments: author: Varun Chand
body: Hi Michael,

Thanks for replying. Below are my answers to your questions

You are getting authentication errors when trying to clone? **YES**   

Are you expecting the repository to require authentication? **YES but I am already authenticated to it**   

Do you get prompted for credentials at all? **No I am not prompted for credentials**   

If you haven't already I would suggest trying the following:

1. In Tools/Options/Authentcation Tab add an account for your Bitbucket Server instance, that will prompt for credentials and you will see if they have been successfully validated. **Tried this. Though it gets successfully validated I am getting this Authentication failed error when trying to clone.**

Thanks,

Varun Chand


author: minnsey
body: Hi

You say you are already authenticated? I'm guessing this is using a username/password? Is this just via the Tools/Options/Authentication tab?

Git and Sourcetree store and use credentials from the Windows Vault/Credential Manager. If you look in there you should see entries prefixed by 'git:'. The same credentials are used if you try cloning form the Git command line.

Can you try deleting any 'git:' entries from the Windows Credential Manager relating to your Bitbucket server, then re-refresh your credentials in Tools/Options/Authentication tab, you should then see the 'git:' credentials recreated in the Windows Credential Manager.

In theory you should then be able to clone.

If you can't can you try the same again, deleting the existing entries, and try cloning using the git command line, assuming that works it should also store the same credentials.

It is also worth making sure you are using git \>= 2.15
OpenAPI specification seems incomplete
Asked by Jim Reprogle:

The Confluence Cloud OpenAPI specification located [here](https://dac-static.atlassian.com/cloud/confluence/openapi-v2.v3.json?_v=1.6776.0-0.1297.0) appears to be rather incomplete as far as examples where a POST requires a raw content body in JSON.

For example, the create_footer_comment function requires a CreateFooterCommentModel parameter. (See below).![Screenshot 2024-01-04 at 09.44.53.png](/t5/image/serverpage/image-id/298919i8CB935E0EF94C84A/image-size/large?v=v2&px=999 "Screenshot 2024-01-04 at 09.44.53.png")

But the example documentation on how to create one of those has empty JSON in it, leaving the programmer to figure it out for themselves via trial and (mostly) error.

![Screenshot 2024-01-04 at 09.46.25.png](/t5/image/serverpage/image-id/298920i84622600B3EBB533/image-size/large?v=v2&px=999 "Screenshot 2024-01-04 at 09.46.25.png")

Has anyone had any luck figuring this out? I can do the same function in Postman, just not using the OpenAPI client generated from the spec listed above.


Answers:
author: Jim Reprogle
body: Here's a better way to do the example from the code. This one works, and I've included the JSON for you.

![Screenshot 2024-01-05 at 13.41.52.png](https://community.atlassian.com/t5/image/serverpage/image-id/299180i8C97CB0229103FCA/image-size/large?v=v2&px=999 "Screenshot 2024-01-05 at 13.41.52.png")


author: Jim Reprogle
body: For reference, these markdown files were generated with openapi-generator-cli.

I originally tried using swagger-codegen, but had to do too much patching and overriding of classes to stick with it.

I've been trying to read the generated documentation, as well as the swagger-ui view of it, and I can't seem to figure out how to properly create the json body of the request. Perhaps I'm being obtuse or I've overlooked something. I'd welcome any help.


Tags: cloud

confluence-cloud
Add Smart Value Labels to a page using confluence automation rule
Asked by Chris.Brown:

Hey,

I am unable to add labels to a page using smart values with the confluence automation feature.

There is a nice confluence template available:

"Add specific labels when a page is published by a certain author" which works fine.

If i try to use other smart values, the validation fails. Even if i delete the label which the template provides "{{content.author.fullName}}-page" and try to type it manually in the "add these labels \*" field the validation fails.

It wont accept the smart value input in the labels field , is there something i am missing?

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


Answers:
author: Matthew Butler
body: Try {{page.owner.fullname}}

That's what i got working for me for someone creating a new page

comments: author: Chris.Brown
body: Hey, thanks for reply but no smart values work, as soon as there is a '.' dot in the input it wont validate, i tried yours but the same issue. Are you inputting it in the same place as me? The value you suggested isn't listed here. [Smart values in Confluence automation \| Cloud automation Cloud \| Atlassian Support](https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/)


author: Laurie Sciutti
body: Hi [@Chris_Brown](/t5/user/viewprofilepage/user-id/5398207) and welcome to the Community! What happens when you just use the **{{content.author.fullName}}** smart value?

comments: author: Chris.Brown
body: Hey, nothing, you press enter and nothing happens, its blocked. If you use a non-smart value you receive a "create" popup, press enter -\> label created.

When you try to add smart labels, no popup and you cant press enter.


author: Chris.Brown
body: Nothing happens, with any smart value, as soon as you type "." the input is invalid. I would expect to press enter and the smart label gets added.

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

If you try using non smart values it works as expected.

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


author: Yusuke Nakayama
body: [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433) Hi, I also want to use smart value to determine which label to be added to a page on Automation.

Are you saying that some or all of smart value can be used in \`Add these labels\` field in Automation?


author: Yusuke Nakayama
body: Just for your information, I confirmed that one of the smart value can be used( what i have tried is to use \`{{page.parent.title}}\` to add label action)


Tags: cloud

confluence-cloud
Need to expand all issues under the epics in timeline
Asked by Piotr Wierzbicki:

Hi All!   
I got a problem when I pasted a link to the timeline in Confluence and filtered it (code below). I don't have the arrow next to the epic to see what issues are under it.

Code:

project = TUP AND type=epic AND (text \~ "Q1_2024" OR key = TUP-5952 OR key = TUP-5897 OR key = TUP-5946 OR key = TUP-5947 OR key = TUP-5948 OR key = TUP-5954 OR key = TUP-5955 OR key = TUP-5919)

I have many epics with issues under it, but as you can see in the picture, it doesn't work.

![Jira.PNG](/t5/image/serverpage/image-id/298918i2209D4A6CC17F719/image-size/large?v=v2&px=999 "Jira.PNG")


Answers:
author: Linh Pham_Ricksoft_Inc
body: Hi [@Piotr Wierzbicki](/t5/user/viewprofilepage/user-id/5398195) based on the JQL you shared, it only includes **Epic issue type.** You can query associated sub-tasks by adding the function parent in ("issue-key-1", "issue-key-2")

For example: project = "TUP" and issuekey in ("TUP-5952","TUP-5897") or parent in ("UP-5952,"TUP-5897") will return respective epics and the children underneath.

However, it might not be an ideal solution since you'll need to spicy all the issue keys.

comments: author: Piotr Wierzbicki
body: [@Linh Pham_Ricksoft_Inc](/t5/user/viewprofilepage/user-id/5233021) Maybe you know how to make changes in this part of the code to show all types which are under epic?

*project = TUP AND type=epic AND (text \~ "Q1_2024"*


author: Becky Brooks - Visor for Jira
body: Hi [@Piotr Wierzbicki](/t5/user/viewprofilepage/user-id/5398195) ,

Are the issues under the Epic subtasks? If so, Timeline doesn't support subtasks. You need to upgrade to Advanced Roadmaps or use a free Gantt/roadmap tool.

If there are non-subtask issues still not showing, then it's another problem entirely.

-- Becky

comments: author: Piotr Wierzbicki
body: When I'm in the timeline section / board in Jira, I can expand the epics, as seen in the pic. ![Timeline.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/298921i161EACB0C5B8E875/image-size/large?v=v2&px=999 "Timeline.PNG")

Probably I missed sth in the filter that I created:

project = TUP AND type=epic AND (text \~ "Q1_2024" OR key = TUP-5952 OR key = TUP-5897 OR key = TUP-5946 OR key = TUP-5947 OR key = TUP-5948 OR key = TUP-5954 OR key = TUP-5955 OR key = TUP-5919)


Tags: cloud

confluence-cloud
What happens if license expires
Asked by Christian Schimmel:

Our confluence Data-Center license expires soon, but we're not finished migrating our content. What happens to the confluence installation and its content after that day? Will it be accessible for our world-wide customers?


Answers:
author: Craig Nodwell
body: The site will go read only. You'll still be able to access your data. You just can't add data.


author: Christian Schimmel
body: The initial problem migrating away from Confluence are the enormous subscription costs for 1 year Data-Center-License. We could buy a company-Porsche every year instead, sorry.


author: Dan Breyen
body: Hi Jack, here's an article from Atlassian describing what happens if the subscription expires. It appears your site will go read only until you update your license.

[managing-your-confluence-license](https://confluence.atlassian.com/doc/managing-your-confluence-license-313467774.html)

I would contact Atlassian at support.atlassian.com/contact if you are interested in renewing or if they have any other options.

Hope that helps.

comments: author: Lenard Lee
body: Hi Jack,

Dan is correct in saying that the subscription will go to "Read only".

I would advise to contact us via our support portal.

Best,

Lenard


Tags: confluence-server

server
Whiteboard | Possibility to display additional fileds on the issue card
Asked by David Exner:

Is it possible to configure fields like the priority, parent, custom fields, etc., that are then displayed on the issue card on the whiteboard? If not, would it be possible to include this option in the final whiteboard version?


Answers:
author: Linh Pham_Ricksoft_Inc
body: Hi [@David Exner](/t5/user/viewprofilepage/user-id/5376311) , this is an excellent feature, unfortunately it's not yet available and there's no public feature roadmap to track the requests.

However, Atlassian Whiteboards team is very active in the [Whiteboards group](https://community.atlassian.com/t5/Confluence-Whiteboards/gh-p/confluence-whiteboards) to get feedback from the Community. You might want to check out a similar request here: <https://community.atlassian.com/t5/Confluence-Whiteboards/Card-Functionality/qaq-p/2466034>


Tags: cloud

confluence-cloud
Full page section acts like it has columns
Asked by Janet Shuey:

I have a section that should fill the screen from left to right, but the text inside only stretches to the halfway point, as if it is a 2-column section. How can I fix this? I've tried making the section different configurations of columns, publishing, and then going back to the full-page layout, but that didn't solve the problem.

The problem starts when I add a second HTML macro to the section. The first HTML macro does not affect the text above it within the section, but the second HTML macro causes everything in the section to shrink back to the left side of the section as if there are 2 columns.

Here is the code in the second HTML macro:

2a. \<a href="<https://confluence.nexteraenergy.com/display/NEERDEV/Create+a+Need+%28Proposal%29+-+New+Customer+Opportunity>" target="_blank"\>If a need does not exist, \<b\>create a need\</b\> using appropriate naming conventions.\</a\>\<FONT COLOR="ff0000"\>NOTE: seems like this is incorrect if they're supposed to create the need in SalesForce\</b\>\<p\>

2b. \<a href="<https://confluence.nexteraenergy.com/display/NEERDEV/Enter+New+or+Update+Existing+Customer+Information>" target="_blank"\>If a need does exist, \<b\>update the existing need\</b\> if appropriate.\</a\>\</p\>

Thanks for your help.


Answers:
author: Kristian Klima
body: Is this on Confluence server?

Going back to my Server days, I'd often ran into a page that had HTML messed up so bad that the only way to rectify the issue was creating a new blank page, then manually entering the content.

Any copy-paste done only thru Text Edit on a Mac in plain text mode to avoid inserting alien HTML. Which always happens when people copy-paste content into the Confluence Server editor from external sources.

Rather than wasting time on troubleshooting HTML, building a brand new page might be the best option.


Tags: unknown-hosting-type
Anyone have experience using the calendar in Confluence (for teams to collaborate)?
Asked by Melissa Wong:

Our team needs to have a working calendar that can link to our Jira tickets (as well as adding/updating/deleting tasks on the calendar, along with applicable notifications).

Anyone have experience using the calendar in Confluence (for teams to collaborate)?

P.S.: I was hoping for a product demo and pricing, but don't see where I can request that online (it keeps looking me back to general FAQs)


Answers:
author: Marc - Devoteam
body: Hi [@Melissa Wong](/t5/user/viewprofilepage/user-id/5398079)

Welcome to the community.

If you are referring to Team Calendars, this is an option that is only available within a Confluence Premium subscription.

On other plans you would need to see the [Atlassian marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=calendar) for an equal app.

Atlassian has monthly product demo and on demand demo's, you can find them [here](https://www.atlassian.com/demos?product=&).

I don't know if there is a Confluence Team Calendar specific, it might that is used in a collaboration demo


Tags: cloud

confluence-cloud
Search by type not expanding when logged off
Asked by Vassia Bravou:

Hello,

I experience the following issue on Confluence Cloud: when trying to search by type, in the advanced search section, the "Type" drop-down is not expanding when a user is logged off. The "aria-expanded" attribute is turning true btw.

Any idea why this might be happening?


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

If you have a public space that allows users to see content there is a lot of functionality that will not work until a user logs into confluence. Many items in search are not visible <https://confluence.atlassian.com/doc/data-protection-by-design-and-by-defaultin-confluence-server-and-data-center-962342408.html>

comments: author: Vassia Bravou
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) thanks for the welcoming and your reply.

But actually, it is a bug indeed and a ticket has been raised about the issue here: <https://jira.atlassian.com/browse/CONFCLOUD-77316>


author: Brant Schroeder
body: [@Vassia Bravou](/t5/user/viewprofilepage/user-id/5397765) Can you accept the answer to help others having this issue?


Tags: cloud

confluence-cloud

search
How to create a border
Asked by Paul Wijnen:

We are going to move to Cloud from the server version, i am testing functions within cloud, i cant seem to find a way to make a page more readable by using a border. In the server version is was able to set a {panel} and customize the border. Now it seems impossible as the panel function has been stripped to a predefined panel function, (not able to show only border without background.

Readability of a page is key for finding info fast, anyone know how to create a border around a section?

Found this but doesnt help

[Solved: How to set borders around sections (layout) (atlassian.com)](https://community.atlassian.com/t5/Confluence-questions/How-to-set-borders-around-sections-layout/qaq-p/1952792)


Answers:
author: Barbara Szczesniak
body: [@Paul Wijnen](/t5/user/viewprofilepage/user-id/3891292) You seem to have asked this question in two different ways. I got to your other question first and posted an answer there: <https://community.atlassian.com/t5/Confluence-questions/border-around-a-section/qaq-p/2570587>


Tags: cloud

confluence-cloud