youngmon/atlassian-qna huggingface dataset:
Bulk users disable via csv
Asked by DE GIORGI STEFANO:

Hi,

I should disable 100 provisioned users. I would like to postaman via csv.

Taking a cue from this article <https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-userid-delete>

I should do this:

PATCH

<https://api.atlassian.com/scim/directory/>{directoryId}/Users/{{userId}}

with body:

{  
"schemas":\[  
"urn:ietf:params:scim:api:messages:2.0:PatchOp"  
\],  
"Operations":\[  
{  
"op":"replace",  
"path":"members",  
"value":\[  
{  
"userId":"{{userId}}",  
"active": false  
}  
\]  
}  
\]  
}  
do you think this is correct?  
Thank you for your help


Answers:
author: Richard White _TechTime_
body: Hi [@DE GIORGI STEFANO](/t5/user/viewprofilepage/user-id/5087756)

Whether this is the best way to do this depends on your exact set up and what you are trying to achieve.

Assuming it is best to use the API - I think the path attribute can be removed from the JSON, as it is only required when updating a specific attribute or sub attribute.  

The userId should also not be in the JSON - otherwise you are essentially telling the directory to update the userId attribute to its current value(we only want to update the active attribute). The userId should be specified as you have indicated via the path parameter.  

Would be interested to understand your use case behind why exactly you need to do this.


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software-cloud

user-management
How do I embed issue collector to site?
Asked by Megha Khangarot:

I want to add Jira issue collector in my site and I am using angular . When i am running script in index.html file it is working but in component's html file the script is not working. I am not able to embed this on my site. Can you help me resolve this issue {#toc-hId--380275790}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Answers:
author: Brant Schroeder
body: [@Megha Khangarot](/t5/user/viewprofilepage/user-id/5468212) welcome to the Atlassian community

Can you please provide additional information as to what is not working? Are you seeing any loading errors when you inspect the page with developer tools.


Tags: cloud

jira-service-management

jira-service-management-cloud
Inconsistent Searching
Asked by Gary Williams:

Hi All,

I've spent time checking all my settings since when a JSM Customer does a search I found that the Confluence articles were not being returned.

Upon unlinking and linking the Knowledge base I done some further testing.

It appears that it is still inconsistent, so if I put in "laptop" I would get Request Forms and also Self -Help Resources. Then if I tried it again I would only get the Request Forms, then sometimes I got nothing. I done this going back and forth to the Search.

On another test I done the simple thing of entering "laptop", watching the URL with the search string now show q=laptop, then it would display as expected, but if I refreshed the web page the url search string stayed the SAME but the results were different.

We are yet to roll out JIRA \& CONFLUENCE, but this was a key selling point for us with our IT Support, seems a basic feature which doesn't want to play ball!!!!

Any suggestions or is this a bug?

Regards,

Gary


Answers:
author: Peter Farrell
body: Fwiw, we've had this bug before and had to submit a support ticket to have Atlassian re-index our Confluence DB -- cleared the problem right up.   

I would disagree with any advice leaning into adding labels -- this would be a huge UX regression. Any Wiki product with weighted searching (which Confluence has) should be able to ID results based on strings and page counts and return a reasonably correct series of hits.


author: Carla Ann Rowland
body: What are the labels on the confluence page? Laptop label on page fix it.


Tags: cloud

confluence

jira-service-management

jira-service-management-cloud
Not receiving Email Notifications
Asked by Krishtee:

Hello,

I am using Jira service management to create subtasks.

When I add a comment to the subtask ticket, email should be sent to the "Request Participants" and when they reply on the ticket, their comments should be added in the ticket on Jira.

The problem here is that the Request Participants are not getting any emails.

Any advise what should be done so that the Request Participants receive the emails?

Thanks.


Answers:
author: Tessa Tuteleers
body: Hi [@Krishtee](/t5/user/viewprofilepage/user-id/5221600) ,

request participants are a way to add (unlicensed) customers to a JSM request.   
Please confirm that you are talking about customers and ++customer++ notifications?

