youngmon/atlassian-qna huggingface dataset:
How do I get Crowd to start automatically at startup on Ubuntu?
Asked by Jeffrey Lee:

I've tried this page in particular: <https://confluence.atlassian.com/display/CROWD/Setting+Crowd+to+Run+Automatically+and+Use+an+Unprivileged+System+User+on+UNIX>

However, this didn't work. The latest thing I've done is to create a script in etc/init.d that simply has:

exec sudo -u crowd /opt/atlassian/crowd/start_crowd.sh

I've then done update-rc.d crowd defaults

However, the script is not run on startup.

What am I doing wrong here?


Answers:
author: Jeffrey Lee
body: I have it working now. Part of this is that I've been working on startup scripts for a couple of different applications and server and so now feel a bit more comfortable with using them.

Primarily, follow the steps here: [](https://confluence.atlassian.com/display/CROWD/Setting+Crowd+to+Run+Automatically+and+Use+an+Unprivileged+System+User+on+UNIX)<https://confluence.atlassian.com/display/CROWD/Setting+Crowd+to+Run+Automatically+and+Use+an+Unprivileged+System+User+on+UNIX>

Make sure you do the change permissions step.

After you've created the symlink to the crowd script you created from the example (and make sure that the script is executable chmod a+x /path/to/scriptname), run update-rc.d defaults. This will will create links in all of the various run levels which will enable your linux instance to manage shutdowns, startups, restarts, and the like, properly.

This should all work now.

comments: author: Susan Seidlitz
body: Does not work on Ubuntu 18.04 and Crowd 4.0.0


author: Adam Thurlow
body: Here's a quick fix. Add the following to the crontab of the user with which you run crowd (\<USER\>). This assumes crowd is installed in /opt/atlassian/crowd/

sudo crontab -e -u \<USER\>  
@reboot /opt/atlassian/crowd/start_crowd.sh


author: Bruna Griebeler
body: Hi Jeffrey!  

As an alternative, I suggest you do do the following:  

1) Edit your /etc/bash.bashrc  
2) In the last line add the following lines:  
*\<Crowd-Install\>/start_crowd.sh*   

Where \<Crowd-Install\> should be changed by the full path to the start_crowd.sh file.  

However is important to mentioned that, in this case, you crowd will start as root.  
If you want to run it as another user, you may use put the following line on the last line of the file (/etc/bash.bashrc):  
*su - \<youruser\> -c "\<Crowd-Install\>/start_crowd.sh"*   

Hope it helps!!

comments: author: Jeffrey Lee
body: Won't this only launch crowd when the shell starts? I've been using the etc/init.d directory to manage startup scripts.


author: Jeffrey Lee
body: It looks as if the script isn't starting correctly, even if run by root, so I'll have to dig farther into it.


author: Jeffrey Lee
body: I've been working with Atlassian support and we've sort of run to the end of possibilities. I have a startup script that runs fine when I launch it manually. Crowd starts up. It is set to run as a dedicated user.

However, when the script is launced during startup, it seems to start, but then switches to shutdown. I'm not at all sure why.


Tags: ubuntu
How does Crowd count its licensed users ?
Asked by Julien Tognazzi:

Hi all,

We have a problem with our crowd instance, as it thinks we have more than 50 current users.

Can I see how Crowd does its counting ?

We must have a configuration issue as the end users are way below 50.

We configured 5 applications, all directories are set not to allow authentication.

Then we configured special groups for each app, but the users in the end are more or less the same.

I just recalculate and I found 26 users + 1 from the crowd internal directory + a couple of empty groups...

How can I troubeshoot this issue ?

Thank you.

Julien.


Answers:
author: Julien Tognazzi
body: Thanks for all your comments.

I eventually found my error. We have two LDAP servers configured for the same directory, but we usually only use the groups from one.   
For the latest application I added, I used the other one... and so it was counting the users twice.

Regards.


author: Patrick Li
body: Taking directly from Crowd's license doc page, it should be the total number of users that can log into each of the integrated applications. Are you counting per application?

comments: author: Julien Tognazzi
body: For each applications we have almost the same end users. So it can't be more than max 30.Unless some users are counted multiple times. But then it would be way more than 53..


