youngmon/atlassian-qna huggingface dataset:
Headless Restore from XML using cURL
Asked by Bradley Reimers:

I am a developing an automated deploy/test workflow that evaluates various applications (run in docker containers) against our company's internal requirements.   

This workflow is tied to the release page RSS feed, and runs each time a new version of Crowd is available.  

Essentially, my requirements are to bypass the setup wizard and have a way to restore from an XML backup without a user ever needing to interact with the UI.   

I have made some progress using cURL, but get a token error on the request and a 'parameter name blocked' warning in the logs.  

Anyone done this successfully?  

Thank you!


Answers:
author: Dawid Owoc
body: Hello [@Bradley Reimers](/t5/user/viewprofilepage/user-id/4194229)

Making POST requests using curl to automate Crowd's setup flow sounds like a good plan.

The token error you're referring to is most probably **atl_token** that is normally passed with a form data when you submit a form in each setup step using your web browser. This token prevents XSRF.

In your POST requests from curl, you can disable verification of this token by adding a following header:

```
X-Atlassian-Token: no-check
```

**Disclaimer:** possibility to disable token verification by adding this header does not allow XSRF because browsers do not allow adding additional headers to POST requests which they make when you submit a form. XSRF is also not possible for cross-origin AJAX requests because of CORS.

When comes to *parameter name blocked*message in the logs, it's not related to the aforementioned XSRF token. This log entry is raised when you make a request which contains a query parameter that does not match a following regular expression:

```
[a-zA-Z0-9_]+
```

You shouldn't need to pass such query param. Could you share with us what parameter is causing that? The parameter's key should be visible in the logs.

Here's an example POST request using curl to submit the first setup step (License):

```
curl -XPOST -H 'X-Atlassian-Token: no-check' --data-urlencode "sid=${SERVER_ID}" --data-urlencode "key=${LICENSE}" 'http://localhost:8095/crowd/console/setup/setuplicense!update.action'
```

Where:

* ${SERVER_ID} - Crowd's server ID. It can be obtained from ${CROWD_HOME}/shared/crowd.cfg.xml
* ${LICENSE} - your Crowd's license key

Next steps in the setup flow can be submitted analogically.

Best wishes,  
Dawid Owoc (Junior Developer at Atlassian)


Tags: automation

crowd-administration

server
What kind of data Crowd stores.
Asked by ???-A:

I would like to know what kind of data Crowd stores.

ex) 1. ID, 2. Password....

and is this data encrypted?  

Ask for your advice. thank you


Answers:
author: Nic Brough -Adaptavist-
body: It stores all the data you need for managing user accounts, so yes, usernames, names, email, groups, and so-on.

Obviously, no-one in their right mind stores passwords (although you might be horrified to find out who does and how many there are!), Crowd is no exception, it keeps the password hash.

The data can be encrypted - that's up to the database behind it though, not Crowd itself.
Crowd service not working
Asked by Dave Mattinson:

I installed Crowd 4.2.2 using Java 11, which seemed to work fine. I set it as a service with

service install crowd

that seemed to work and I added a few local users, which appeared OK. After the following reboot the service failed to start and the only item in the event log failure is "Invalid argument" and nothing is updated in any of the logs (no indication of files being accessed, never mind being written to).

The initial log had a lot of Java messages, but as far as understand it that is normal.

Any clues what has gone wrong?

I can no longer start it manually. I could initially.


Answers:
author: Patrick Smith
body: Any update on this issue? I too am having Crowd start as a service automatically

comments: author: Dave Mattinson
body: <https://confluence.atlassian.com/crowd/installing-crowd-and-crowdid-191862.html>

And follow all the instructions. Particularly the renaming 64-bit binaries.

It would be nice if there was an installer that did it all for you, but the inconsistency of the At installers is an irritation anyway.


author: Patrick Smith
body: Thanks David -

I have tried that (renaming to use with the java 64bit binaries, but still does not work)

I have 64 bit Java (JDK8) installed and my JAVA_HOME pointing to the correct directory.

I had this working on earlier versions of crowd, but now that we had to migrate to Data Center from Server, it does not work. Not sure if anyone else has this working????

Any other suggestions would be greatly appreciated. Even tried 32 bit java, no dice

Vr

Patrick


author: Dave Mattinson
body: You did use forward slashes in your crowd.home setting, e.g. crowd.home=D:/my/crowd