If so -\> a subtask is not available in the portal, it cannot be assigned a customer request type and as such you cannot interact with customers on it. If you want to do this you would need to do it on the parent request.

Hope this helps,

Tessa


Tags: jira-service-management

unknown-hosting-type
Jira automation how to find who make the change in asset
Asked by Roman Kern:

Hello everyone. I have a problem to send mail if automation won't run correct. I need to send to initiator (a person who made the change) email. The Send Mail Action returns:

##### [Send email](https://hlgat.atlassian.net/jira/settings/automation#/rule/18196139/428789520) {#toc-hId--1476809138}

Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty.  
the smart value for the initiator is empty too. Automation triggered by user (me) not from webhook or import. Even Import it would be me again.  
Do I need to active some options to get initiator for the automation trigger??

![initiator error.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/316015iAB0B1FED8AC1F2E7/image-size/large?v=v2&px=999 "initiator error.jpg")


Answers:
author: Tessa Tuteleers
body: hey [@Roman Kern](/t5/user/viewprofilepage/user-id/5442545) ,

you're right, normally the person who triggered the rule call always be used by smart value {{initiator}}.

However, sadly for asset update triggers, this smart value is not available.

If you need it you can do a REST call to the object history, and then parse the the user who did the latest change.

Documentation and steps can be found here: <https://confluence.atlassian.com/jirakb/how-to-automate-logging-of-asset-value-changes-external-to-assets-1207191427.html>

Hope this helps!

Tessa


Tags: asset-management

automation

cloud

jira-service-management

jira-service-management-cloud
Comment Template selection page jumps in Citrix - Windows environment
Asked by Markus Barbey:

Hi there,

since we updated to LTS version Jira Management 5.12.5 we have problems with template comments when running inside a Citrix environment - any browser. When selecting new template entry in dropdown box, the page jumps, making it almost impossible to it proper template entry.

To avoid this, we have to scroll down completely, before opening the template dropdown. After that, the issue is gone.

![2024-04-03 11_51_48-Clipboard.png](/t5/image/serverpage/image-id/316009iD48167915924213E/image-size/large?v=v2&px=999 "2024-04-03 11_51_48-Clipboard.png")

When performing same action in same browser version without citrix in a native Windows environment, anything's just fine.