author: Zul NS _Atlassian_
body: Might want to check out [JRA-26520](https://jira.atlassian.com/browse/JRA-26520)


author: Julien Tognazzi
body: I forgot to write our Crowd version is 2.4.2


Tags: crowd-administration
Is Crowd 2.2.4 compatible with JIRA 6 and Confluence 5?
Asked by Neil Williams:

I want to upgrade our JIRA 4.3, Confluence 3.5, Bamboo, Fisheye and Crucible installs to the latest versions.Unfortunately we have Crowd 2.2.4 which we are not upgrading.Can I upgrade the other packages without upgrading Crowd?


Answers:
author: Tiago Comasseto
body: Hi Neil,

Crowd 2.1 or later is compatible to JIRA and Confluence latest version. As for compatibility with Bamboo, we recommend Crowd 2.3 or later for performance reasons.

See more details here:

* <https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+JIRA>
* <https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+FishEye>
* <https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+Crowd>
* <https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Confluence>

Cheers

comments: author: Neil Williams
body: Perfect, thanks for the quick answer.


Tags: crowd-administration
Crowd 2.4.0 Migration
Asked by Neil Taylor:

Hello!

I am migrating crowd (2.4.0) to a new server. I followed this procedure:

<https://confluence.atlassian.com/display/CROWD024/Migrating+Crowd+Between+Servers>

Copied the folders, updated the config files, backed up the database and restored it to the new SQL Server. (MS SQL 2008r2)

Crowd started up with no problem and I believe it has a connection to the database. The issue I'm seeing is when I try to login, it's not accepting my password. I tried to do a password reset and I can seeing in the java command line area of Crowd that it is trying to send an e-mail to my correct e-mail address (the mail server probably needs reconfigured) but the e-mail doesn't come through.

Any ideas?? Thanks!


Answers:
author: Septa Cahyadiputra
body: Hi Neil,

In order to get a better idea of your authentication failure, it would be necessary to review the logs. Specifically *atlassian-crowd.log* which is located in *\<Crowd_HOME_Dir\>/logs/*.

One of the common issue with migrated Crowd is users sometimes for get to follow the direction mentioned on our documentation, specifically this point:
> Ensure that the address list includes at least the following items: '**localhost** ', '**127.0.0.1**' and the IP address or hostname of the machine that is going to receive the new Crowd instance. This list determines the hosts that can access the Crowd Administration Console.

If the new IP address of the server is not declared, it would be impossble to access Crowd trough the new server. Would it be possible for you to access Crowd trough a machine with a registered IP address on pre-migrated server.

I hope you can post your logs for review, please note that this is a public forum, so do cencored the logs if necessary.

Regards,  
Septa Cahyadiputra

comments: author: Neil Taylor
body: Thanks for the reply - I got in by reseting my password directly in the database. :)


Tags: crowd-administration
user with group membership missing after crowd restore
Asked by Jiannan Tang:

Hi :

After restore crowd from other server.   
The user group membership missing.

Could somebody help me?


Answers:
author: CelsoA
body: Hi there,

Did you migrated the Crowd instance following the steps on the documentation?

<https://confluence.atlassian.com/display/CROWD/Migrating+Crowd+Between+Servers>

If you used this proccess and found the issue, please open a support ticket including the logs from the new server/instance for investigation.

Regards.


Tags: restore
Crowd Service could not be started.
Asked by Nate Eklund:

I just installed Crowd on a Windows server and am having trouble getting it to run as a service.

It did install succesfully as a service under Tomcat however when I try to start the service I get this output:

D:\\Atlassian\\Crowd\>net start Crowd

The Apache Tomcat Crowd service is starting.

The Apache Tomcat Crowd service could not be started.

A service specific error occurred: 0.

More help is available by typing NET HELPMSG 3547.

I have searched and found this article:

<https://confluence.atlassian.com/display/CROWDKB/Unable+to+configure+Crowd+to+run+as+a+service+on+Tomcat>

However my jdk installation does not have msvcr71.dll, instead it contains msvcr100.dll. I tried simply substituting that for msvcr71.dll in the solution listed in the article to no avail.

Any help would be greatly appreciated.


Answers:
author: Bruna Griebeler
body: Please also check if you running 32 or 64 bits on your Operating System. If you are running 64 bits, is important that your java and your Crowd are 64 bits as well.

Please check this documentation for more details: <https://confluence.atlassian.com/display/JIRAKB/Problems+Installing+JIRA+as+a+Service+on+Windows+64bit>

I know that this link is about Jira, but it might help you with its possible resolution.

Hope it helps!


author: BernardoA
body: Actually it may not work running Crowd as a service when your enviroment and application are 64bit.

However I found this following documentation which provides some a workaround:

<https://confluence.atlassian.com/display/CONFKB/Problems+Installing+Confluence+as+a+Service+on+Windows+64bit>

Cheers,

Bernardo


author: Nate Eklund
body: FYI, I also tried getting an older version of the visual c runtime that matches what the crowd article asks for and got the same error despite having it in the tomcat bin directory.


author: Nate Eklund
body: Hi Bruna,

Thanks for your reply.

I am running 64 bit windows. I installed 64 bit Java. I am unsure if my Crowd is 64 bits. On the Crowd download page I only see one standalone zip file, which is what I used following the guide on the site. I don't see any mention of 32 vs 64 bit anywhere on the download or installation pages. How can I tell?

Download Page: <http://www.atlassian.com/software/crowd/download>

Install guide: <https://confluence.atlassian.com/display/CROWD/Installing+Crowd+and+CrowdID>

Thanks!


Tags: crowd-administration
Font in JSM
Asked by Iryna Dumych:

Hello, can you please advise if it is possible to adjust the font in JSM, as some of the fields are bold, the others are not .

Thanks


Answers:
author: John Funk
body: Hi Iryna,

No, in Jira Cloud that is not possible as to the labels of the fields. The values in the fields themselves can have the font adjusted if it is a paragraph/multi-line text field by changing the renderer to wiki-style in the Field Configuration.


Tags: cloud

jira-service-management

jira-service-management-cloud
Bulk import comments into Assets via CSV
Asked by Sam Thornton:

Hey all,

One of our teams wants to import devices into Assets to use as their main asset management system, but one of their requests was whether they can import comments as well through the CSV import.

I've given it a go using the same theory as with normal issues (Adding a header 'Comment' and then using the correct formatting), but I haven't had much success.

Is there any way I can do this import natively through Assets or through Scriptrunner, perhaps?

If not, the other way might be to create a text field and have free text notes (comments) be added there from the import, but this doesn't feel particularly clean to do.

I'm using Jira Service Management Data Center, currently on version 5.4.14 (and upgrading to the latest version later in the year).

Any help or advise is appreciated.

Thanks!


Answers:
author: Alonzo Kennedy
body: Hello [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

Would you be able to help with this questions?

[Asset Management Import](https://community.atlassian.com/t5/Jira-questions/Assets-Management/qaq-p/2782481?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*)


author: Marc - Devoteam
body: Hi [@Sam Thornton](/t5/user/viewprofilepage/user-id/2209814)

Assets don't contain Jira field related options.

Assets exist of object types, objects and attributes.

You would need a text area attribute and store the information in there.

Also note that there is no formatting availabe.

comments: author: Sam Thornton
body: Thanks for your reply [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976) :)

Yeah, I knew about the make-up of Assets, but thought I'd give it a go anyway just on the off chance that it would recognise Comments as a heading within the CSV.

I think an attribute as an initial note will be fine, as long as the team doesn't care about formatting.

Do you know whether anything is possible in Scriptrunner? I've looked through the Adaptavist library.


author: Marc - Devoteam
body: Hi [@Sam Thornton](/t5/user/viewprofilepage/user-id/2209814)

Not that I'm aware and due to the fact Assets doesn't support formatting, I don't see how scriptrunner would be able to make this work


author: Sam Thornton
body: No problem, worth an ask!

Thank you for your help! You confirmed my suspicions.

Have a good afternoon.


Tags: asset-management

assets

data-center

jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

scriptrunner
Date in JSM
Asked by Iryna Dumych:

Hello All,

can you please advise how to make sure that the start date cannot be before the end date in JSM (see an example below). Maybe it is possible to fix it somehow?

Thank you for the support.

![Date in JSM.png](/t5/image/serverpage/image-id/337295i0BFD7B879391597B/image-size/large?v=v2&px=999 "Date in JSM.png")


Answers:
author: Jack Brickey
body: Hi [@Iryna Dumych](/t5/user/viewprofilepage/user-id/5538436) , this is not possible unfortunately. You could use Automation to notify someone like the assignee when the error condition occurs.

comments: author: Iryna Dumych
body: it is pity, thanks.


author: Maciej Dudziak _Forgappify_
body: Hi [@Iryna Dumych](/t5/user/viewprofilepage/user-id/5538436)

You can use transition validators. It is not ideal, because users will be prompted only during transition (also possible in issue Create), but it will force them to fix it in order to continue.

Cheers

comments: author: Iryna Dumych
body: thanks :)


author: Maciej Dudziak _Forgappify_
body: I will add that if you are in a company-managed project, you can use the Date Compare Validator, which is available out-of-the-box in Jira. It will allow you to compare two dates stored in fields.

In case you need more advanced comparison, for example, to ensure that the end date is greater than the start date plus some standard offset, let say 5 days or you would need a custom validation message, we have created Dates Compare Validator, which is a part of the [Workflow Building Blocks for Jira](https://marketplace.atlassian.com/apps/1233642/workflow-building-blocks-for-jira?hosting=cloud&tab=overview) app, which was designed for such cases.

I hope it will help.

Cheers


author: Alex Koxaras _Relational_
body: Hi [@Iryna Dumych](/t5/user/viewprofilepage/user-id/5538436)

The only way to restrict this is:

* Remove them from the edit screen
* Add them to a transition screen
* Add a validator so that the user can't add an end date to be before the start date.

comments: author: Iryna Dumych
body: thanks, we will check it ;)


Tags: cloud

jira-service-management

jira-service-management-cloud
Member of the service desk customer forwarded to customer portal all the time.
Asked by Hasan Srouji:

I have added a new user (service desk customer), each time trying to open a ticket, Jira just forward the link to the customer portal.  
I have tried to open it with private mode (incognito mode) the same results.  
Is there any configuration or settings can be checked in this case.  

Thanks


Answers:
author: Cristian IONESCU
body: Hi Hasan,

By default if he is service desk customer he/she will have access only to the **Customer portal** to submit requests.  
If you need to provide Project view to **Queues** please add him to Service Desk Agent role in the project.  

Hope this helps.

comments: author: Hasan Srouji
body: *** ** * ** ***

*** ** * ** ***

*** ** * ** ***

I have assign administrator role to the user and the system still redirecting it to the customer portal

*** ** * ** ***

*** ** * ** ***

![Screenshot 2024-07-23 at 14.24.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/337300i472E5417D71589E5/image-size/large?v=v2&px=999 "Screenshot 2024-07-23 at 14.24.08.png")


author: Cristian IONESCU
body: Hi Hasan,  

Go to: **User Management** , find the user profile and click on user and then "**Show Details** " and under **JIra Service Management** provide him User(Agent) access.  

After this please ask the user to retry.


author: Hasan Srouji
body: Thank you so much, it worked


author: Alex Koxaras _Relational_
body: Hi [@Hasan Srouji](/t5/user/viewprofilepage/user-id/5411982)

What exactly are your expected results? JSM Customers have only access from the portal. So it's correct that jira redirect him there. Does this customer suppose to have access somewhere else?

comments: author: Hasan Srouji
body: I have assigned administrator role to the user and the system still redirecting it to the customer portal

![Screenshot 2024-07-23 at 14.24.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/337303iEEDBA25D2AFC58D1/image-size/large?v=v2&px=999 "Screenshot 2024-07-23 at 14.24.08.png")


author: Alex Koxaras _Relational_
body: Assigning project roles to a user doesn't mean anything, unless they have the appropriate product access. So in order for that specific customer to be able to be an agent, beside the Service Desk Team or Administrator role, you should give him a valid JSM license.


author: Hasan Srouji
body: Thank you so much, it worked


Tags: cloud

jira-service-management

jira-service-management-cloud
Como cambiar un grupo de incidencias de estado a la vez?
Asked by ANA MARTOS TRENADO:

Tenemos filtradas un grupo de incidencias correspondientes a nuestro equipo, y todas ellas deben pasar a la vez de In Progress a Ready to UAT, y no encontramos la forma de hacerlo en bloque.

Hay alguna forma de hacerlo? Muchas gracias.

PD: Aplicar?a lo mismo a cualquier otro cambio de estados en bloque.


Answers:
author: Adolfo Casari
body: <https://support.atlassian.com/jira-service-management-cloud/docs/edit-multiple-issues-at-the-same-time/>


author: Fabian Lim
body: Hola [@ANA MARTOS TRENADO](/t5/user/viewprofilepage/user-id/5550383)

Bienvenida a la comunidad!

Vas a tener que usar un JQL search y hacer un bulk edit. Busca primero a todas las incidencias the esten "in progress" y despues les cambias el estado a Ready for UAT.

Saludos


author: Hannes Obweger - JXL for Jira
body: Hi [@ANA MARTOS TRENADO](/t5/user/viewprofilepage/user-id/5550383)

welcome to the community!

Just to add to the above answers: If you're looking for a more interactive experience than Jira's built-in bulk editing flow and are open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2762608).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields - including all JSM-specific fields - much like you'd do in e.g. Excel or Google Sheets. It also comes with a number of advanced features, including support for (configurable) *issue hierarchies* , *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting* .

Plus, it also allows *inline bulk-editing* your issue fields via copy/paste, like so:

![queue-bulk-status-change.gif](https://community.atlassian.com/t5/image/serverpage/image-id/338352i95729A7A98D5D5E9/image-size/large?v=v2&px=999 "queue-bulk-status-change.gif")

As every sheet in JXL is powered by a JQL statement or filter, you can easily model your queues as JXL sheets. It also allows cross-project queues, if that's something you'd be interested in.

Any questions just let me know,

Best,

Hannes


Tags: cloud

jira-service-management

jira-service-management-cloud
Error in our Microsoft account sync - URGENT!
Asked by Support Inovfitness:

Hello!

First of all, thanks for helping me.

Our Jira was configured with a Google account and since July 17th we are receiving a reauthorize request on Google side.

We migrated our account from Google to Microsoft with same name before (ex: both are example@inov.com) and tried to add it as a Microsoft accout, and now receive this message:

#### Urgent: Re-authorize Microsoft Outlook {#toc-hId-349483321}

To continue creating issues and comments with Microsoft Mail Server you need to re-authorize access. Go to **Actions** , select **edit** then **re-authorize** . You only need to do this once.  
Our Community Post explains [why you need to re-authorize.](https://community.atlassian.com/t5/Jira-articles/On-June-25-2024-you-must-re-authorize-incoming-mail-access-to/ba-p/2729706#M14849)

Both domains return an error when we try to re-authorize.

Someone can help us, please? Did you have this error and solved it?

Thanks!


Answers:
author: Bibek Behera
body: [@Support Inovfitness](/t5/user/viewprofilepage/user-id/5547768) ,

I would highly encourage you to connect with Atlassian Support. There can be multiple reasons for which a sync can fail. It will require a log review to find the root cause and fix it.

-Bibek

comments: author: Support Inovfitness
body: Thank you very much. It is already done.


Tags: cloud

jira-service-management

jira-service-management-cloud
Adding customer name to log in message or introduction text in service portal
Asked by Martina Hurte??kov?:

Hello,

I?m new to Jira Service Management (cloud) and we are now testing it.

I?d like to ask if it?s possible to add customer name either into the log in message or introduction text of self service portal?

I?m aware that the customer can see his/her account detail at the top right corner of the portal (User profile icon), but for our customer it would be nice to see it also directly on the main page.

I tried it with including "${issue.reporter.name}" into both places (log in message/introduction text) however it displays only the text but not the precise name. Could you please help me what do I need to do to display the precise customer name in any of these places? Or if that?s even possible.

thanks a lot

Martina![customer name.PNG](/t5/image/serverpage/image-id/337257i6110F16A731AD5BC/image-size/large?v=v2&px=999 "customer name.PNG")


Answers:
author: Bibek Behera
body: [@Martina Hurte??kov?](/t5/user/viewprofilepage/user-id/5359641) ,

Currently, the feature is not available out of the box. I could see there is a feature request in place for now.

<https://jira.atlassian.com/browse/JSDCLOUD-2153>

-Bibek

comments: author: Martina Hurte??kov?
body: thanks for the information, so let?s just wait :)


Tags: cloud

jira-service-management

jira-service-management-cloud