It is known that 32-bit binaries don't work in 64-bit windows so no point to that.

I believe I used JDK11.

That's all I can pick out of my notes.


Tags: server
Can you have multiple crowd instances for the same atlassian instances?
Asked by P:

Meaning can we have two crowd instances used to authenticate against one jira instance?

We just had an outage and I'm trying to think of a way to not have my current crowd server be a single point of failure.

Is this something that can only be done with the datacenter version.

Or can I just standup another instance.


Answers:
author: Nic Brough -Adaptavist-
body: Yes and no.

The answer to the title question is yes - you could have several Crowd servers, each one providing a list of users (and groups, and user attributes etc) to one Jira/Confluence/Bitbucket/etc

But the short answer to the body of the question is "no". If you created three Crowd servers, and then added "Rob" and "Nic" to all three of them, with the same login, email, location, inside-leg-measurement and so-on, then your Jira would see six different users, two per directory. You could then do some clever stuff with alisasing, but you'd have to do it for every user, and groups wouldn't support it.

This is not a solution for resilience.

Crowd Data Center is the solution for reslience - it will look like one directory, and if one of the nodes dies, the others will carry on providing that single directory with a single list of non-duplicated users.

comments: author: P
body: Thanks for explaining my options.


author: Craig Castle-Mead
body: Hey Rob,

The answer from Nic doesn't quite align with my experience (and we massively rely on Crowd). If you had two crowd servers connected to Jira, a user will be synced and authenticated from the first directory that the username exists in, there's a connection timeout for each directory as well, so if first.last@domain.com is in the top 2 directories, directory 1 is attempted, if the timeout is reached, it'll move on to directory 2.

As for group memberships, if a the same username is in GroupA in directory 1 and GroupB in directory 2, JIRA will place that user in GroupA and GroupB.   

Even though you may be able to improve your resiliency with a multi crowd instance approach, I'm with Nic, invest in doing it "properly" using Crowd DC in a multi node approach. Crowd is critical to every piece of our Atlassian stack and since we love to DC our uptime has been \~ 99.99% - the downtime we do get generally comes from the VPNs of DCs that Crowd relies on to pull its users from, and that's not Crowds fault.

CCM


Tags: server
Where the draw.io diagrams are being stored?
Asked by Ali Moeen:

Hello,

I added Daraw.io diagrams to confluence pages.

Is there a location or way for me to see the list of Draw.IO diagram files I created?

Can I edit my Draw.io diagrams outside the pages that include them assuming I can find the drawing file?

Thank you,


Answers:
author: MJ Valencia (draw.io)
body: Hi Ali!

Great question... While there isn't a dedicated spot to view all your draw.io diagrams, you can search for them in Confluence. If you use the search function and filter by "Created by" (your username) and "Type" as draw.io Diagrams, you will only see the diagrams you've created, making the search more precise. You can also look up attachments, but filtering by "draw.io Diagrams" is much more accurate.

As for editing outside the page, you'll need to do it within Confluence on the page where the diagram lives, as they're tied to the page itself.

Hope that helps! Let me know if you need anything else :)

MJ


author: David Benson _draw_io_
body: Each space has a "draw.io diagrams" section that lists all diagrams on that space:

![Capture d?e?cran 2024-09-18 a? 20.23.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/348010i7D0BFBEE90CA113E/image-size/large?v=v2&px=999 "Capture d?e?cran 2024-09-18 a? 20.23.36.png")

That's under "apps" in the left-hand panel (my interface is in French).

Clicking that shows a list of all diagrams in that space. Any diagrams that are stored in that space will show an "edit" to the right-hand side"

![Capture d?e?cran 2024-09-18 a? 20.24.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/348011i286BF74407EEF83C/image-size/large?v=v2&px=999 "Capture d?e?cran 2024-09-18 a? 20.24.02.png")


Tags: cloud

confluence

jira-service-management-cloud
Import users JSON doesn't work
Asked by Gabe Cz:

Importing json using following json, only imports Name as test test, the email address, the public name is [@Test Test](/t5/user/viewprofilepage/user-id/70279), and it adds the user to 2 other groups and 1 other product, and gives part-admin rights as well. but what it does matters little to not at all for it imports my json not as expected.