Does somebody had the same issue and can provide a hint, how to solve this? We think, it has been introduced with latest update, ass comment section got pinned to page footer now. Somehow, citrix does not like that :-(

Best regards

Markus


Answers:
author: Markus Barbey
body: We are still having this issues with latest Jira/ServiceManagement Update. No Ideas?


Tags: citrix

data-center

jira-service-management

jira-service-management-data-center
Rest API enpoint for getting status object values
Asked by Oliver Wood:

Using Asset Rest API:

When i pull back attributes for an object type it returns me a list of attributes including the below:

"name": "Install Status",  
"label": false,  
"type": 7,  
"description": "",  
"typeValueMulti": \[  
"2",  
"8",  
"11"  
\],  
"editable": true,  
"system": false,  
"sortable": true,  
"summable": false,  
"indexed": true,  
"minimumCardinality": 0,  
"maximumCardinality": 1,  
"removable": true,  
"hidden": false,  
"includeChildObjectTypes": false,  
"uniqueAttribute": false,  
"options": "",  
"position": 6  
This is a status object and has the id values:  
"typeValueMulti": \[  
"2",  
"8",  
"11"  
\],  
How do i get the corresponding text values, is there an rest api endpoint to do this


Answers:
author: Oliver Wood
body: Ignore question found answer

`v1/config/statustype` brings back what i need


Tags: cloud

jira-service-management

jira-service-management-cloud

rest-api
?????????????????????A????????????????????????????????
Asked by ?????:

???

??????????????????????????????????????????????

??????????

??????????????????????A?????????????????????????????????

?????

**?????**??????????

**???????**:

?????????????A??????????????????

**??????**???????

????????????????????????????

?????????????????????????????????????

????????

???????????????????????????

??????

??????????

??????/??? ID ?????????????????????? -

10000/10008

???

????: PC

OS?macOS ver.14.4.1

????: Chrome

?????


Answers:
author: John Funk
body: ????? [@?????](/t5/user/viewprofilepage/user-id/5467847) - ?????? ???????????!

???????????????????????????????????????????????  
???????? A ??????????????????????  
?????????????????????  
???????????????????????????  
?????????????????????????  
??? ??????????????????????  
?????????????????????????????????????????????????????????????  
\`F?rudo-chi henk?' torig? nimotozuite jid?-ka r?ru o sakusei shi,\`tant?sha' f?rudo o shiy?

comments: author: ?????
body: ??????????

????????????????????????????????????????????

???????????????????????????????A?????????????????

???????????????????????????????

![????????? 2024-04-08 13.59.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/316871iF5DAD3061F73B50C/image-size/large?v=v2&px=999 "????????? 2024-04-08 13.59.33.png")

![????????? 2024-04-08 13.37.13.png](https://community.atlassian.com/t5/image/serverpage/image-id/316869i7882951AD1114FA3/image-size/large?v=v2&px=999 "????????? 2024-04-08 13.37.13.png")


author: John Funk
body: ?????????????????? ?????????????????? ???????????????Automation for Jira ???????????????????????????????


author: ??????????-??
body: ????????????

?????????????????


author: John Funk
body: ??????????????????????????????????????????????????????


Tags: cloud

jira-service-management

jira-service-management-cloud
Automation to change the Organisation based on Summary contents
Asked by Rebecca McMahon:

Hi,

We are looking to configure an automation to check tickets raised under a certain organisation and update the organisation based on contents of the issue summary. The purpose of this is to separate these specific tickets as they will contain sensitive information which should only be accessed by a single user, which we have created a separate Organisation for.

How I have set up the automation so far is:

**When**: Issue Created

**Condition:** Organisation = ABC Organisation ++AND++ Summary contains "call recording"

**Then:** Edit issue fields: Organizations

However, I've found the only options for editing the Organisation include clear contents, use from User email domain, or copy from issues - none of which allow me to set a specific Organisation.

Could anyone advise how we might be able to achieve this?

Thanks!


Answers:
author: Jakub Koc
body: From my understanding you would have to specify that specific Organisation before your rule starts or it would fail right away. I think you can use the customer field and that would be more suitable for your needs. Although if you want to experiment i recommend this thread: <https://community.atlassian.com/t5/Jira-Service-Management/Sort-Queues-by-Organisation/qaq-p/2268344>

As you mentioned Jira doesn't provide option to set specific Organisation by choosing it, eventually it could be possible by formatting json by advanced editing, maybe using that organisation.id would work.

<https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/>

{  
"update": {  
"organizations": \[  
{  
"set": {"organisation.name"}  
}  
\]  
}  
}  

Or something like that


Tags: automation

cloud

jira-service-management

jira-service-management-cloud
Is it possible to make my own "request type template"?
Asked by Jamien Price:

Hey all,

Our "team-managed project" has just had the new "create from template option appear when adding a new request type. When I choose it there's about 50 premade templates to choose from.

I desperately want to create my own template. Is this possible?

![image.png](/t5/image/serverpage/image-id/315917i74D2943F606CCFD4/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Ste Wright
body: Hi [@Jamien Price](/t5/user/viewprofilepage/user-id/5099182)

As in, add your own template to this list? Not at this stage unfortunately.

You can clone a Request Type? But I believe this setting is only available in Company-managed Projects at this point.

Ste

comments: author: Jamien Price
body: Yep, you're correct about cloning only being in Company managed. This team managed site I've inherited continues to bare rotten fruit.

I have \~20 fields I require on *every* request type. It would have been so nice to make a "default template" so any time we make a new request we could just use that so we know all RTs have the same base, but alas.

Thanks.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to force users to reply in Jira Software (cloud) and not via email
Asked by Cristina Santamaria:

We have just gone live with our Jira project, and people are replying to the Jira notifications. Which would be fine, except, each reply includes attachments that are not related to issues, for example, the Jira Logo gets attached, the "view issue" is an attachment.

Is there a way to restrict email replies. By that I mean, they have to go into the issue and add a comment, and if they want an attachment, they can add it?

fyi - we do not have any portal, just Jira Software

thank you for any advice you can provide.

Cristina


Answers:
author: Ste Wright
body: Hi [@Cristina Santamaria](/t5/user/viewprofilepage/user-id/805323)

I've moved this to the Jira Software section :)

---

As for stopping users from commenting via email, there's no native setting for this as far as I know. You *might* be able to modify the mail handler, but this could impact other functionality.

Is it possible to encourage teams to use Jira as part of your change management strategy? I find the human approach is a good option when trying to increase activity - clarifying why it's important to use the platform, providing training, and visualising what's in it for them :)

Ste

comments: author: Cristina Santamaria
body: thank you Stephen, right now we are trying to go the "Training/human approach" but the temptation to just reply by email is always going to be there.

yes, I don't want to try to modify the mail handler, as it could impact other functionality, that was my fear as well.


author: Ste Wright
body: Hi [@Cristina Santamaria](/t5/user/viewprofilepage/user-id/805323)

I'd stick with the training approach - it does take some time, but it's likely the most optimal solution in this instance.

Ste


Tags: jira-cloud

jira-service-desk-cloud

jira-service-management-cloud
Hiding the "None" option for a Radio Buttons custom field was working but now is not, Why?
Asked by Tiffany Myers:

I have 2 radio button custom fields which we would like the "None" option hidden. I followed the instruction from this article:

<https://confluence.atlassian.com/jirakb/how-to-hide-the-option-none-from-select-list-single-and-multiple-choice-and-radio-buttons-custom-fields-1129680967.html>

It worked several days ago went we initially followed these instructions. Went back to enter an issue for testing yesterday and the "None" option was showing as well as the coding.

I tried deleting one of the custom fields and recreating it. Still is not working. We are using the "Create" button at the top of the screen to create new issues.

Any suggestions?


Answers:
author: Joseph Chung Yin
body: [@Tiffany Myers](/t5/user/viewprofilepage/user-id/5198992) -

Based on the article that you provided, did anything changed in the project's fields configuration scheme or did anything change in the global setting where ""Enable HTML in field descriptions and list item values" was disabled?

Also, in the reference link it also stated the following warnings. The first one that you need to verify if the screen has customization done via other tools?

![2024-04-02_15-14-44.png](https://community.atlassian.com/t5/image/serverpage/image-id/315878i2CC97C08FD38A638/image-size/large?v=v2&px=999 "2024-04-02_15-14-44.png")

Please advise.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Tiffany Myers
body: Thank you! Turns out that the "Enable HTML in field descriptions and list item values" was turned off. Not sure how or why that happened but it fixed it.

Tiffany Myers


author: Joseph Chung Yin
body: [@Tiffany Myers](/t5/user/viewprofilepage/user-id/5198992) -

Too many cooks in the kitchen case. You may want to check to see who are in your Jira admins group. It is because only Jira system admins can update the configuration at the system app level.

Best, Joseph


author: Tiffany Myers
body: [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739) Currently we are building this in our own development area. So, we are the admins and will be the admins of the instance this will be active on.

Thank you again!

Tiffany Myers


Tags: custom-field

data-center

jira-service-management

jira-service-management-data-center
Universal comments field
Asked by Paul Mosca:

Hi community

Currently running Jira v9.4.17

Id like to create a comments/running note field accessed by every Jira ticket which shows the same comments in every ticket - so its not a comment field specifically for that ticket/client or product.

Its a field that my team can update from any ticket they are on.

Not sure if Im making sense?

Paul


Answers:
author: Trudy Claspill
body: Hello [@Paul Mosca](/t5/user/viewprofilepage/user-id/4138326)

Can you tell us more about the use case for this, and the problem you are trying to solve?

comments: author: Paul Mosca
body: My team currently captures \& stores certain information in an excel sheet.

The sheet has a comments field staff update on a daily basis, like a diary, so you can read the entire history in that field, like sticky notes.

I want to replicate this within Jira \& want to create, if possible, one comments field accessible from any Jira ticket where staff can continue updating in a rolling update process.

Paul


author: Trudy Claspill
body: I am not aware of a way to do that.

There might be work arounds available, like storing the data elsewhere and having a way to have a custom field pull the data in from that external source. Or having a custom field where updates to it in one issue are propagated to the same field in all the other issues.

I'm not really clear on what problem/requirement is addressed by having a that sort of shared content across all issues. Can you elaborate on the type of content the field would have and how it would be useful to have that content available and updatable from any issue? I am curious to understand more about your use case.


author: Paul Mosca
body: [@Trudy Claspill](/t5/user/viewprofilepage/user-id/5120046)

What Im trying to achieve is to have a common field within all tickets that has the same info regardless of the ticket an agent is in, so when they update a particular set of details for a client, they will be able to see or update in that universal comments field, the latest items we need to be aware of, year to year, regarding complex decisions or complex Architecture, product name changes etc...

This is what I propose to do away with using excel.


author: Trudy Claspill
body: I don't think Jira is the right solution for your problem. Jira is, in my experience, work item focused. I have not heard of any use case similar to yours. It is quite possible that I am missing details of your use case or business model that would help me understand the problem you're trying to solve, and why you think it should be solved in Jira.

There are collaboration tools, like Confluence, that I think would be better suited for hosting a single source of truth accessible to and updatable by many people.


author: Paul Mosca
body: [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)I have started looking at Confluence

thank you


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Webhook automation in jira cloud
Asked by Lucas de Souza:

Hello everyone.

I hope you are doing well today.

I have a question which I am not sure if it is even possible, but let's go.

I have an idea to create a round-robin assignment in JSM using a list of users from outside of Atlassian e.g. google sheet or google calendar. The question is, does Jira webhook automation can access this GSheet or Google calendar somehow?

Or you would suggest me another approach instead?

Best, Lucas.


Answers:
author: Marcus Jones
body: Hi [@Lucas de Souza](/t5/user/viewprofilepage/user-id/5333980) ,

Since in order to assign a ticket to a user, they have to be licensed, why not use a group and then assign via round robin to that group?

comments: author: Lucas de Souza
body: Thank you for the replay [@Marcus Jones](/t5/user/viewprofilepage/user-id/5132701) I did not try to use that because as far as I could see in this way I have to use the workload to distribute the tickets right?

And I am trying to set up something like each day of the week one member of the team is responsible for the queue.

Best, Lucas.


author: Marcus Jones
body: OK, I think I understand a bit better now. One thing you can do is just check the day a ticket was created and then assign it to a specific user based on the day of the week. It's a bit manual if the user's change often, so you would need to go in and update the assignee for a specific day(s) if it changed.

The approach I used was when an issue is created ill check the day it was created since {{now.fullDate}} gives us the day name, we can just do an IF statement to see if the {{now.fullDate}} output contains a specific day and then set the assignee. So it might look something like this:

![Match_Day_JIra.png](https://community.atlassian.com/t5/image/serverpage/image-id/316062iBC9630402128461C/image-size/large?v=v2&px=999 "Match_Day_JIra.png")![Assign_User_JIra.png](https://community.atlassian.com/t5/image/serverpage/image-id/316063iC565833D192D6FDA/image-size/large?v=v2&px=999 "Assign_User_JIra.png")

Let me know if I misunderstood!


author: Lucas de Souza
body: [@Marcus Jones](/t5/user/viewprofilepage/user-id/5132701)

I will give it a try thanks a lot for your help.

Just out of curiosity do you know if the webhook action in automations I can only call Atlassian API or any other API?

Best, Lucas.


author: Marcus Jones
body: You can call any API you like as long as you have the URL, headers, and authentication.


Tags: automation

cloud

jira-service-management

jira-service-management-cloud

webhook