youngmon/atlassian-qna huggingface dataset:
Several SQL-queries in a single table transformer
Asked by Alexandra K?hn:

Hello,

I have 6 table transformers that use the same table extract with the following SQL query:

SELECT 'department', COUNT(DISTINCT('title')) AS 'publications' FROM T\* GROUP BY 'department'

SELECT 'department', COUNT(DISTINCT('title')) AS 'refereed' FROM T\* WHERE 'refereed' LIKE "%TRUE%" GROUP BY 'department'

SELECT 'department', COUNT(DISTINCT('title')) AS 'isi' FROM T\* WHERE 'isi' LIKE "%TRUE%" GROUP BY 'department'

SELECT 'department', COUNT(DISTINCT('title')) AS 'scopus' FROM T\* WHERE 'scopus' LIKE "%TRUE%" GROUP BY 'department'

SELECT 'department', COUNT(DISTINCT('title')) AS 'Bachelor' FROM T\* WHERE 'thesis_type' LIKE "%bachelor%" GROUP BY 'department'

SELECT 'department', COUNT(DISTINCT('title')) AS 'Master' FROM T\* WHERE 'thesis_type' LIKE "%master%" GROUP BY 'department'

These differ mainly in the where clause. I then combine the 6 table transformers into a single table.

SELECT \* FROM T1 OUTER JOIN T\* ON T1.'department' = T\*.'department'

Can I do this somehow in a single table transformer?


Answers:
author: Stiltsoft support
body: Hi [@Alexandra K?hn](/t5/user/viewprofilepage/user-id/5436195) ,

I've consulted with our developers and they provided me with a following solution: use several JOINs subsequently one by one.

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

SELECT \* FROM  
(SELECT 'department', COUNT(DISTINCT('title')) AS 'publications' FROM T1 GROUP BY 'department')  
AS T1_1 OUTER JOIN (  
SELECT 'department', COUNT(DISTINCT('title')) AS 'refereed' FROM T1 WHERE 'refereed' LIKE "%TRUE%" GROUP BY 'department'  
) AS T1_2 ON T1_1.'department' = T1_2.'department'  
OUTER JOIN (  
SELECT 'department', COUNT(DISTINCT('title')) AS 'isi' FROM T1 WHERE 'isi' LIKE "%TRUE%" GROUP BY 'department'  
) AS T1_3 ON T1_1.'department' = T1_3.'department'  
OUTER JOIN (  
SELECT 'department', COUNT(DISTINCT('title')) AS 'scopus' FROM T1 WHERE 'scopus' LIKE "%TRUE%" GROUP BY 'department'  
) AS T1_4 ON T1_1.'department' = T1_4.'department'  
OUTER JOIN (  
SELECT 'department', COUNT(DISTINCT('title')) AS 'Bachelor' FROM T1 WHERE 'thesis_type' LIKE "%bachelor%" GROUP BY 'department'  
) AS T1_5 ON T1_1.'department' = T1_5.'department'  
OUTER JOIN (  
SELECT 'department', COUNT(DISTINCT('title')) AS 'Master' FROM T1 WHERE 'thesis_type' LIKE "%master%" GROUP BY 'department'  
) AS T1_6 ON T1_1.'department' = T1_6.'department'

![Fri 1-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/339760iBF56E54C3535A13E/image-size/large?v=v2&px=999 "Fri 1-2.png")

comments: author: Alexandra K?hn
body: Thank you very much, that worked perfectly well.


Tags: confluence-data-center

data-center

filter

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets

table-transformer
How to get all gadgets in confluence using SQL
Asked by Bhargavi Vasa:

get all gadgets in confluence using SQL


Answers:
author: Vronik
body: Hi

Look at this, maybe can help you

<https://community.atlassian.com/t5/Jira-questions/Query-for-gadgets-used-on-dashboards/qaq-p/2148592>


Tags: confluence-data-center

data-center
automatic color change
Asked by Denis Djiga:

When you select and change the color of an entire row in a table, the color changes in another part of the Confluence document bug


Answers:
author: Denis Djiga
body: The overall formatting changes, not just the color