```
{
"users": [{
? ? ? ? "name": "thisisusername",
? ? ? ??"groups": ["jira-servicemanagement-customeronly-mycompany"],
? ? ? ??"active": true,
? ? ? ? "email": "test1@yahoo.com",
? ? ? ? "fullname": "Full Name"
? ? }
}      
]
```

The mentioned group gives customer access only which is the whole point, and to one product only.


Answers:
author: Anusha A
body: Hi Gabe,

Thanks for your question on community.

It appears that you've submitted a support ticket regarding this inquiry. Our team will respond shortly with an update.

Have a good day ahead!

Regards,

Anusha A


Tags: cloud

import

jira-service-management

jira-service-management-cloud

user

user-group
Does anyone have issues with an incomplete vertical scrollbar in issue view?
Asked by Sue Lund:

Atlassian Support wasn't able to recreate this, but I have users experiencing it (Windows 10 \& 11 and in Edge and Chrome).  
When opening a ticket, from filter results only, the internal vertical scrollbar is incomplete. I can't see the bottom of it. This doesn't happen from a queue, or when you do a single ticket search - only when opening it from a filter. Other users have it happen where it is missing from the top.  
Does anyone know why this happens?  

![Scrollbar from filter.png](/t5/image/serverpage/image-id/347841iC2D5B18DF34EF88A/image-size/large?v=v2&px=999 "Scrollbar from filter.png")

Otherwise, it's fine:  
![Scrollbar from search.png](/t5/image/serverpage/image-id/347842i0736C48D227F89DC/image-size/large?v=v2&px=999 "Scrollbar from search.png")


Answers:
author: Sue Lund
body: The new issue search view does not exhibit the same problem, so we are directing users to use that.


author: Dan Breyen
body: Hi Sue, what is your zoom level of the browser and your Scale of your monitors. I've seen strange things like that happen when the zoom level isn't 100%.

Apps are usually tested at 100%, and GUI issues can happen because they're not tested if the GUI is setup for different zoom levels.

Hope that helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
??[JSM Cloud] Attachment validation in transition
Asked by Dario Alarc?n:

Hello Community, I need your help with the following problem. In my project, I need to configure the workflow so that when transitioning from one state to another, it is mandatory to attach a file to the issue. I understand that this must be done through a transition validator, I have already added it but it does not work for me, I think I am missing something for it to work successfully.

![Screenshot 2024-09-17 143248.png](/t5/image/serverpage/image-id/347802iC74A7DE311C7D88D/image-size/large?v=v2&px=999 "Screenshot 2024-09-17 143248.png")

![Screenshot 2024-09-17 142527.png](/t5/image/serverpage/image-id/347803iA10E1A769FEEC649/image-size/large?v=v2&px=999 "Screenshot 2024-09-17 142527.png")

I look forward to your comments, thank you very much! ??


Answers:
author: Fabian Lim
body: Hi [@Dario Alarc?n](/t5/user/viewprofilepage/user-id/5307057)

Is this a validation that you want to put from the portal or when you are in your JSM project as an agent?

Thanks,

Fabian

comments: author: Dario Alarc?n
body: Hi [@Fabian Lim](/t5/user/viewprofilepage/user-id/3131564)   
This validation is for when I'm in JSM Project as an agent.

Thanks.


author: Fabian Lim
body: Hola Dario,

Here is your workaround: <https://jira.atlassian.com/browse/JRACLOUD-74046>

You will be better of with other workflow plugins like JMWE.

Saludos


author: Dario Alarc?n
body: Hi [@Fabian Lim](/t5/user/viewprofilepage/user-id/3131564)

So from what I understand, the solution is to create a screen and add it to this transition? I prefer to do it with Jira's native options instead of installing plugins.

<br />

Thank you very much for your collaboration! ??


author: Maciej Dudziak _Forgappify_
body: Hi [@Dario Alarc?n](/t5/user/viewprofilepage/user-id/5307057)

