youngmon/atlassian-qna huggingface dataset:
Crowd using SQL Server for internal database
Asked by Thomas Douglas:

Hello, I am not sure what to enter on the Crowd installation wizard when I want to connect to a MS Sql Server database. The wizard prompts you for the following. Most fields are auto-filled once I select 'JDBC connection' for the database type.

Type of database: JDBC connection

Database: Microsoft SQL Server

Driver class name: net.sourceforge.jtds.jdbc.Driver

JDBC URL: jdbc:jtds:sqlserver::/localhost:1433/crowd

Username: xxxx

Password: xxxx

Hibernate dialect: org.hibernate.dialect.SQLServerDialect

I am not familiar with the JDBC connection string syntax so I'm sure I'm missing something simple. I am used to a prompt for host server and database, but not sure where that gets entered.

Thanks for any help!


Answers:
author: Thomas Douglas
body: I figured out the syntax for SQL Server. I realized that I could look at my Jira dbconfig file to see a sample URL format. The format below worked for me.

**jdbc:jtds:sqlserver://\[SERVERNAME\]:\[PORTNUMBER\];databaseName=\[DATABASENAME\]**

comments: author: AnnWorley
body: Thanks for following up!


author: AnnWorley
body: Hi Thomas,

The host server and database are specified in the JDBC URL. We happen to use SQL Server as an example in our doc: [Running the Setup Wizard](https://confluence.atlassian.com/crowd/running-the-setup-wizard-192479.html#RunningtheSetupWizard-Step4.DatabaseConfiguration):
> for SQL Server, the default URL is jdbc:jtds:sqlserver://localhost:1433/crowd , and if you wish to connect to crowddb instead, modify the URL so that it looks like this: jdbc:jtds:sqlserver://localhost:1433/crowddb

In the JDBC URL above, the host server is "localhost" and the database names are "crowd" and "crowddb".

I look forward to hearing whether you can connect to your MS SQL database during the setup Wizard for Crow now.

Thanks,

Ann


Tags: database

sql
Changing SSO Cookie name in crowd does not change the name of the Cookie
Asked by Pontus Ridderstr?m:

Hi  

I am looking to enable SSO over our internal atlassian products and to deny the possibility mixing up with any other SSO cookie for Atlassian from our customers. We decided to give it an original name.

<br />

But we note that when we log in that the default token name "crowd.token_key" is still being utilized.  

We have tried to locate where the value is being set in a properties file, we located the documentation "<https://confluence.atlassian.com/crowd/the-crowd-properties-file-98665664.html>" but with the notice that this file is not used from the crowd version 3.0+ and instead the attribute is stored in the database instead.  

My question is where is this "SSO cookie name" attribute stored in the Crowd database for postgresql.  
Or if that is the wrong assumption where do i locate where the Crowd "SSO token name" is being stored?  

We are running crowd on version 3.2.2 with a connection towards a Postgresql DB version 9.6  

Best regards  
Pontus Ridderstr?m


Answers:
author: Bruno Vincent
body: Hi [@Pontus Ridderstr?m](/t5/user/viewprofilepage/user-id/772112)

In Crowd's administration console, go to S*ettings \> General \> Single Sign-On cookie settings*

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

comments: author: Pontus Ridderstr?m
body: Hi Bruno  

Thanks for your answer, i have however already made that change.  

When checking towards our Confluence, Jira, Bitbucket the token that is generated when logging in is still named "crowd.token_key"  

Best regards


author: Bruno Vincent
body: [@Pontus Ridderstr?m](/t5/user/viewprofilepage/user-id/772112)

You probably need to restart those three applications to take the changes into account.

If this still does not work, you can override the cookie name in each *crowd.properties* application file (e.g. *atlassian-jira/WEB-INF/classes/crowd.properties* ) by setting the *cookie.tokenkey* property:

*cookie.tokenkey my.cookie_name*

(You will have to restart each application afterwards)


author: Pontus Ridderstr?m
body: Awesome thanks alot.  

This solved my original question.  

Have a great day :D


Tags: crowd-administration
Microsoft Azure Active Directory SSO for Jira Add-on has incorrect pre-populated setup data
Asked by Jae An:

We are currently evaluating Jira, and I am trying to setup our Azure AD to be integrated with Jira for SSO. However, the Add-on (Microsoft Azure AD SSO for Jira) configuration option shows pre-populated setup information (Identifier, Reply URL, Sign On URL) that do not match with our system. For instance, our system is SSL enabled, and all URL should have "https://", but the pre-populated setup has "http://" addresses.

Using the Federation Metadata URL from Azure correctly populates other setup fields with "https://", but it would not change the incorrect default value or allow me to manually change them either.

Any idea what may be causing this problem?


Answers:
author: Knut Arne Ristebr?ten
body: Hi,

I reported a bug on this, and Microsoft have updated their documentation today. I've tested the solution that it does work.

The issue occurs when you run behind a reverse proxy, you need to add the below attribute in connector port in server.xml file of Jira:

```
scheme="https" proxyName="<subdomain.domain.com>" proxyPort="<proxy_port>" secure="true"
```

Se step 9 on the following documentation: <https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/jiramicrosoft-tutorial>

Hope this helps.
Fetch Assets attribute data based on the reporter on the Portal Request Screen
Asked by Sriharsha:

Hi Team,

I need to auto-populate the Location and Entity asset attributes data into single-value Assets Object fields on the create screen in the portal, depending on who is creating the ticket.

I have fields named Location and Entity (Assets Object Fields).

I would appreciate your assistance with this. Thank you in advance!

Hosting type - data center

ScriptRunner App - Available


Answers:
author: Sriharsha
body: Any Idea

comments: author: Sriharsha
body: Sorry, the above one was not an answer.


Tags: data-center

jira-data-center

jira-service-management

jira-service-management-data-center
Prevent G Suite login other than by AD bound machines
Asked by Steve Larsen:

Being able to be signed in automatically after the user logs into a bound machine (win/mac) is great. What I'm wondering if Crowd can only allow users to login from a device that is AD bound. Effectively limiting a user to be able to login to G Suite only via trusted/known devices?


Answers:
author: Steve Larsen
body: It was your IWAAC solution that made me post this in fact. It might be worth getting in touch to discuss further and demo the solution.

comments: author: Bruno Vincent
body: Sure! Feel free to drop us a line at support@cleito.com


author: Bruno Vincent
body: Hello [@Steve Larsen](/t5/user/viewprofilepage/user-id/1773370)

First of all, please allow me to make sure that I understand your context correctly. My understanding is that you want to use the [Google Apps Connector](https://confluence.atlassian.com/crowd/configuring-the-google-apps-connector-167182631.html) that is shipped with Crowd to authenticate your Google Apps users on Crowd. In other words, when your unauthenticated users will hit a Google Apps page they will be redirected to Crowd's login page on which they will enter their Crowd username and password.

I also understand that you want to add Windows SSO on top of that, meaning that you want that Windows domains users don't need to enter any username and password when they are redirected to Crowd's login page. You will need a third-party plugin like [IWAAC Kerberos SSO](https://marketplace.atlassian.com/apps/1213728/iwaac-kerberos-sso?hosting=server&tab=overview) to achieve this (Important Disclaimer: I work for that plugin's vendor). You might want to take a look at our [integration guide for G Suite / Google Apps](https://www.cleito.com/products/iwaac/documentation/integrated-windows-authentication-for-google-apps/).

Now, regarding your main and last question, the IWAAC plugin has options to enable/disable Windows SSO when users connect from specific IPs or from devices of specific types. For instance, you could tell the plugin to allow Windows SSO only for users connecting from a Mac/PC that has an IP in your internal domain network (e.g. 192.168.0.1/24).

I hope this does answer your question ?
How to create a public channel in slack for all tickets to show up?
Asked by Brittany Tran:

Similar to an agent channel, can I create a request channel in Slack where all tickets submitted via the portal will show up so everyone can have visibility into what people are requesting/asking?

I know you can add request participants but this way whomever is in that channel just has visibility into the requests.

I only see request channel as an option, which only works if you do the /assist command but we want people to submit tickets via the portal and not through Slack. However, if a ticket is created in the portal it would show up in this "request" channel."

Alternatively, we could open the agent channel to be public but it says I don't have permissions likely because usually that is a private channel.


Answers:
author: Fernando Eug?nio da Silva
body: [@Brittany Tran](/t5/user/viewprofilepage/user-id/5552767) , Welcome to the Atlassian Community!

Well, have you considered to use Jira/Slack integration by Automation? So, when your ticket is being created a connection through webhook or REST API can send details of your tickets to this channel.

Differently of Assist, users will not able to see comments synchronized, but probably will help you to solve this situation. This communication will be visible for everyone in the channel and you can use smartvalues to give more details about ticket created.

comments: author: Brittany Tran
body: Yes, we do have that now but we wanted it to look cleaner like how it does in Triage or other request channels. Sounds like it is not doable though using Assist.


Tags: cloud

jira-service-management

jira-service-management-cloud
Getting tickets created with the "raised this request via API" tag
Asked by M_Ocido:

Hi Everyone, We have recently encountered a scenario wherein our service have started recieving created tickets that are labeled as

"raised this request via API"

Usually we only have tickets create in three ways

* direct creation by an agent through the create button
* emailed request
* customer portal

Either of these three will show that a ticket has been logged via portal or email. What we want to prevent is these tickets being created via api. I've having trouble tracking down the source of this (the widget feature maybe?).

Any help is greatly appreciated.


Answers:
author: Fernando Eug?nio da Silva
body: [@M_Ocido](/t5/user/viewprofilepage/user-id/5413969)

It can be widget or considering you said that you're in Premium version, I would say to check if there's some Virtual Agent workflow creating tickets in your project. Tickets created by Virtual Agent even being through customer portal comes with **raised this request**   
**via API** in your description.

comments: author: M_Ocido
body: Thank you for your response :)

After checking the widget feature of that particular service desk it was indeed **turned on** . However there is an error on the widget config page ![Screenshot 2024-08-29 105644.png](https://community.atlassian.com/t5/image/serverpage/image-id/344374iF5F96BB6A011BF7E/image-size/large?v=v2&px=999 "Screenshot 2024-08-29 105644.png")  

I was sure the widget would not work because of that error regardless if it was turned on but in any case I'll turn the widget off and monitor things further. Will update if anything else gets through after tuning it off.


Tags: cloud

jira-service-management

jira-service-management-cloud
View Alerts from All Teams in JSM
Asked by Kirsten Miller:

We started the move to JSM from Opsgenie and I cannot see all teams unless I am on a team - this is a major blocker for leadership and our testing teams. Is this on the horizon?


Answers:
author: Morgan Leblond
body: Same issue.  
I can't see the schedule of our others teams and all the alerts, even if I'm an admin.


Tags: cloud

jira-service-management

jira-service-management-cloud

opsgenie
How do I share a Dashboard internally (all have licenses)
Asked by Brent Lee:

My end goal is to share a dashboard, at least initially, of showing Created vs Resolved tickets to share with licensed users that may not actually have access to the project. I've read the suggested community posts and none of them give good answers.   

<https://community.atlassian.com/t5/Jira-questions/How-do-I-share-a-dashboard-with-internal-stakeholders/qaq-p/2300237>

<https://community.atlassian.com/t5/Jira-questions/Problem-Sharing-Dashboard/qaq-p/2776783>

<https://community.atlassian.com/t5/Jira-Service-Management/How-to-share-dashboards/qaq-p/1390485>  

Is there truly no way to share a dashboard internally if the user does not have access to that specific project?  


Answers:
author: Joseph Chung Yin
body: [@Brent Lee](/t5/user/viewprofilepage/user-id/5306257) -

Unfortunately you are correct. If one doesn't have access to the project (i.e. Browse project permission), then they will see error message against the dashboard gadgets used in your dashboard.

One possible solution will be that you can create a Confluence page (assuming you org also uses Confluence), then you can screenshot the gadget image and past the image to the Wiki page. Of course the drawbacks are you cannot use your dahsboard directly and those images are statics and not dynamic.

Hope this helps. Sorry.

Best, Joseph Chung Yin

comments: author: Brent Lee
body: I appreciate the reply Joseph! Not the answer I wanted but an answer nonetheless.  

Thank you!


author: Ivan Garcia _Appfire_
body: Hi [@Brent Lee](/t5/user/viewprofilepage/user-id/5306257)

In case you really need this solved and don't mind trying a marketplace app, we developed [Dashboard Hub Pro](https://marketplace.atlassian.com/apps/1223898/dashboard-hub-pro-charts-reports-time-in-status-tables?tab=overview&hosting=cloud), a charting app that simplifies reporting.

It allows easy internal and external sharing with links. In the case of external reporting, they can even be protected with a password.

Why don't you try it for free and share a sample dashboard with your colleagues to see if it solves your problem?

Hope it helps!


Tags: cloud

jira-cloud

jira-service-management

jira-service-management-cloud
Jira Priority Scheme History
Asked by Ismail Sanni:

Hi Guys,

Is there a way to see the priority change history when a project is added to a new priority scheme. I noticed after a priority scheme was changed; Jira never recorded the change on the history section of the ticket.

Is there any way to check the history?

Thanks.


Answers:
author: Trudy Claspill
body: Hello [@Ismail Sanni](/t5/user/viewprofilepage/user-id/5297443)

As per this documentation

<https://support.atlassian.com/jira-cloud-administration/docs/audit-activities-in-jira-applications/>

...a change to a Priority Scheme or changing which Priority Scheme is associated to a project is not recorded in the Jira Audit Log.

The history section of individual issues will record only changes to that individual issue.

comments: author: Ismail Sanni
body: Looks like it doesn't show up when you change priority scheme.

<https://jira.atlassian.com/browse/JRACLOUD-83781>

Thanks for your contribution.


author: Joseph Chung Yin
body: [@Ismail Sanni](/t5/user/viewprofilepage/user-id/5297443) -

Welcome to the community. Unfortunately not at the project level. However if one implements a new priority scheme of the project where one of the original priority option was removed in the new scheme, then you can see the change activity at the issue level only.

Hope this helps.

Best, Joseph Chung Yin

comments: author: Ismail Sanni
body: Hi Joseph,

It didn't show up in the change activity, i even used API to check the changelog, but i found nothing. I created a ticket and i was told that Jira doesn't record the old priority when you add a new priority scheme.

I was given this link to watch in case Atlassian decides to work on it.

<https://jira.atlassian.com/browse/JRACLOUD-83781>

Thanks


Tags: cloud

jira-service-management

jira-service-management-cloud
Problem with identity providers
Asked by Gabriel Cerri:

We have an older Identity Provider that we want to disconnect, but i can't do it because first i need to do:  
\* Delete SAML configuration  
\* Delete user provisionning configuration  
\* Link domains to a different directory  

But when i enter to the Directory that we have, keeps loading and then shows an error:  
"Something went wrong:   
google workspace configuration could not be retrieved"  

![Captura de pantalla 2024-08-27 153343.png](/t5/image/serverpage/image-id/344100i1E70B3EA3C4E207C/image-size/large?v=v2&px=999 "Captura de pantalla 2024-08-27 153343.png")  

<br />

<br />

<br />


Answers:
author: Joseph Chung Yin
body: [@Gabriel Cerri](/t5/user/viewprofilepage/user-id/5170844) -

I assumed you followed the instructions from this link on disconnecting your old IDP setup -

<https://support.atlassian.com/provisioning-users/docs/disconnect-your-identity-provider/>

So now you are trying to delete the call out of it from the UI? right?

It is not 100% clear on what you are trying to do now. Please advise, so we can assist you better.

Lastly, you may want to reach out to Atlassian Support (<https://support.atlassian.com>) for further assistance since they can access the backend system logs.

Best, Joseph Chung Yin

comments: author: Gabriel Cerri
body: Hi Joseph! That's the problem, when i'm trying to follow the instructions, for example deleting SAML config, i can't because just keeps loading the Directory (Identity 2) and doesn't show any other option  

<br />

i don't know if there's another option to disable this besides that way


author: Gabriel Cerri
body: BTW: The only action that allows to me to do it it's link domains, when i try to do it, throws this error:  

<br />

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

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


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software
Is It Possible to Schedule a Daily Update/Checkup to Assets to Change a Status Based on the Date?
Asked by Luke McDonnell:

Hi There,  

I am relatively new to setting up automation in Jira and I am currently testing how well the Assets section of Jira works and what it is capable of doing.  

I have created some automation that links and updates Assets based on Requests/Issues which is great but I am wondering if it can do the following or similar.  

I have created Two attributes for my Laptops:

Warranty Expiry Date - Default - Date  

and  

Warranty Status - Status - 3 Months Until Warranty End/In Warranty/Warranty Expired  

My goal is to have an Asset change its status automatically based on the current date so I can filter my assets by what needs to be upgrade/retired.  

Is this possible or is there already a much more simple feature outside of Automation that exists?  

Thank you for any help!


Answers:
author: Christopher Yen
body: Hi [@Luke McDonnell](/t5/user/viewprofilepage/user-id/5576777)

Welcome to the community! What your proposing is definitely possible using a scheduled global automation paired with an AQL search and then using the action of "Edit object attributes" I'll post a screenshot of one of my rules below that checks if a workstation is 3 years old then it marks it as eligible for upgrade.

![2024-08-27 11_10_57-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/344096i76E6AD09CDF124A9/image-size/large?v=v2&px=999 "2024-08-27 11_10_57-Window.png")

One limitation I've observed is that if the amount of records is too large it doesn't update all of them, it seems to cap out around 20 from what I've seen which is why I try to capture a range and have the job run once an hour before business hours so if it doesn't catch it in the first round it will hopefully catch it in the subsequent rounds. A dashboard query would be more reliable but I believe it will need to be built in Analytics which not everyone has access to

comments: author: Luke McDonnell
body: Hi Christopher,  

Thank you for this!  

I ended up coming up with similar but yet to try with a larger amount of records so thank you for the range suggestion as I will definitely make use of that if I come across the same issue.  

Thanks again.


Tags: asset-management

assets

automation

cloud

jira-service-management

jira-service-management-cloud
How do we allow agents to view an organisation's open tickets while in issue view? (JSM)
Asked by Pamela:

If organisation X raises a new ticket and I click into it, I want to see all of their open tickets so I can determine if this is a duplicate ticket or related to any of their other tickets. How can I do that?


Answers:
author: Mark Higgins
body: Hi [@Pamela](/t5/user/viewprofilepage/user-id/5577899)

Welcome to the Commmunity!

In JSM there is now a Similar Incidents Panel, that will show you similar incidents, but this is regardless of Organisation.

![Screenshot 2024-08-28 072536.png](https://community.atlassian.com/t5/image/serverpage/image-id/344117iE72646937D207A7B/image-size/large?v=v2&px=999 "Screenshot 2024-08-28 072536.png")

If upon request, the ticket is shared with the organisation,

![Screenshot 2024-08-28 072703.png](https://community.atlassian.com/t5/image/serverpage/image-id/344119i116B236FFE198724/image-size/large?v=v2&px=999 "Screenshot 2024-08-28 072703.png")

then it will appear on the ticket,

![Screenshot 2024-08-28 072823.png](https://community.atlassian.com/t5/image/serverpage/image-id/344120iC98EC808F50047B9/image-size/large?v=v2&px=999 "Screenshot 2024-08-28 072823.png")and you can create a filter to look for all unresolved tickets for Organisation X

![Screenshot 2024-08-28 073000.png](https://community.atlassian.com/t5/image/serverpage/image-id/344121i0F4E6B060A040577/image-size/large?v=v2&px=999 "Screenshot 2024-08-28 073000.png")

YOu can save that and place it in your Queues, so when you are in a ticket, you could click on the Queue to see other open tickets for Organisation X.

![Screenshot 2024-08-28 073133.png](https://community.atlassian.com/t5/image/serverpage/image-id/344122i7C71196491722349/image-size/large?v=v2&px=999 "Screenshot 2024-08-28 073133.png")

Hope I given you some ideas to try.

Regards

Mark

comments: author: Pamela
body: Hi Mark,

Thank you for your reply. We are already using Similar incidents but I'll try adding some filters.

Kind regards,

Pamela


Tags: cloud

jira-service-management

jira-service-management-cloud