author: Denis Djiga
body: I select text from a table in one part of the document and change it to a different color and automatically part of the other text in the document also changes color.![test1.png](https://community.atlassian.com/t5/image/serverpage/image-id/338508i638A8C2DC0019775/image-size/large?v=v2&px=999 "test1.png")![test2.png](https://community.atlassian.com/t5/image/serverpage/image-id/338509i419BC372B134AA59/image-size/large?v=v2&px=999 "test2.png")


author: John Funk
body: Hi Denis - Welcome to the Atlassian Community!

Can you share some screenshots?


Tags: confluence-server

server
There has been a change in the background color
Asked by arkadi kaplon:

Hello.

There has been a change in the background color of my Confluence home page, and I can't figure out how to get it to return to white instead of gray.

![Capture.GIF](https://community.atlassian.com/t5/image/serverpage/image-id/338496i6E4262EC5E7D7D24/image-size/large?v=v2&px=999 "Capture.GIF")


Answers:
author: Tansu Akdeniz
body: Hi [@arkadi kaplon](/t5/user/viewprofilepage/user-id/4609745)

When you check the page history, are there any recent changes? If yes, please check and convert it back.

Do you use marketplace theme add-on? There might be some admin page that controls it.


Tags: cloud

confluence-cloud
Anonymise name and surname
Asked by bartlomiej_jochym:

Hi,

I want to anonymize deleted/unlicensed users' names and surnames, how can I do it without deleting content they have made? Now when I delete/ suspend a user I can see the name with "unlicensed user" after the surname.

![Screenshot 2024-07-29 at 12.02.16.png](/t5/image/serverpage/image-id/338493iA838E7B0FD130464/image-size/large?v=v2&px=999 "Screenshot 2024-07-29 at 12.02.16.png")

suspend


Answers:
author: Barbara Szczesniak
body: [@bartlomiej_jochym](/t5/user/viewprofilepage/user-id/5364311) Your tags indicate you are on Cloud, so you might want to try this page: <https://support.atlassian.com/confluence-cloud/docs/what-happens-when-an-account-is-deactivated-vs-deleted/>


author: Vronik
body: Hi

Look at this article

<https://confluence.atlassian.com/doc/delete-or-disable-users-138318.html>

Regards


Tags: cloud

confluence-cloud
Please help me design a confluence page as described below
Asked by Sudhir Bhatia:

Please help me design a confluence page as described below:

1. The user selects their current package version from a dropdown menu on the Confluence page.
2. The system compares this selected version with the latest version to identify new features added since the selected version.
3. A pie chart is then displayed, categorizing these new features based on the three portals they belong to.


Answers:
author: Dave Mathijs
body: Hi [@Sudhir Bhatia](/t5/user/viewprofilepage/user-id/4775516) these are quite advanced requirements. Unless you work with Confluence databases, there are no dropdown menus in Confluence.

I believe you might need a third-party app like [Scroll Documents](https://marketplace.atlassian.com/apps/1217608/scroll-documents-for-confluence?hosting=cloud&tab=overview) and [Scroll Versions](https://marketplace.atlassian.com/apps/1210818/scroll-versions-for-confluence?hosting=datacenter&tab=overview) to meet these requirements.


Tags: cloud

confluence-cloud
Can I use version comments to automatically search for specific versions of pages?
Asked by Aneta Daniel:

Hi, can I use version comments to automatically search for specific versions of pages? For example, we have comments on a page 13.0 and on another version of the same page we have comments 13.2. I would like to see the pages that contain both of these version comments.


Answers:
author: Kristian Klima
body: Hi [@Aneta Daniel](/t5/user/viewprofilepage/user-id/5554705) and welcome to the community.

If you're talking about revision version (page iterations)... version comments do not appear to be a part of the search.

What you can do is to use Databases configured as follows.

Basically, it will show you the page's latest version including the comment.

You can then use filtering and sorting to display pages and make it easier to find what you're looking for.

![2024-07-29_12-07-41.png](https://community.atlassian.com/t5/image/serverpage/image-id/338494iE8FC94D31CB27385/image-size/large?v=v2&px=999 "2024-07-29_12-07-41.png")

Here's my [article](https://community.atlassian.com/t5/Confluence-articles/Use-Databases-for-your-docs-life-cycle-management-updated/ba-p/2663479) on the use of databases including getting all space pages into a database.


Tags: cloud

confluence-cloud
How to identify author of sticky on a whiteboard
Asked by Sherryl Barroga:

Is there a feature that allows you/owner to right click to view who wrote sticky on whiteboard? Or is there a plan to do this in the future?


Answers:
author: ?ukasz Modzelewski _TTPSC_
body: In my team, we agreed to just use different colors. It works for small teams :)


Tags: cloud

confluence-cloud

whiteboard
Limited results on our widget help search
Asked by Bianca Russell:

We set up our help widget on our webpage, to link our helpdesk project and associated knowledge base (Confluence Space - publicly accessible). But when we do a widget search, only one page result returns in the widget (where there should be multiple results for the search word).

What would be limiting the results?


Answers:
author: Joseph Chung Yin
body: [@Bianca Russell](/t5/user/viewprofilepage/user-id/5445667) -

It is difficult to address your ask since we don't know what you used in your custom help widget for your webpage.

Please provide more information if you can, so we can assist further.

Best, Joseph Chung Yin


Tags: cloud

jira-service-management

jira-service-management-cloud
Get admin's email
Asked by John Bill:

Hi,

How do I retrieve admin's email through api ?

Does anyone have an example ?

Thank you.


Answers:
author: Trudy Claspill
body: Hello [@John Bill](/t5/user/viewprofilepage/user-id/5554529)

Welcome to the Atlassian community.

Do you already know who the admin is? If so, you would use thes REST API endpoint described in the following documentationto get information about that user.

<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users/#api-wiki-rest-api-user-get>

comments: author: John Bill
body: Thank you.


author: Trudy Claspill
body: You're welcome.

If you find that my response helps you solve your requirement, then please consider clicking on the Accept Answer button to mark your Question as Solved.

Let us know if you have additional questions on this topic.


Tags: api

cloud

confluence-cloud
Create Sub task
Asked by Andrea Parrell:

How do create a subtask in my Jira backlog if I have an Epic and task already created.


Answers:
author: Mikael Sandberg
body: Subtasks cannot be created from the backlog, they can only be created from within the parent issue.

So what you have to do is open up the issue details view and then click on + Add you will see the option to create a subtask (as long as the issue type has been added to the project).

![Screenshot 2024-09-06 at 1.25.35?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/346059iD91F57B207AAEAF2/image-size/large?v=v2&px=999 "Screenshot 2024-09-06 at 1.25.35?PM.png")

comments: author: Andrea Parrell
body: thank you for your help


author: Prachi Bolar
body: Hi [@Andrea Parrell](/t5/user/viewprofilepage/user-id/5412558)

Welcome to the community :)

You may also use automation to auto-create subtasks when an issue is created

![Screenshot 2024-09-09 at 12.03.58?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/346217i7363BC5119669B66/image-size/large?v=v2&px=999 "Screenshot 2024-09-09 at 12.03.58?PM.png")

Thank You.

Prachi


author: Mohamed Benziane
body: hi

To be able to create a subtask make sure that this issuetype is in the issuetype scheme of the project, then go to any issue, let say task in your case, and create the subtask.

<https://support.atlassian.com/jira-software-cloud/docs/create-an-issue-and-a-sub-task/>


Tags: cloud

jira-cloud

jira-cloud-administration

not-applicable
Automation doubts
Asked by Sarah Cristina Bizewski:

Good afternoon I created an automation to open a ticket in another project when the item is in stage "x". And that's working perfectly. However, I need to somehow have this new call created merge with the original. That is, I need to have access to all the comments of the ticket opened in the second project in the so-called parent, without having to open it through the customer portal. How do I do this? Best regards


Answers:
author: Trudy Claspill
body: Hello [@Sarah Cristina Bizewski](/t5/user/viewprofilepage/user-id/5530034)

When asking for help with an automation rule it will help us help you more effectively if you provide screen images show your entire rule and the details of each step.

It sounds like you need a rule to automatically copy comments from the new ticket into the the ticket that cased the creation of the new ticket. You can do that through an Automation Rule.

You would need something in the new ticket that uniquely identifies the original ticket, like a link between them or a field that has the issue key of the original ticket. Do you have something link that?

The rule would need to have a Multiple Project scope that identifies both projects of these issues.

Then the structure of the rule would be something like this:

```
Trigger: Issue Commented
Condition: Project equals (the project where the new issue was created)
Branch: For Related Issues:
  The specifics of this branch depend on how you are noting in the new ticket
  what the original ticket was.

  Action: Comment on Issue
    This action will be used to copy the comment just entered on the new ticket
    into a comment on the original ticket.
```


Tags: cloud

jira-cloud
Impact of User Account Deactivation on API Tokens and REST Calls
Asked by Susheela_Kushwaha:

Hi,

What happens to the API token if the associated user account is deactivated? Will the token stop working? Will the REST call start failing as soon as the user's account is deactivated?


Answers:
author: Samuel Gatica
body: Hi [@Susheela_Kushwaha](/t5/user/viewprofilepage/user-id/4897026)

The API Token is a string that is tied (connected) to an account. As long as that account has access to the Jira/Confluence site, the API Token will continue to work, since there is no expiry date.

* However, when you remove site access (or application access) for an account, that API token will no longer work in operations (REST API calls) against that specific site or application where the user no longer has access.

<!-- -->

* Unfortunately, revoking a user's API Token is only available if you have an Atlassian Access subscription.

Ref: [Do API tokens still remain active for deactivated users?](https://community.atlassian.com/t5/Jira-questions/Do-API-tokens-still-remain-active-for-deactivated-users/qaq-p/1995727)

Hope this helps!

Best regards

Sam

comments: author: Susheela_Kushwaha
body: Thanks, Samuel! This is helpful.


Tags: api-token

cloud

deactivation

jira-cloud

token
JQL Query that would shows linked issues that belong to different teams
Asked by Patrick Sullivan:

I am trying to create a filter that would essentially show external team dependency. What I want is a filter that would show tickets that have linked stories in them, and them filter out stories where all the linked stories are the same team. Is there a JQL query that can do that?


Answers:
author: Trudy Claspill
body: Hello [@Patrick Sullivan](/t5/user/viewprofilepage/user-id/5530007)

Welcome to the Atlassian community.

The native linkedIssues() function will require you to enter just a single "source" issue (the issue to which the results issues are linked).

<https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#linkedissue>

You would have to have that function in your JQL multiple times if you have multiple "source" issues.

If you want to then exclude issues with a specific value in the Team field you would add that as additional criteria:

Team != *TeamName*and (issue in linkedIssues(ABC-1) or issue in linkedIssues(ABC-2))


Tags: cloud

jira-cloud
Best Method For Client Notification Preference
Asked by Jared Greig:

We have a project we use to interact with our clients. We have some clients, that like it when the default notification sharing defaults to "share with the entire organization". This however angered a client when they submitted a ticket, and his organization all received a copy, thus, wants the default to be that it is NOT shared.  

I'm fully aware that it's a simple drop-down and the client should just be able to, but none the less, it's my role to walk a mile so they don't have to move an inch.  

I've thought about an automation that could suppress the notification if it's that particular contact submitting a ticket, but not sure that's possible. Also considered applying issue security so only he can see it, but I believe the notification might still go out.  

Any input is appreciated!


Answers:
author: Dan Breyen
body: It would be my opinion to NOT enable 'share with the entire organization' by default. Organizations can have different subgroups that are actually part of that organization, and we have found more often that not, if you enable that functionality, you are defeating some of the functionality of JSM by informing the entire organization, and not just the key stakeholders that are participating in the ticket.

For example, if you have someone from accounting, engineering, and manufacturing all acting as customers for the organization, and the majority of the tickets come from manufacturing and engineering, does that customer from accounting need to know about all the tickets for the other departments? If they don't they could start ignoring all the emails for the other departments. If accounting does get a ticket, then they could be missing the notifications for their issue.

Your situation may be completely different, but leaving the sharing to the customer after the ticket is created so they can individually add Request Participants to any interested parties to me is a better workflow. We had it on for awhile when we first went live, and I had so many complaints about getting extra emails, I had to go turn it off.

If you look on Atlassian's Jira site, you will see several tickets requesting JSM change the application to remove this functionality, or make it optional. ([like this one](https://jira.atlassian.com/browse/JSDCLOUD-10908)).

That's my opinion anyway.

comments: author: Jared Greig
body: Appreciate your opinion Dan. It's really a case of giving two groups what they want, when both groups want the exact opposite. I typically have an opinion that follows "what's best" but that opinion means little to the powers that be. Hoping Atlassian rolls out the multi-portal feature to those of us on the Standard plan at some point.


Tags: cloud

jira-service-management

jira-service-management-cloud
Mention and Assignee search don't return accurate users
Asked by Stephen Hodgson:

We have a distributed team, so some users are in other orgs where their display name is managed for them by their corporate directory (e.g. display name set to Kanji) and some users are standalone Atlassian Cloud accounts where each user can set whatever name they want (e.g. first name only, nickname, etc.).

The mentions and assignee fields' type-ahead search (I'm sure this applies to other fields as well) only searches the user's display name so these features are rendered ineffective (at best) to our team. If these would search the email addresses as well (and display the email alongside the display names the search returns), there wouldn't be any issue here.

Support pointed me towards <https://jira.atlassian.com/browse/JRACLOUD-82097>, but this ticket seems inaccurate from the start since it claims some fields do search email today (they don't in my cloud instance).

Is there anything we can do to work around this issue? This is certainly a disappointing downgrade from our Jira server experience where

1. We had more control over the display names
2. Mentions search included the username
3. Mentions search showed the display name, email address, and user name


Answers:
author: Stephen Hodgson
body: This is just another hole in the Atlassian Cloud solution that is a major step back from the on-prem experience. The "resolution" to our support ticket was a new "suggestion" ticket that Atlassian make the mention and assignee user search useable for distributed teams: <https://jira.atlassian.com/browse/JRACLOUD-84698>

The Atlassian Admin/Guard team got the memo on this problem and user searches in the admin section (e.g. for group assignment) both search and return the email address as well as the user's display name while Confluence and Jira both don't show or search enough information to find the correct users.


author: Jehan Bhathena
body: Hi [@Stephen Hodgson](/t5/user/viewprofilepage/user-id/636567)

I can search for users using email in my instance, using jql, like assignee = user@donain.com.

Can you perhaps share a Screenshot of the discrepancy you're seeing?

Also, when you say "Mentions search included the username", are you using a custom user field and trying to search there?

comments: author: Stephen Hodgson
body: I'm not talking about JQL search, but rather the type-ahead search when mentioning or assigning a user on a specific issue. For example, typing a comment and go to [@mention](/t5/user/viewprofilepage/user-id/732788) somebody, but they aren't found because the cloud type-ahead search only looks at the user's display name (and they either changed their display name to a nickname or are using Kanji characters as dictated by their corporate directory).


Tags: cloud

jira-cloud
Importing multiple issues from a csv
Asked by TOURAILLE Maximin:

Hi,

I am trying to import multiple issues via a csv file using a \\ delimitor (cf picture 1)

But JIRA is unable to separate my fields (cf other pictures)

Do you know whatI can do to separate my fields.

The delimitor I cannot use are the followings ":" "," "-"

Thank you in advance


Answers:
author: TOURAILLE Maximin
body: ![Capture d??cran 2024-09-06 180421.png](https://community.atlassian.com/t5/image/serverpage/image-id/346219iA128D828DA5B64C1/image-size/large?v=v2&px=999 "Capture d??cran 2024-09-06 180421.png")![Capture d??cran 2024-09-06 180414.png](https://community.atlassian.com/t5/image/serverpage/image-id/346218iBD3A3F2274D07E35/image-size/large?v=v2&px=999 "Capture d??cran 2024-09-06 180414.png")![Capture d??cran 2024-09-06 180217.png](https://community.atlassian.com/t5/image/serverpage/image-id/346220i432679431FB4A199/image-size/large?v=v2&px=999 "Capture d??cran 2024-09-06 180217.png")


author: Florian Bonniec
body: Hi [@TOURAILLE Maximin](/t5/user/viewprofilepage/user-id/5586090)

You forgot to add the screenshot.

This KB may help.

[Importing data from CSV \| Administering Jira applications Data Center 10.0 \| Atlassian Documentation](https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html#:~:text=Jira%20Import%20CSV%20File%201%20Log%20in%20to,project%20Name%206%20The%20Project%20Lead.%20See%20More.)

Regards

comments: author: TOURAILLE Maximin
body: [@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589)

I have added the screenshots

As you can see I have respected the rules to import my file but it is not working : the delimitor is okay for my first row and then it is not working

Do you have any idea ?


author: Florian Bonniec
body: Have you try to open the file with a text editor and not excel, replace all \\ by the \\ from the first line (Copy/Paste the character), then save and try to import it without opening it with excel ?

Also could you try to select windows-1252 instead of UTF-8.

Finally, if it do not worked could you change the separator to something else like \| ?

'\\' is an escape character so it may not be interpreted well as seprator.

Regards


Tags: jira-unknown-hosting-type

unknown-hosting-type