I am from Forgappify, and we developed **Fields Required Validator** , which is part of the [Workflow Building Blocks for Jira,](https://marketplace.atlassian.com/apps/1233642/workflow-building-blocks-for-jira?hosting=cloud&tab=overview)that will work for your case.

If you are looking for more options to validate the Attachment field, you can use our Jira Expression Validator, which allows you to inspect the attachment's file name, mimeType, size, author, and even creation date.

I am leaving a link to our [expression library](https://docs.forgappify.com/workflow-building-blocks-for-jira/jira-administrator/jira-expressions-library#attachments)in case you are interested.

I hope it will help.

Cheers


Tags: cloud

jira-service-management

jira-service-management-cloud

transition

validator

workflow
AWS Security Hub findings not syncing
Asked by Brandon Elie:

Would it be possible to get assistance syncing AWS Security Hub to our Jira instance?

So far we've set up

* AWS
  * Service Catalog (no products though)
  * Security Hub and Config
  * IAM Users and Access Keys for Jira Connector to use, with IAM policies per the docs
  * SQS Queue per doc
* Jira
  * Installed the Connector app from Marketplace
  * Configured the Connector app to connect to my AWS Account, as the "Admin" IAM user, in the region where everything's configured, with "Test connectivity" passing OK

Do you know if we're missing a step?


Answers:
author: Steffen Opel _Utoolity_
body: You have not mentioned important steps on the Jira side:

* Configure the 'Connector settings' (2nd tab after 'AWS accounts')
  * Select the enabled connector features
  * Add and configure a Jira project to receive the findings
  * Select the Security Hub severity levels to synchronize
  * Verify the SQS queue name matches the one provisioned in AWS (should be the case by default)
  * Associate Jira projects with AWS accounts


Tags: cloud

jira-service-management

jira-service-management-cloud
JSM Portal not assigning to reporting customer
Asked by erika:

We have a portal for our JSM instance which anyone can access. When the issues are created the reporter defaults to our site admin, instead of the email of the user (required field for submission). How can I change the reporter to be the customer instead of our site admin?

I have looked at this request (<https://community.atlassian.com/t5/Jira-Service-Management/Auto-add-customers-to-Jira-Service-Desk/qaq-p/1321314>), which will allow me to auto create users who aren't already in the system, but that still won't fix the reporter issue.


Answers:
author: YY Brother
body: Hi [@erika](/t5/user/viewprofilepage/user-id/3152950)

Welcome to our Community.

The default reporter of a JSM ticket or service request is the customer. But the customer can't be the assignee of this ticket because only Agent or licensed users can be the assingees in JSM.

Thanks,

YY?

comments: author: erika
body: The default reporter for portal requests is our site admin not the customer for us. I want to change that so the customer is the default, but I don't know where.


author: YY Brother
body: Firstly, we need to analyze why your project doesn't behave as the default ones so that we can get the solution.

Is there any automation rule or workflow post function to make the org admin as the default reporter?


author: erika
body: I don't see anything in automation. Our workflows are simple; they are just transitions at the moment, so I don't see anything there either.


Tags: cloud

customer

customer-portal

jira-service-management

jira-service-management-cloud

reporter
Create issue with all incoming mails but limit access to Web Portal
Asked by Assistenza:

Good morning,

We are trying to achive this scenario: The customer writes us an email at the support@ourdomain.com asking for support, a jira issue/card is created as "email request" in the project and when the issue is updated, added a "customer comment", etc. the customer must receive a mail with the status update.

For the "special part":

* If the customer is not on a whitelist, he must not have access to the portal. He must not be able to register to the portal, view or open issues on the portal. The only way to communicate with us is by emails. (Which still needs to add comment to the ticket and, if we add comment, must write the email)
* If the customer is on a whitelist, he can have access to the portal.

Thanks


Answers:
author: Jim Knepley - ReleaseTEAM
body: I've never tried this, but you might get part of the way by:

* [making your portal invite-only](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-and-manage-help-center-access/#Set-up-invite-only-access-to-your-help-centers)
* [add a new customer with automation](https://community.atlassian.com/t5/Jira-Service-Management/Give-customer-access-to-the-portal-with-Automation/qaq-p/2413403)

It seems to work, but I would test it extensively.


Tags: cloud

jira-service-management

jira-service-management-cloud
Can I change the field: Type?
Asked by Eduard Ferran Mulero:

Can I change the field: Type of requirement from Epic to Change?

Thank you


Answers:
author: Nikola Perisic
body: Welcome [@Eduard Ferran Mulero](/t5/user/viewprofilepage/user-id/5594555) !

Can you please clarify what do you mean by changing the field from Epic to Change? Do you need to be using Change issue type instead of Epic?

comments: author: Eduard Ferran Mulero
body: Yes, exactly, I need to use Change type


author: Eduard Ferran Mulero
body: But I have already created the requirement


author: Nikola Perisic
body: You can always change the issue types of your project, by going to Project settings \> Issue types \> Edit. From here, you can define which issue types you will use.


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Locking down draft portals
Asked by Myles Boyd:

We are gradually migrating teams from our current tool to JSM; originally, we wanted to live, one project at a time.

I can't see an option to make project Draft, do I prevent customers seeing and accessing the draft projects, by setting Channel Access restricted under Customer permissions?


Answers:
author: Fabian Lim
body: Hi [@Myles Boyd](/t5/user/viewprofilepage/user-id/4266693)

That's correct, you are in the right track. Details: <https://confluence.atlassian.com/jirakb/limit-jira-service-management-project-visibility-to-customers-on-portal-779160886.html>

Regards,

Fabian

comments: author: Myles Boyd
body: Thank you Fabian; finally getting to grips with it


Tags: cloud

jira-service-management

jira-service-management-cloud
Connect multiple Jira Service Management sites to the same Slack channel as request channel?
Asked by Collin Bourgeois:

We recently migrated to Slack Enterprise Grid and, before doing so, we had a single Slack channel serving as a Request Channel for multiple JSM sites. If you requested a ticket within this channel, you had the option to choose the Atlassian domain and then which JSM site within that domain.

The agent channels are not an issue. I can go to their unique Slack channel, use the /invite Slack command, add Assist, and configure as an agent channel, choosing the Request Types to stream for new issues. I went into our public/common Slack channel, used the invite command for Assist, selected the "Request Channel" button, and am given a choice for which JSM site I want to connect to. I do not have the option to leave this blank to "choose all", so to speak. I selected the first JSM site, the appropriate request types, and connected. Now that it is connected, I am unable to use the invite command again as the bot is already in the channel. When I use the /assist setup command, I am told this channel is already configured. The Atlassian Chat page for the JSM site only allows me to create a new channel. When I enter the name of the existing channel, it says that channel already exists. When I go into

How do I make one Slack channel a Request channel hub for multiple Jira instances like I had before?


Answers:
author: Collin Bourgeois
body: Totally by chance, I did the following to trick this thing into working.

In the channel you want to make a request channel for multiple JSM sites:

1. remove the assist bot if already configured.

2. reinvite the assist app but do not configure.

3. use the /assist setup command in the channel to receive a unique message for making this an Agent or Request channel.

4. use the /assist setup command again to create another unique message for configuring as request or agent. Repeat this step for as many unique messages as there are JSM sites to connect as request channels.

5. once you have the requisite number of unique messages (we needed 3), I was able to select the Request option for each one and choose a different JSM site and the Request Types to associate.


Tags: atlassian-assist

cloud

jira-service-management

jira-service-management-cloud

slack
To Count the Percentage of SLA Breached tickets.
Asked by Amit_Kumar3:

I want to get the total percentage of SLA breached tickets in my dashboard. So, to achieve this, I am going forward to create report. when I try to make report and go to add series then I don't find the Ticket SLA % Breached while Ticket SLA % Met is existed in drop down.

Please assist or advice how to get the Percentage of SLA Breached tickets.

Thanks!


Answers:
author: Danut M _StonikByte_
body: Hi [@Amit_Kumar3](/t5/user/viewprofilepage/user-id/5594422),

Unfortunately Jira does not offer a gadget that allows you to calculate percentages based on custom formulas.

My advice is to search on Atlassian Marketplace for an app that offers a gadget that allows you to calculate counts and percentages based on custom formulas.

If you decide to use an app from Atlassian Marketplace, then our [Great Gadgets](https://marketplace.atlassian.com/search?query=stonikbyte%20great%20gadgets%20agile) app could be a good solution. By using its **Advanced Issue Filter Formula Gadget** you can easily calculate the percentage of Ticket SLA % Breached and display it on your dashboard.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/347931i7A45B6A9748E9235/image-size/large?v=v2&px=999 "image.png")If you want to give it a try, this is how the gadget should be configured:

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

Read more about this gadget in this article: [An effective dashboard for Service Desk and Customer Support teams in Jira Service Management](https://community.atlassian.com/t5/App-Central-articles/An-effective-dashboard-for-Service-Desk-and-Customer-Support/ba-p/2360369).

Danut.


Tags: cloud

jira-service-management

jira-service-management-cloud