youngmon/atlassian-qna huggingface dataset:
Can Crowd be used as SSO middleware?
Asked by Christian Kretzschmar:

Hi guys,

we're currently evaluating if Crowd could be used as a SSO middleware, to handle a multi login provider scenario. We got different identidy providers (based on OpenID) we want to connect to Crowd.

We also want to add a custom application, where users want to login, to Crowd. When the users is redirected from this custom application to Crowd, a routing mechanism should be triggered, which will authenticate the user against the custom application and the identidy provider itself.

From my perspective the use case could not be implemented using Crowd. Am I right or is there something I missed? Maybe someone has evaluate/realized a similiar scenario and can share some thoughts on it.

Thanks and best regards,

Christian


Answers:
author: Lars Olav Velle
body: Hello Christian,

I think you are correct. I don\`t see how adding Crowd will help you achieve your goal.

Maybe you could look into the openid add-on.

<https://marketplace.atlassian.com/search?query=openid>

Cheers,

Lars

comments: author: Christian Kretzschmar
body: Hi Lars,

thanks for your reply. Unfortunately, the OpenID AddOn didn't help to fulfill our use case.

Since my initial post we found some other options to build our use case.

Cheers,

Christian
How do I store custom attributes to a user in RemoteDirectory in Crowd?
Asked by Rizwan Basha:

I have implemented RemoteDirectory interface in Crowd to create a custom directory. I need certain attributes of users from our custom directory to be moved to Crowd as well so that certain customizations can be done in Confluence and JIRA based on the custom attributes.

There is a interface method findUserWithAttributesByName() which returns UserWithAttributes object. I tried returning attributes from this method, and it did not help.

In this context, I do not understand from the documentation what is storeUserAttributes() method used for. Is there any way I can use storeUserAttributes() method to save custom user attributes in Crowd?

Thanks!

-Rizwan


Answers:
author: Rizwan Basha
body: I found the solution to this issue, but with another following problem:

I had to get my custom attributes and populates them in attributes of the type Map\<String, Set\<String\>\> in UserWithAttributes object and return this object from the RemoteDirectory interface method findUserWithAttributesByName().

By doing so, I got my custom attributes from my custom directory into Crowd. However, I see that these custom attributes are not being synchronized into JIRA and Confluence.

There is also a reported bug about this here: [CROWD - JIRA integration does not synchronize custom user attributes...](https://jira.atlassian.com/browse/CWD-2417) This bug has been reported in April 2011.

What use are the attributes of, if they are not available to work with in Atlassian applications such as Jira and Confluence?


Tags: jira

user

user-management
JAMA Contour Crowd sync'ing issues
Asked by Jodie:

We are having issues with Crowd sync'ing groups to JAMA. When we create a new user, the user sync's but the groups are not. This was working a few weeks ago. What could cause this issue? Users can't login to JAMA unless we manually add them into groups in JAMA. Ideas?

Thanks in Advance


Answers:
author: AnnWorley
body: The way I read JAMA's docs, once you enable Crowd, all user management is done in Crowd so the groups from Crowd should sync over as you are expecting.

Please review the JAMA and Crowd setups from this link to see if the configuration is still set the way you had it when it was working:

[Crowd Setup JAMA doc](http://help.jamasoftware.com/index.html?user__group_synchronization.htm)

I look forward to hearing what you find.
Authenticate step fails in custom directory connector testing (Crowd via JIRA)
Asked by Rizwan Basha:

Hello,

I am trying to create a custom directory connector in Crowd by implementing the interface RemoteDirectory. I have implemented necessary methods so far in order to test the custom directory from JIRA. I have added Crowd type of directory in JIRA. And when I test the remote directory from JIRA, it asks for credentials of a user in the remote directory for extended testing. And when I enter the credentials of a user existing in my custom directory (which is in a SQL Server database accessible via SOAP web service), Crowd calls certain methods of the Remote Directory interface (such as SearchUsers(), findUserByName(), searchGroupRelationships() and authenticate()). All these methods do return valid return values. However, the test results in JIRA shows authenticate step as failed, though it shows all the preceding steps as succeeded (as shown in the image attached). But I see in debug mode that the authenticate method of the RemoteDirectory implementation does return a valid User object (of type com.atlassian.crowd.model.user.User) with all its property values filled in.

Does anyone have any idea what may be the cause?

Thanks!

Rizwan![CrowdTestViaJira.JPG](/t5/image/serverpage/image-id/1334iDD7D3FBA998F97ED/image-size/large?v=v2&px=999 "CrowdTestViaJira.JPG")


Answers:
author: Rizwan Basha
body: This issue is resolved. There was nothing wrong in implementation code. The problem was in Application configuration in Crowd. In the definition of Jira application in Crowd, Directories tab, the value in the column "Allow all to authenticate" for my custom directory was accidentally False. I had to changed it to true in order to resolve this issue.


Tags: authentication
When Crowd saves a UTF-8 character (Korean in my case), it is saved as "?? (question mark)".
Asked by JongBum Lee:

Dear All

I would like to save CROWD USER NAME as a UTF-8 character (in my case Korean).

However, it is displayed correctly on the screen, but saved data is "?" .

How can I save it right?

Thanks.

Best Regards.


Answers:
author: Nic Brough -Adaptavist-
body: When you say "it is displayed correctly on the screen, but saved data is " - do you mean it is ok when you type it in, but when you save it and view it later, it comes out as a ?, or do you mean it is a ? in the database?

comments: author: JongBum Lee
body: Thank you for answer.  
When create user, user name display normally on the screen, but after pressing the save button and user name is broken (also, saved data is broken in database table)  
Best Regards.
Authenticate step fails in custom directory connector testing (Crowd and JIRA)
Asked by Rizwan Basha:

Hello,

I am trying to create a custom directory connector in Crowd by implementing the interface RemoteDirectory. I have implemented necessary methods so far in order to test the custom directory from JIRA. I have added Crowd type of directory in JIRA. And when I test the remote directory from JIRA, it asks for credentials of a user in the remote directory for extended testing. And when I enter the credentials of a user existing in my custom directory (which is in a SQL Server database accessible via SOAP web service), Crowd calls certain methods of the Remote Directory interface (such as SearchUsers(), findUserByName(), searchGroupRelationships() and authenticate()). All these methods do return valid return values. However, the test results in JIRA shows authenticate step as failed, though it shows all the preceding steps as succeeded (as shown in the image attached). But I see in debug mode that the authenticate method of the RemoteDirectory implementation does return a valid User object (of type com.atlassian.crowd.model.user.User) with all its property values filled in.

Does anyone have any idea what may be the cause?

Thanks!

Rizwan

![CrowdTestViaJira.JPG](/t5/image/serverpage/image-id/1294i3872C603B2797486/image-size/large?v=v2&px=999 "CrowdTestViaJira.JPG")


Answers:
author: Rizwan Basha
body: This issue is resolved. There was nothing wrong in implementation code. The problem was in Application configuration in Crowd. In the definition of Jira application in Crowd, Directories tab, there is a column titled "Allow all to authenticate". The value in this column for my custom directory was accidentally False. I had to changed it to true in order to resolve this issue.

comments: author: AnnWorley
body: Thanks for letting us know the resolution, it could help someone else in the Community.


author: Rizwan Basha
body: Sure, no problem.

Now I am facing another problem as stated in another question: [Remote Crowd directory test successful, yet user fails to authenticate](https://community.atlassian.com/t5/Crowd-questions/Remote-Crowd-directory-test-successful-yet-user-fails-to/qaq-p/589134#M2087). Can someone from Atlassian team please reply if you guys have any idea about this.

Thanks!


Tags: authentication
can't start Crowd from system user - have to use root user
Asked by Kris W:

I can't start Crowd from a system user. I have to use the root user.

I've followed the instructions here:

<https://confluence.atlassian.com/display/CROWD027/Setting+Crowd+to+Run+Automatically+and+Use+an+Unprivileged+System+User+on+UNIX>

but it doesn't actually start when I type ./start_crowd.sh as a system user.

If I'm not logged in as root, when I type ./start_crowd.sh, it LOOKS like it starts:

Using CATALINA_BASE: /home/myacct/apps/crowd-install-2.12/apache-tomcat  
Using CATALINA_HOME: /home/myacct/apps/crowd-install-2.12/apache-tomcat  
Using CATALINA_TMPDIR: /home/myacct/apps/crowd-install-2.12/apache-tomcat/temp  
Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-0.b11.el6_9.x86_64  
Using CLASSPATH: /home/myacct/apps/crowd-install-2.12/apache-tomcat/bin/bootstrap.jar:/home/myacct/apps/crowd-install-2.12/apache-tomcat/bin/tomcat-juli.jar  
Using CATALINA_PID: /home/myacct/apps/crowd-install-2.12/apache-tomcat/work/catalina.pid  
Existing PID file found during start.  
Removing/clearing stale PID file.  
Tomcat started.

... but if I then type

ps faux \| grep java

there's nothing listed, and Crowd doesn't respond when I try to load it in the browser.

If I run ./start_crowd.sh as root, then run ps faux \| grep java , I DO see it in the output, and I can access it from the browser.

What can I check or try to get Crowd to run from a user that's not root?

((By the way, I accidentally hit Tab while typing this and ended up on the previous page, having lost everything I'd typed. Can you add a "sure you want to leave this page?" prompt so people don't lose their questions?)


Answers:
author: Nic Brough -Adaptavist-
body: The usual culprit of this is file ownership. Once you've accidentally started it as root, some files become owned by root, and that stops the dedicated user from being able to write to them.

Check the file ownership across the whole installation and home directories.

comments: author: Kris W
body: HI Nic,

Thanks so much for the quick reply.

However, I confirmed that nothing is owned by root:

ls -lR crowd-install-2.12/\* \| grep root  
ls -lR crowd-home/\* \| grep root

<br />

- both return no results.

But when I tried again, Crowd acts like it starts when run as non-root, but doesn't actually appear in the ps , and I have to start it as root.

Can you suggest anything else to check?

Thanks.


author: Nic Brough -Adaptavist-
body: They could be owned by another user than root. Sorry, I should have been more clear about that.

After checking that, move on to the log files - what do catalina.out and the confluence log say happens when it fails to start?


Tags: permission
How do I fix error 1GSHKXL when exporting in Jira Assets?
Asked by Jennifer Beatty:

I am trying to export objects from my Jira Assets Schema. I have never had this error before. ![Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/341560i4AD937BEE134AB22/image-size/large?v=v2&px=999 "Capture.JPG")


Answers:
author: Trudy Claspill
body: Hello [@Jennifer Beatty](/t5/user/viewprofilepage/user-id/5323062)

As noted in the message you will need to contact Atlassian support if the problem persists. Your Jira Administrators can open a support case at <https://support.atlassian.com/contact/#/>

That code is really just a tag that is added into the log files to help Atlassian find the messages in those files that were written at the same time the problem occurred.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to proceed
Asked by Gurleen kaur:

How to proceed this products


Answers:
author: Vibhu Agarwal
body: HI [@Gurleen kaur](/t5/user/viewprofilepage/user-id/5567555) ,

Welcome to the esteemed community.

If you're here to learn about the Atlassian products, i would suggest to go through some self paced learning paths provided by Atlassian itself that too free of cost.

You can find these here - <https://university.atlassian.com/student/collection/850385-learning-paths>

additionally you can also refer this guide if you're particulary starting in Jira, the link is - <https://www.atlassian.com/software/jira/guides/getting-started/introduction#what-is-jira-software>

I hope these will help you get a better understanding about the products here.

Happy learning.


author: Rishabh Jhawar
body: Hello [@Gurleen kaur](/t5/user/viewprofilepage/user-id/5567555) ,

Welcome to the Atlassian Community.

I understand you are referring to Jira Service Management. Please elaborate your query about the same.

Regards,

Rishabh


Tags: jira-service-management

jira-service-management-unknown-hosting-type

jira-software

unknown-hosting-type
Within "Resolution code", I seem to have duplicate of some of the fields.
Asked by Rajan Dangol:

Within "Resolution code", I seem to have duplicate of some of the fields. I would like to understand why I have duplicates.

![Resolution code.png](/t5/image/serverpage/image-id/341545i9D9B0A478E10D107/image-size/large?v=v2&px=999 "Resolution code.png")


Answers:
author: Marc - Devoteam
body: HI [@Rajan Dangol](/t5/user/viewprofilepage/user-id/5527757)

Did you create a JSM site only?

If you did, this is a bug that you encoutered, [JRACLOUD-79002](https://jira.atlassian.com/browse/JRACLOUD-79002)

Work around is to simply delete the duplicate resolutions


author: Dexter de Vera
body: Hi [@Rajan Dangol](/t5/user/viewprofilepage/user-id/5527757) ,

If you want you can just delete the duplicate name by clicking delete. There will be a confirmation that allows you to change the related issues to another resolution.

Hope it helps.

Thank you!


author: Rebekka Heilmann _viadee_
body: Have you started fresh in Cloud or migrated from Server/Data Center?

Have you imported projects or issues at some point?

comments: author: Rajan Dangol
body: Started fresh in cloud and nope it has not been imported projects/issues.


author: Rajan Dangol
body: I think maybe these are used in Change and Service Request? Possibly?


Tags: cloud

jira-service-management

jira-service-management-cloud
Customizing Customer Satisfaction
Asked by James Nelson:

I have a team that wants to do more customizing of the Customer Satisfaction survey. They'd like to adjust the number of options for the user to select from (default only allows 1-5 with no ability to change the labels), and maybe having 2 or 3 questions. Has anyone made changes like this before, or has suggestions for add-ins that do this?


Answers:
author: Fabian Lim
body: Hi [@James Nelson](/t5/user/viewprofilepage/user-id/5428972)

You will need a third party plugin unfortunately.

Here are a bunch of options for you: [https://marketplace.atlassian.com/search?hosting=cloud\&product=jira-service-management\&query=survey](https://marketplace.atlassian.com/search?hosting=cloud&product=jira-service-management&query=survey)

Regards,

Fabian


Tags: cloud

jira-service-management

jira-service-management-cloud
Smart Value {{worklog.comments}} not working?
Asked by Fox Campbell:

Hello community, anyone have suggestions or could confirm that the smart value {{worklog.comments}} is not working within Jira Cloud? I've run multiple tests and the resulting email always is blank where the smart value should be for worklog comments (other smart values work fine), and I'm seeing no errors in the audit log. Please see my attached photos for further clarification. Thanks in advance!

![Screenshot 2024-08-13 at 9.26.16?AM.png](/t5/image/serverpage/image-id/341510i9FF0F2DB4CC4B652/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 9.26.16?AM.png")![Screenshot 2024-08-13 at 9.26.30?AM.png](/t5/image/serverpage/image-id/341512iF03AF3ED0B8A1ECA/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 9.26.30?AM.png")![Screenshot 2024-08-13 at 9.26.00?AM.png](/t5/image/serverpage/image-id/341513i9EC93D197F1DB513/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 9.26.00?AM.png")![Screenshot 2024-08-13 at 9.43.32?AM.png](/t5/image/serverpage/image-id/341514i581F31F007C882AD/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 9.43.32?AM.png")

Bonus: Does anyone know if there is a URL path in Jira Cloud that directs a user directly to the Worklog "tab" in the Activity section of a ticket? As far as I know every path to a ticket always pulls Comments/whatever "tab" the user was last using. I know you can copy the direct link to a specific Worklog ID but that's not something you can generalize and automate around :)


Answers:
author: Mikael Sandberg
body: Hi [@Fox Campbell](/t5/user/viewprofilepage/user-id/5567392),

Welcome to Atlassian Community!

[{{worklog.comment}}](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--worklog--) should work. {{worklog.comments}} is not a smart value that can be used.

And regarding you bonus question, the answer is no, there is no URL that would take you to the worklog tab.

comments: author: Fox Campbell
body: That worked! Thanks [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)

Looks like someone within Atlassian needs to update the Smart Value search within the app as it has the invalid {{worklog.comments}} listed.

![Screenshot 2024-08-13 at 10.02.20?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/341516i205E7A64A1420EF9/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 10.02.20?AM.png")![Screenshot 2024-08-13 at 10.03.43?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/341517iA58F4B5A423F283D/image-size/large?v=v2&px=999 "Screenshot 2024-08-13 at 10.03.43?AM.png")


Tags: cloud

jira-cloud

jira-service-management

jira-service-management-cloud
Email Notification is not receiving to Reporter after commenting(Publicly) on a ticket by Asignee or
Asked by Dinonath Khan:

![Screenshot from 2024-08-13 19-14-20.png](https://community.atlassian.com/t5/image/serverpage/image-id/341507i1F991E270BE6A104/image-size/large?v=v2&px=999 "Screenshot from 2024-08-13 19-14-20.png")![Screenshot from 2024-08-13 19-14-49.png](https://community.atlassian.com/t5/image/serverpage/image-id/341508i93D52B5BAB0349C8/image-size/large?v=v2&px=999 "Screenshot from 2024-08-13 19-14-49.png")![Screenshot from 2024-08-13 19-15-03.png](https://community.atlassian.com/t5/image/serverpage/image-id/341506iD0584D4C13BF75C0/image-size/large?v=v2&px=999 "Screenshot from 2024-08-13 19-15-03.png")![Screenshot from 2024-08-13 19-15-32.png](https://community.atlassian.com/t5/image/serverpage/image-id/341509iEA5585B2D26D2355/image-size/large?v=v2&px=999 "Screenshot from 2024-08-13 19-15-32.png")

Hey There,  

We are encountering an issue with the "Email Notification - Once Commented (Public Comment)" feature in Jira Service Management. Specifically, customers and reporters are not receiving notifications when a public comment is added by the assignee. However, email notifications are functioning correctly for other events, such as when a ticket is created via email request or when the ticket status is updated to "Completed." For your reference, I have attached a screenshot illustrating the issue.


Answers:
author: Florian Bonniec
body: Hi [@Dinonath Khan](/t5/user/viewprofilepage/user-id/5487871)

Does it happen with all your customer or just some of them ? Configuration seems right.

Regards

comments: author: Dinonath Khan
body: Hi [@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589)

While some customers and reporters are receiving notifications for public comments added by the assignee, others are not receiving these notifications.


author: Dinonath Khan
body: Hi [@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589) ,

Could you please address what can be the issue

It will very helpful


author: Florian Bonniec
body: If in some use case they some receive the notification but for some other they do not, I would guess it could be an issue on the mail server side with the notification being added in the spam folder.

Also exclude person who cause the issue is checked so they will not receive it if they added the public comment.

Regards


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I amend "Resolve this issue" form?
Asked by Rajan Dangol:

How can I amend "Resolve this issue" form? I would like to add another category below issue.

See attached.

![resolve issue form.png](/t5/image/serverpage/image-id/341536i6D0BF872AC641640/image-size/large?v=v2&px=999 "resolve issue form.png")


Answers:
author: Dexter de Vera
body: Hi [@Rajan Dangol](/t5/user/viewprofilepage/user-id/5527757) ,

That is a transition screen, You can check that screen by going to the workflow, click the transition "Resolve this issue" and then click the associated screen.

Hope it helps!

Thank you.

comments: author: Rajan Dangol
body: Hi Dexter,

Thanks. Can i add custom field created into this? Or can I create dropdown there? Its asking me Property Key and value. Not sure where I can find this info.


author: Dexter de Vera
body: Do you mean you want to add a field in that transition screen? Yes just go to the screen then add the field. If you haven't yet created a custom field dropdown - go to jira administrator setting - issues - custom field - then create a custom field with type select list (single choice)

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


author: Rajan Dangol
body: Thanks


Tags: cloud

jira-service-management

jira-service-management-cloud
Multiple Fields linked to one Jira Field
Asked by Christian Sch?ll:

I would like to link several fields to the summary so that they appear one after the other in the Summary field. Is that Possible?


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

Yes, you can do that with an automation rule. Create a rule based on an Issue Created trigger.

Add any conditions needed to specify only the issues that this update should happen to.

Then add an action for Edit Issue. In the Summary field box put in smart values like:

{{issue.summary}} - {{issue.Field One}} - {{issue.Field Two}}

This will update the issue to use the original summary of the issue then add on the values of a couple of other fields. Just change out Field One and Field Two with the exact field names (including case) of the fields you want to add.


Tags: jira-service-management

jira-service-management-unknown-hosting-type

unknown-hosting-type