youngmon/atlassian-qna huggingface dataset:
APP link between Crowd and Jira
Asked by herrault Lauris:

We have a problem of application link between JIRA and Crowd.  
Who make pbroblem with other atlassian application bitbucket, etc..  
In JIRA on the appplication link page I can't see my crowd connection but it's Hiden because when I try to add it, I have the message already registred.  
On crowd Side I have the Network Error with the message : consumer_key_unknown  
Same thing on Confluence but working on Bamboo and Bitbucket.  
message on jira logs :   
\[oauth.serviceprovider.internal.AuthenticatorImpl\] Problem encountered authenticating OAuth client for url "http://jira:8080/rest/applinks/latest/manifest", error was "consumer_key_unknown", with parameters "{oauth_problem=consumer_key_unknown}"  
DEBUG: JavaMail version 1.4.5

Thanks in advance for your help


Answers:
author: Andy Heinzer
body: Hi

I understand that you have an application link between Jira and Crowd, but are seeing a consumer_key_unknown OAuth error. This tends to indicate that there might be some level of corrupted data in either the Jira or Crowd SQL database, or both. Check out the KB [OAuth error oauth_problem=consumer_key_unknown](https://confluence.atlassian.com/kb/oauth-error-oauth_problem-consumer_key_unknown-720406729.html) It highlights the scenario I think you are seeing here, but its steps are geared for Confluence. As such you won't be able to follow the solution there, but it does help to confirm the idea that there is corrupt data here.

We would recommend deleting the existing application link from both applications to start with. That should be easily done from Crowd's side since it still appears there, however for Jira, since you do not see this in the application, you can do this by deleting it from the database.

In your case, please follow the steps in [Remove an application link from Jira server using SQL](https://confluence.atlassian.com/jirakb/remove-an-application-link-from-jira-server-using-sql-285839519.html) to remove this corrupted application link from the Jira database. Since this KB has you running delete commands against the Jira database, it would be best to

1. Stop Jira
2. Create a backup of the SQL database
3. Follow the steps in the KB,
4. Then start Jira again

From that point you should then be able to create this application link once more.

If you run into any problems with this, please let us know.

Andy
Use API to update group (like set active to inactive)
Asked by kamanwu:

I need turned on : Enforcing Lower-Case Usernames and Groups for an Application

I have a group called: "KamanTest".

Since I turn on "Enforcing Lower-Case Usernames and Groups for an Application", I recevied: 'kamantest.

Now I want to update it by using:

#### `PUT /rest/usermanagement/1/group?groupname=kamantest` {#toc-hId--686532212}

The error message is: Error: group name of updated group does not match the group name of the existing group.

`If I try:`

#### `PUT /rest/usermanagement/1/group?groupname=KamanTest` {#toc-hId-1800980621}

it works.

BUT basing on "kamantest", `I do not know the groupname is: KamanTest or KAMANTEST or something else.`

Is there any solution for this? Did I do something wrong?


Answers:
author: Gaurav
body: Hi [@kamanwu](/t5/user/viewprofilepage/user-id/252903),

As per the error message you reported, you are not allowed to update a group's name in Crowd.

Currently, Crowd doesn't allow to update any group's name.

You can only delete and re-create the group with a new name.

However, you can update other group attributes, but you need to have same name supplied in the body of the PUT request as well as in the query param (case insensitive).

Cheers!

Gaurav Agarwal

comments: author: kamanwu
body: Hello Gaurav,

Thanks for replying me. I think you misunderstand my problem.

I do NOT want to update group name. I just want to update group attributes (like set active to inactive).

As I said: I need turned on : Enforcing Lower-Case Usernames and Groups for an Application.

When turn on this feature, your API will all always send out the lower-case name. So, In my application, I ONLY know there is a group which name is: kamantest. I do NOT know the case-sensitive version of the group name.

When I send PUT request, I have to send "kamantest" in both query param and body. I cannot send the case-sensitive version (KamanTest) since my applicaton do not know it.

Thanks.


author: kamanwu
body: Is there anyone can help this problem?

Thanks.

comments: author: kamanwu
body: If this problem cannot be resolved, I have to turn off the flag: "Enforcing Lower-Case Usernames and Groups for an Application" Is there anyone can give me a confirmed answer?
Can you have different numbers of licences for different Atlassian products all managed from Crowd?
Asked by Joshua Rasbash:

Possible silly question but I don't generate the quotes for my organisation and I'm curious. Is it possible to have different amounts of licences for an Atlassian suite of products all managed from the same crowd instance. We currently have 50 licences for Crowd, JIRA, Bitbucket, Confluence and Fisheye/Crucible and we want to get more licences for JIRA and Confluence only. In the quote it would appear that the number of licences must be the same regardless of the product.

Is it possible to have an Atlassian setup which has 50 licences for Bitbucket and Fisheye/Crucible and 250 for JIRA/Confluence in order to not have wasted Bitbucket licences and reduce cost. All users would be managed from Crowd (which I imagine would have to have 250 licences as well).

Thank you :)


Answers:
author: Sebastian Krzewi?ski
body: Hi [@Joshua Rasbash](/t5/user/viewprofilepage/user-id/3602452)

Yes, you can have different licenses for each app. If you want manage all users by crowd you must remember (and you mention this) that crowd must have license such as the biggest of one of your apps.

In crowd you can create several applications that will serve specific users to applications or you can serve all crowd user database to all apps and grant permissions based on global permission.

And remember - there is no such thing like silly questions :)

Regards,

Seba

comments: author: Joshua Rasbash
body: Thanks for the clear answer :)
Need to add a comment field in CROWD records to add restrictions to users
Asked by Luis Quintero:

We are using Atlassian CROWD to manage our authentication to our applications. I need to be able to add a comment field in all users to annotate any restrictions that users have to this environment.

Can CROWD support user defined attributes to its screens?


Answers:
author: Gaurav
body: Hi [@Luis Quintero](/t5/user/viewprofilepage/user-id/734015) ,

You can store the custom attributes in Crowd, by navigating to the user view, and then the Attributes tab

![Screenshot 2019-10-17 at 15.11.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/69763iED922E16772FC60E/image-size/large?v=v2&px=999 "Screenshot 2019-10-17 at 15.11.10.png")
Can't configure a clone of Crowd - /crowd/console/ Not Found
Asked by Mario Staykov:

I'm attempting to create an instance of Crowd, mirroring its Live counterpart for our Testing environment. I've cloned the container and changed some few key configuration, as described below. The problem is that while the URL loads this test version of Crowd, clicking "Set up Crowd" gives the following error:

![Screenshot 2019-10-14 at 17.20.51.png](https://community.atlassian.com/t5/image/serverpage/image-id/69340iDE9542F6A75D07C3/image-size/large?v=v2&px=999 "Screenshot 2019-10-14 at 17.20.51.png")

The overall landing page looks oddly plain too, without nice-looking buttons and formatting, if that's any hint.

**Changes done since duplicating the container:**

1. Changed the hostname to test-crowd  
2. /var/crowd-home/crowd.properties to specify test-crowd instead of crowd  
3. /opt/atlassian-crowd-2.11.1/apache-tomcat/conf/server.xml to specify test-crowd instead of crowd  
4. /var/crowd-home/crowd.cfg.xml to specify a test database instead of the live one  
5. Modified pg_hba.conf on the test DB to allow test-crowd (this solved one error that was previously shown in catalina.out)  
6. Fixed owner of /opt/atlassian-crowd-2.11.1, which was different from Live

**Output of catalina.out:** <https://pastebin.com/GGiCrhPT>  
atlassian-crowd.log doesn't have a single line after the server was last stopped.  
I have also verified that crowd/console exists with correct permissions in /opt/atlassian-crowd-2.11.1/crowd-webapp/WEB-INF/classes/com/atlassian/crowd just as it does in Live.

Does anyone have any ideas what to check and why this Crowd clone doesn't fully work? Thanks in advance!


Answers:
author: Mario Staykov
body: In the end, even after strenuous comparison to similar resources that are served (such as the demo-webapp, located next to crowd-webapp), I couldn't find anything indicative of the problem.

I solved it by avoiding it - I just installed (simply unzipping and placing alongside) the newest version of Crowd 3.7.0 and this issue did not appear. Perhaps nobody has to deal with it unless they're running ancient versions :)


Tags: http-error
I can't login to CROWD after disabling "Require Consistent Client IP Address" in Session Configurati
Asked by Ranto Ralijaona:

Hello everyone,

After disabling "Require Consistent Client IP Address" in Session Configuration, I can't login to CROWD anymore. The login page is juste refreshing. If someone can help me please.

Thanks in advance


Answers:
author: Charlie Misonne
body: Just a quick guess: are you not getting any error in the browser when you try to login?

In that case you might have to clear your browser cookies and try again. It's a behavior I have seen when changing the cookie token setting but not the client IP address.
Very long error during Crowd database setup
Asked by Hardy:

Hello, I'm trying to install Crowd. While everything worked fine until the database setup, the database setup fails with this very long error:

The following required plugins are not available: \[com.atlassian.oauth.consumer, Applinks - Plugin - Core, com.atlassian.crowd.crowd-sync-feedback, Atlassian LESS Transformer Plugin, com.atlassian.oauth.serviceprovider.sal, Atlassian Crowd Frontend Plugin, Atlassian REST - Module Types, Crowd REST API, Crowd REST API - Application Management, com.atlassian.sal.crowd, Crowd Monitoring Plugin, jquery, Atlassian Plugins - Web Resources - Implementation Plugin, Atlassian Spring Scanner Annotations, Atlassian UI Plugin, Atlassian Plugins - Web Resources REST, Atlassian Template Renderer API, Atlassian Template Renderer Velocity 1.6 Plugin, Atlassian Spring Scanner Runtime, Atlassian Soy - Plugin, com.atlassian.oauth.consumer.sal, Applinks - Plugin - OAuth, com.atlassian.oauth.serviceprovider\]. See Crowd server logs for details. The setup process cannot continue until the problem has been solved. If you require further assistance, you can contact Atlassian support.

What happened, and how to fix it?

Thanks in advance,

Gerhard


Answers:
author: Elifcan Cakmak
body: Hello,

You can check Crowd application logs for detailed information as it says on the error but I found a very similar problem as yours:

<https://community.atlassian.com/t5/Crowd-questions/Crowd-Setup-Fails/qaq-p/1048247>

Here they say it might be caused by wrong JDK version. You can check which version you are using. If that's not the issue I suggest checking the logs, since it's a generic error.

Regards,

Elifcan
How do I create a login report?
Asked by Jamell Caswell:

Is there a way to create a report from Crowd that tells me what users have logged in?


Answers:
author: Kurt Klinner
body: [@Jamell Caswell](/t5/user/viewprofilepage/user-id/3580753)

Hi Jamell

<https://confluence.atlassian.com/crowdkb/list-the-last-login-date-for-all-users-in-crowd-218278872.html> provides you the sql statements to list the last login date for users

You should also have a look to Crowd 3.5 <https://confluence.atlassian.com/crowd/crowd-3-5-release-notes-973478342.html> as it has the centralized license visibility feature available

All the best

Kurt

comments: author: Jamell Caswell
body: Thanks Kurt!
How to get rid of a default login url with crowd
Asked by Isabelle Petoud:

Hi

I worked for a few days for a company and I had a google login. I do not have access to this account anymore. But now, each time I want to log in in You Tube I am redirected to the url of that company and cannot log in. How can I get rid of this default behavior and delete all links with this user and company?

Thanks a lot for your help

Regards


Answers:
author: Mirek
body: Where is the relation with Crowd here? Do you see a Crowd login page when accessing YouTube? Not sure if I understand the problem. Could you please clarify?

comments: author: Isabelle Petoud
body: Hi Mirek

Thanks for your reaction. I do not understand it either. I uploaded a screen shot but it seems that it did not work.

So I am in <https://www.youtube.com>

I want to sign in, so I click on sign in...

Then I am redirected to

<https://projects.netcentric.biz/crowd/console/login.action>

and the tab says "Atlassian Crowd - Login"

Netcentric is a company I worked for a few days and we stopped in bad terms... So the login does not work any more.

So the questions are: why I am redirected to their site? Where is this link stored? Why can't I change the user? and why is this crowd?

This is quite annoying because I cannot log in in youTube anymore...

Thanks a lot

Regards

Isabelle


author: Mirek
body: Did you tried to clear your browser cache and passwords? If not maybe you can check Incognito mode or check on a different browser?


author: Isabelle Petoud
body: Hi Mirek,

I thought of clearing all passwords but did not try. But thanks for your idea to use the incognito mode, it works perfectly.

Thanks a lot for your help and bringing a solution.

Kind Regards

Isabelle
For a given userid , is there a way to remove all the group membership through api ?
Asked by Sachin Ramaprasad:

Presently we have an api to remove user's group membership for a given group name but is there a way to remove membership for a given user ? This is especially required when you are automated 'deactivating users' but challenge lies in removing group membership. Without doing this , user would still appear in other atlassian tools group and I'm trying to eliminate this. Please suggest.

Thanks,

Sachin


Answers:
author: DPKJ
body: [@Sachin Ramaprasad](/t5/user/viewprofilepage/user-id/1386770)Take a look at this API - <https://docs.atlassian.com/atlassian-crowd/3.6.0/REST/#admin/1.0/users-addUserToGroups>

I think this is incorrectly documented, it removes user from multiple group.

comments: author: Sachin Ramaprasad
body: [@DPKJ](/t5/user/viewprofilepage/user-id/690016) , thanks for your response.

I tried this in two methods. First with using application credentials and then with local admin credentials. I got 401 \& 404 error respectively.

Does the admin call works on crowd server ?


author: DPKJ
body: [@Sachin Ramaprasad](/t5/user/viewprofilepage/user-id/1386770)they work, but not able to see how you got 401 or 404 response.

404 implies page does not exists.


author: Sachin Ramaprasad
body: From the above rest api doc, 401 is when user doesn't have permission to execute the operation and 404 is when user doesn't exist. In my case , both are invalid response as I'm using correct application and i have used crowd admin credentials.

Could you send me the query how you are using it in curl ? (feel free to exclude credentials)


author: DPKJ
body: [@Sachin Ramaprasad](/t5/user/viewprofilepage/user-id/1386770) I need to search for this, but I will get back to you.
Using automation rules to move an issue to a different project?
Asked by Bassel_Kharwat:

Hello,

Working on creating forms and rules for a ticketing system in my environment. Currently have all tickets submitted through specific forms be sent into one Project, currently used as a ticketing triage if you will. Would like to know if there is a way to move these tickets from the "triage" project directly to a different project. I notice there is a "Move issue to board", and there is an option in there that lets me select the board I want to send a particular set of issues too, does this mean they get moved into that project in which this board is a part of?

Thanks!


Answers:
author: Ryan M
body: Hi Bassel,

<br />

This functionality is more meant for Jira Software than Service Management. It's meant to move from the backlog to the board, or the reverse, not to move projects.   

Moving involves a lot of moving parts and selections and can't be automated as far as I know. Depending on which project it was going to and from it would have many different requirements.

<br />

What you could try instead is to clone the issue to a new project and either close the current one right away, or if you'd like to wait until the other one is finished you could link the tickets when creating the clone, and create another automation to close it when the new ticket is closed via automation.   

Hope this helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
JQL query to identify custom asset field with null value
Asked by JEFFREY SCHNEIDER:

As the title says - I have a custom asset field attached to my Epic and need to create a JQL to find all issue that have not been filled in - I'm not looking to query the asset object, only the empty custom field.


Answers:
author: Cristian IONESCU
body: Hi Jeffrey,

If you only want to apply this query to **Epics** or a specific issue type, you can modify the query by adding a condition for the issue type, like this (replace Custom Asset Field whit you field name):

**issuetype = Epic AND "Custom Asset Field" is EMPTY**

This will return all Epics where the custom asset field is empty.

Hope this helps.


author: Softwaretao
body: Hi,

I tried it in Jira data center using AI for Jira app and got JQL, you need to change the customfield_id:

customfield_10000 IS EMPTY

<br />

If you are using Jira cloud, you can also try directly with [Atlassian Intelligence](https://www.atlassian.com/platform/artificial-intelligence).

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


Tags: cloud

jira-service-management

jira-service-management-cloud
Change reporter and Reply to customer e-mail based on e-mail address from e-mail header
Asked by Jana Mandulov?:

Hi,

We are receiving e-mail requests from our customers created in our SW which are linked to our JSM project as Emailed request. The problem is that the sender e-mail address is noreply@ourSW.com. However, we have information about the specific customer in email header: user full name + their e-mail address.

When issue in our JSM project is created based on this e-mail request, the reporter is always noreply@ourSW.com. I need to set up Jira project to take information from the email header into the reporter field - the real customer data. If there is no option to set up the project in this way, could anybody help to set up some automation rule (we have the customer's e-mail address in the issue description as well).


Answers:
author: Ryan M
body: This isn't currently possible, but there is a suggestion you can watch/vote on for this functionality here for notification settings <https://jira.atlassian.com/browse/JSDCLOUD-4920>  
and here for automation being able to access email headers <https://jira.atlassian.com/browse/AUTO-1062>  

<br />

For a solution that's possible now, I would suggest instead of having your software create and send an email, to instead utilize the JSM REST API and having your Software instead create tickets directly where you could set the reporter.   

Another solution could be to embed a service desk widget in your software if it's accessed via the web.


Tags: cloud

jira-service-management

jira-service-management-cloud
Microsoft Teams Assist App not raising requests
Asked by Ryan DePalma:

We've connected the Assist app in Teams to our Help Desk in Jira, and it was working before- but we made some changes to service requests and in order to push the changes, reinstalled the app in Teams. Now, every time we try to create a ticket with Assist, it comes back with "Something went wrong, and we couldn't raise a request from this message. Please try again."

The connection works as new tickets created from the web come through the Assist app, but am still unable to raise new ones.


Answers:
author: Manoj Gangwar
body: Hi [@Ryan DePalma](/t5/user/viewprofilepage/user-id/5587876) ,

Welcome to the Atlassian community!!

Check the workflow validator on issue creation if there is any field set as required which is added to the create issue screen.

The error appears because some fields are mandatory on issue creation.


Tags: cloud

jira-service-management

jira-service-management-cloud
Migrate Jira Service Management project from one instance to another
Asked by Saul Eduardo Valdovinos Gonz?lez:

Hello!

Currently I have a JSM project on a cloud instance, I need to move, copy or migrate this project to another cloud instance. What you want is for it to contain flows, custom fields, incidents, etc.

Is there a way to do this or what alternatives do I have to avoid having to create the project again and configure flows, fields, etc.


Answers:
author: Susan Waldrip
body: Hi [@Saul Eduardo Valdovinos Gonz?lez](/t5/user/viewprofilepage/user-id/5372226) , welcome to the Community, we're glad you're here!

In addition to [@Fabian Lim](/t5/user/viewprofilepage/user-id/3131564)'s suggestion, you might want to look at the JSM built-in migration utility at Settings (gear) \> System \> IMPORT AND EXPORT: Migrate cloud site to see if that would do what you need. If apps are okay to use in your org, you might also consider the marketplace app Revyz's [Data Manager for Jira](https://unmfinancialservices.atlassian.net/jira/marketplace/discover/app/io.revyz.jira-app.br.app), it is a backup/restore/clone app like Configuration Manager for Jira CMJ but the two probably have some different capabilities and one may suit you better than the other. Good luck!


author: Fabian Lim
body: Hi [@Saul Eduardo Valdovinos Gonz?lez](/t5/user/viewprofilepage/user-id/5372226)

Welcome to the community!

You can look into plugins in the marketplace and I recommend this one: [https://marketplace.atlassian.com/apps/1211611/configuration-manager-for-jira-cmj?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1211611/configuration-manager-for-jira-cmj?hosting=cloud&tab=overview)

Cheers,

Fabian


author: Luka Hummel - codefortynine
body: Hi [@Saul Eduardo Valdovinos Gonz?lez](/t5/user/viewprofilepage/user-id/5372226) and welcome to the community!

If you are willing to use a third-party app, you can try our app [Deep Clone for Jira](https://marketplace.atlassian.com/apps/1218652?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2807219). Deep Clone can clone projects, including the project configuration and schemes, and issues between Jira Cloud instances with its [Instance Clone](https://documentation.codefortynine.com/deep-clone-for-jira/instance-clone?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2807219) feature.


author: k_butkovska
body: Hi [@Saul Eduardo Valdovinos Gonz?lez](/t5/user/viewprofilepage/user-id/5372226),

<br />

If you're consolidating Jira projects, consider trying an [automated merging app](https://marketplace.atlassian.com/apps/1231592/consolidate-jira-projects?hosting=cloud&tab=overview).

You might find the Help Desk Migration service useful. Run a free Demo Migration to check if it aligns with your expectations.


Tags: cloud

jira-service-management

jira-service-management-cloud