youngmon/atlassian-qna huggingface dataset:
How can I bulk add request participants in Jira Service Management?
Asked by kurnia_asyari:

I need to add multiple users as request participants to a large number of issues in Jira Service Management. I am looking for a method to perform this action in bulk rather than adding participants one by one. Thank you!


Answers:
author: Trudy Claspill
body: Hello [@kurnia_asyari](/t5/user/viewprofilepage/user-id/5553890)

Welcome to the Atlassian community.

The Bulk Change feature doesn't support editing the Request Participants field.

As a work around you can create an Automation Rule. Are you familiar with that feature?

<https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/>


author: Hannes Obweger - JXL for Jira
body: Hi [@kurnia_asyari](/t5/user/viewprofilepage/user-id/5553890)

welcome to the community!

If you're open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2767645).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. It also allows *inline bulk editing* , via copy/paste. This works for all editable issue fields, including the *request participants*.

This is how it looks in action:

![request-participants-copy-paste.gif](https://community.atlassian.com/t5/image/serverpage/image-id/339837iACA29396C8886465/image-size/large?v=v2&px=999 "request-participants-copy-paste.gif")

Note that the copy/paste operation currently always *replaces* the present set of request participants, rather than *adding* to it. Depending on your exact use case, a replace operation might do the trick; if not, I'm happy to elaborate on available workarounds. (We also plan to add support for a dedicated "add" operation in the future.)

I should also add that JXL can do much more than the above: From support for configurable *issue hierarchies* , to *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting*.

Any questions just let me know,

Best,

Hannes


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira Service Management Issue Type Scheme - Turn off Epic and Stories
Asked by Jake Youngblood:

Is there a way to limit the type of issues that are available?

I keep missing the location on how to turn certain issue types on/off.

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


Answers:
author: Valerie Knapp
body: Hi [@Jake Youngblood](/t5/user/viewprofilepage/user-id/5553755) , welcome to the Atlassian Community and thanks for your question.

You should find, if you are a product admin, a button right above this table, 'Actions', where you should be able to add or remove different issue types.

![Screenshot 2024-07-26 21.37.32.png](https://community.atlassian.com/t5/image/serverpage/image-id/338266i4267A74D52584C6B/image-size/large?v=v2&px=999 "Screenshot 2024-07-26 21.37.32.png")

Does this answer your question?

If not, please share your feedback and either I or someone else will try to help.

Cheers


Tags: cloud

jira-service-management

jira-service-management-cloud
Can a smart value be used to populate the Assignee field?
Asked by Steve Y:

I'm trying to use a smart value that links to an Assets Object Key, or attribute, to put into the Assignee field, in an automation. The purpose behind this is maintainability. I haven't found any syntax that will work yet when the automation runs. Is this even possible?

Thank you!


Answers:
author: Mark Higgins
body: Hi Steve

To assign something to the Assignee field, it needs to be the Atlassian ID.

So if your row in Assets, can be linked back to the Atlassian ID (which is also stored in Assets) then you can make that lookup.

![Screenshot 2024-07-31 172254.png](https://community.atlassian.com/t5/image/serverpage/image-id/339036i660DFFA3CE55B8F8/image-size/large?v=v2&px=999 "Screenshot 2024-07-31 172254.png")

So in Assets User is ot Type User.

So you do need to discover the Atlassian ID for that user, and then you can assign it to the Assignee.

Hope that helps

Mark


Tags: assets

automation

data-center

jira-service-management

jira-service-management-data-center

smart-value
How do you add new organizations in bulk?
Asked by Danny Mecca:

We have a large list of organizations we would like to add to our JSM project. The CSV import errors stating the organizations must exist before an upload works. Is there no way to bulk import organizations and contacts to JSM?


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hi [@Danny Mecca](/t5/user/viewprofilepage/user-id/5465145) ! Welcome to the Atlassian Community!

Maybe you need to look at the REST API for JSM. There's a call to create organizations.

<https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-post>


Tags: cloud

confluence

confluence-cloud

jira-service-management
Run rule after linking with an epic
Asked by Jose Luis Lopez:

Hi team,

After the different changes related to the **Parent link** deprecation, I don't find a way to trigger a rule after linking a story with an epic. I have been checking the steps for **Field value changed** and **Issue linked** but it doesn't work anymore.

Do you know how it can be done?


Answers:
author: Andreas Knecht
body: Hi Jose,

I think you're basically running into this feature request:

<https://codebarrel.atlassian.net/browse/AUT-1264>

Issue hierarchy is something that's being actively worked on, on the Jira Cloud side (to make the hierarchy more generic, able to support different types of hierarchies). Once that work is complete, then we'll be able to implement this feature request more easily. We'll keep you posted.

For now you can try the work-around suggested on the issue above.

Cheers,  
Andreas


author: Colton_Kosicek
body: My work around i use is to set a schedule for daily runs in the morning and create a variable that i can than compare or use to check/act on the parent issue using the parent.key

{{issue.Parent Link.data.key}}

I use this for my parent issuetype above Epic to be moved to a new status when the first "epic" (SAFe Feature) is moved to in progress. Helps keep my relationships in order.

I run a branch rule with the following JQL to help act on the parent.

issuetype = initiative and issuekey = {{ParentLinkDetails}}
How can I set up automation including the name of the person who acted on the Slack channel when I m
Asked by ???:

Hi, I set up automation so that the message is delivered to Slack when moving the ticket from Jira's Kanban board.

At this time, can the name of the person who moved this ticket be included in the Slack message?


Answers:
author: Daniel Eads
body: Hi [@???](/t5/user/viewprofilepage/user-id/4772328) , welcome to the Community!

In the action sending the Slack message, you can include [a smart value for the user](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/) who triggered the transition. This is the smart value that will show that user's name:

```
{{initiator.displayName}}
```

Cheers,  
Daniel

comments: author: ???
body: [@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694) hi Daniel!

As you said, this is how it should be written, right?


author: ???
body: ![Untitled-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/203640i1C372FA8010185FF/image-size/large?v=v2&px=999 "Untitled-2.png")

I did what you told me and it was solved. Thank you so much!


author: Bill Sheboy
body: Hi [@???](/t5/user/viewprofilepage/user-id/4772328)

Adding to the answer from [@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694) ...

Are you using Jira Cloud or Data Center/Server version?

I am asking as I note in your smart values references to {{issues}} *plural*, and my understanding is that only works in Data Center/Server version. To handle multiple issues with Jira Cloud please use the Lookup Issues action.

Kind regards,  
Bill


author: ???
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313)

![abc.png](https://community.atlassian.com/t5/image/serverpage/image-id/203985i0C5C2F0ED7C72A0B/image-size/large?v=v2&px=999 "abc.png")I don't understand your story because it's too difficult.

In the project of Jira software, I set up automation so that a related message will be sent to one channel of Slack messenger when moving the board ticket from \`to do\` to \`coopera-\`. (This is the first automation I did. I don't know anything else.) And I want the name of the person who moved the ticket to be included in the Slack Channel message.

Data center/server? Lookup Issues action?? I'm just a designer.

I even learned how to post a question here through googling.


author: Bill Sheboy
body: Hi! I recommend pausing to talk to your Jira Admin person, as they can help you know what version of tool and project you are using. Then the community can help you update the automation rule further.

Thanks!
Creating links using automation
Asked by RR:

I wish to create a custom field for my issues that automatically create a series of web links. I don't want to use the URL field as it displays the whole url as well as needing more than 1. I want the link to be displayed like - [this link is google](https://www.google.com/) .

Ive tried a paragraph field that supports rich text but do not know how to write rich text with JSON. How would I go about doing this?


Answers:
author: Mikael Sandberg
body: Hi [@RR](/t5/user/viewprofilepage/user-id/4975598),

Welcome to Atlassian Community!

Paragraph fields are using [Wiki Renderer notation](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=links), so in order to create the link with an alias you would do it like this:

```
[Atlassian|https://www.atlassian.com]
```

That would give you a link like this [Atlassian](https://www.atlassian.com). You would also have to change the renderer used in the project. Go to Project setting \> Fields and edit the field configuration. Look for your field and click on Renderer and select Wiki Style renderer.

comments: author: RR
body: Thank you for the speedy answer!
Can I use automation to sum up the values of a custom field from the issues in a JQL query?
Asked by Megan:

Hi,

I would like to automatically sum up the value of our "Story Points" field over a list of Jira issues for a variety of use cases (one being to see how many story points we complete per sprint per customer). I know I can set up filters to view the individual issues along with their associated Story Points values, but I would like to avoid human error in totaling them up.

Does anyone know if would be possible to achieve this with an automation rule? So far I have started a rule with a manual trigger, a "Create variable" action for a new {{totalStoryPoints}} variable, and a Lookup Issues JQL query that will find the issues in question based off of the trigger issue, but I'm having trouble envisioning how to connect the components. Ideally this rule would iterate over the issues in the lookup query and increment totalStoryPoints by the value in the "Story Points" field for each issue, then send me an email with the final totalStoryPoints value.

![Screen Shot 2022-06-24 at 1.56.55 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/203373iA7444F62468338B7/image-size/large?v=v2&px=999 "Screen Shot 2022-06-24 at 1.56.55 PM.png")

Thanks for any pointers!


Answers:
author: Megan
body: Right after posting this I found a workaround for quickly summing up a value in <https://community.atlassian.com/t5/Jira-Service-Management/How-do-i-get-Total-SUM-of-custom-field-after-adding-JQL/qaq-p/1935278>.
Jira Automation - Create an EPIC for every project
Asked by Dmitry Alabyan:

Hello community!  
I am trying to build up a global rule that would check the projects for existing epics of a certain type and create them, if they are not present.  
Got stuck with defining "for every project" iteration. such that checks a project for existence of epic and then creates within the same project, if no epic is found.


Answers:
author: Bill Sheboy
body: Hi [@Dmitry Alabyan](/t5/user/viewprofilepage/user-id/4972502)

Would you please post images of your current rule and the audit log details? That may provide context for the community to offer suggestions. Thanks!

Until then, I am not familiar with a branch type of "for every project". Are you using Jira Cloud, Jira Data Center/Server, or some other Atlassian product?

Kind regards,  
Bill

comments: author: Dmitry Alabyan
body: The thing I am stuck is the very start of the rule.  
I need to initiate a search through the project for a specific EPIC name. If it is not there - then create that very epic. But also don't need it on schedule, just a once triggered.   
Sadly, the manual trigger for my Jira Cloud is configured as Rule is run when it is manually triggered by the user from an issue.  
And I was thinking of running else/if condition - but how do then I specify a query where Epic = exists?


author: Joana Pal
body: Is also difficult for me


Tags: schedule

branch

condition

epic
No longer able to insert an "issue fields condition" within an "if/else block"
Asked by Doug Levitt:

I have several automations which include an "issue fields condition" inserted within an "if/else block".

Below is an example:

![Example.png](https://community.atlassian.com/t5/image/serverpage/image-id/203238i5FF54AA9DD52CCA5/image-dimensions/413x619?v=v2 "Example.png")

For whatever reason, the editor doesn't allow me add another component (effectively a 2nd "Issue field condition") where the Black Arrow is (above).

I tried to recreate the same automation from scratch. And it wouldn't allow me to include a single Compare operation following the Lookup operation. The only options were: Advanced Branching and Branch rule / related issues.

Anyone else running into this problem? It significantly limits the range of things I can do. Yes, I realize there are workarounds for this specific use case. But my automations are quite involved.

Is this a bug that was introduced? Or, was this purposely implemented to restrict these use cases?

Thanks,

Doug


Answers:
author: Andreas Knecht
body: Hi there,

Apologies but this is indeed a bug: <https://codebarrel.atlassian.net/browse/AUT-2350>

We'll let you know once a fix is available. For now the work-around is to drag a condition onto the if branch as mentioned above.

Cheers,  
Andreas

comments: author: Doug Levitt
body: Hi [@Andreas Knecht](/t5/user/viewprofilepage/user-id/502325)

Thanks for your reply.

As a note, <https://codebarrel.atlassian.net/browse/AUT-2350> (and the related <https://jira.atlassian.com/browse/JSWCLOUD-22414>) were created back in Jan, 2022.

But, I was able to create my rule (see code snippet above) on May 31, 2022. ++At that time++ , the rule editor ++allowed++ me to add a condition (actually multiple) inside an IF Branch. But now it doesn't.

Thankfully, there is that work-around.

Thanks,

Doug


author: Bill Sheboy
body: Hi [@Doug Levitt](/t5/user/viewprofilepage/user-id/3570640)

I recall another post about this months ago, and the person noted they could do this by creating the condition **outside of the if/else and then dragging it inside** with the rule editor. I just tried this and it still works...However...

As the rule editor does not offer adding the condition this way natively, I would test fully to ensure it works as you expect. If it does, Perhaps log a defect to Atlassian for the editor problem/limitation.

Kind regards,  
Bill

comments: author: Doug Levitt
body: Thanks [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) for the head's up. I will log a defect with Atlassian. This previously worked. So, it sounds like it's just a bug they recently introduced.

Doug
How to synchronize Insight object attribute with Jira Custom Field
Asked by Boyan Angelov _Nemetschek Bulgaria_:

Hi All,

Using Jira Service Management Data Center here. I am struggling to find a way to synchronize Insight object attribute(s) with Jira Custom Fields in connected tickets. Here is the case:

- I have Insight Object Schema with 1 Object type with several attributes (for example Phone).

- For each object I have a ticket in Jira (created automatically when the object is created by Insight automation).

- For several of the attributes in the object (for example Phone) I have matching custom fields in the Jira ticket which are copied over when the ticket is created.

Now I need to be able to update the Jira custom field in the connected ticket when someone changes the value of an attribute in the object. I was thinking Insight automation can help, as it can trigger on object update, but I cannot figure out how this can happen. The Jira Automation (for Data Center) does not seem to have any trigger for Insight object updates, so it does not look like useful option too.

Has anyone made such update working before?

Thanks,

Boyan


Answers:
author: Boyan Angelov _Nemetschek Bulgaria_
body: OK, almost a year later let me answer to myself. The answer to my question is in the Assets Automation rules, where you can setup a rule to run when an asset is updated and run a Groovy script. In the Groovy script you can describe which attributes you want to copy over to the connected ticket and do it, but pay attention to the type of the attribute/custom field, as the data might need some massaging before you can set the issue field correctly, for example if you want to copy a Date field.


Tags: data-center

insight
Automation : Add a comment on lookupIssues
Asked by EtienneSevin:

Hi there,

One of my service desk receives ticket from another external service desk.

I setup an auomation that copy the ticket reference to an external id field and it works fine.

What I'd like to do right now is :

1- When a new ticket comes

2- Search through existing tickets if I found one with the same reference

3- Add a comment to the looked up issue.

How can I perform an action over ? looked up issue from {{lookupIssues}}

Thanks a lot,

Etienne


Answers:
author: Bill Sheboy
body: Hi [@EtienneSevin](/t5/user/viewprofilepage/user-id/4357991)

You could do this by instead branching on the JQL used in the lookup issues, or use an [advanced branch](https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935) on the keys found in the lookup.

Kind regards,  
Bill

comments: author: EtienneSevin
body: Thank you Bill, that's what I'm doing actually (see below).

But when I use the Add comment action, it will add comment on the main issue, not on lookupissues.

I dropped the add comment action waiting for a solution.

Kind regards,

Etienne

![JiraSupport.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/203088i51F8E9AFCFE3A399/image-dimensions/313x471?v=v2 "JiraSupport.jpg")


author: Bill Sheboy
body: You do not show what is in your advanced branch as the source, and if it is lookup issues you may need to specify the keys.

The other way to do this is just with a branch:

* ...some rule steps
* branch: on the JQL you use for your Lookup Issues (instead of using the lookup)
  * action: add comment, one by one for each issue found
* ...more rule steps


author: EtienneSevin
body: A huge thank you Bill, I didn't see branches were JQL compatible !  

Merci beaucoup !

Etienne
Prevent transition of issue to 'in progress' when assignee has already X issues in 'in progress'
Asked by Lyn:

Hi,

i am pretty new to Jira automation an struggling finding a solution for this:

If an issue is transitioned into 'in progress' the automation should check if the user which is Assignee of the issue in transition has already X issues in 'in progress' and if this is a case, the transition should be canceled.

The reason is, that I want to prevent our developers to have too many tickets in progress.

I know that the is the Limit per status but this don't distinguish between users which means if the team size changes to need to adjust the WIP per status.


Answers:
author: Nic Brough -Adaptavist-
body: So, this is an interesting one, because I can't work out how to do it either.

Generally though, I stick to "Automation is for making change that I don't want to have to bother with - get someone else to do the grunt-work - it needs doing, but I don't have to think about it"

Preventing transisitions definitely meets "I don't want to have to think about it", but it's not actually "doing stuff".

For controlling transitions, the usual route is using conditions or validators to check existing data and then telling people they're doing the wrong thing (validators do exactly that, conditions are a bit different - they look at the data and then hide the option to do the wrong thing)

Your nicest option here is a condition that just stops them even starting to do the wrong thing, but Automations don't do that. I would be looking at apps that provide conditions (the off-the-shelf ones are pretty weak in my opinion).

However, if you're using a Kanban board, you can also do this with a work-in-progress limit. It applies to the team, not the assignee, but the point of a board is that it is the team, so it might work for you (without any faffing around with apps)

comments: author: James Navin
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) is correct.

Automation works by responding to events (such as issue transitions) and taking actions. It cannot prevent an issue transition from occurring. The best you would be able to do is reverse the transition, or flag the issue etc. after the transition had taken place.

As suggested, your best option is probably to look at workflow conditions or use the work-in-progress limit.

Cheers,

James


author: Tom Scoggin
body: I had something similar where I wanted to keep control away from the Jira Admins so I created an automation that looks at the person who initiated the automation. If that person was one of 4 users the system would do "X". If the person initiating the transition is not one of those 4 users then do nothing except transition it back to where it came from.

I figure at some point the wrong user will give up and let the correct users perform their jobs. I do wish we (Project Admins) could do a banner or error message letting the user know they don't have permissions.


Tags: transition
Criei um SLA para primeira resposta mais quando adiciono um coment?rio o SLA n?o ? atualizado
Asked by Rafael Menezes:

Bom dia !

Eu sou novo no JIRA e queria saber o seguinte , eu crie um SLA de primeira resposta em at? 30min , s? que ao colocar um coment?rio ele n?o me informa no painel do SLA que eu atingir os requisitos antes de estourar o SLA que estava programado para responder em at? 30min escrevendo a primeira resposta.

Como eu crio essa automa??o para esse caso?

Agrade?o desde j? a aten??o


Answers:
author: Caio Covos
body: Ol? Rafael, boa tarde.  

Dentro das configura??es do seu SLA de primeira resposta, verifique como est? configurado a condi??o de Finalizar a contagem do SLA.  

Segue um exemplo:  

![Captura de Tela 2022-09-02 a?s 14.41.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/214143iA43E5D9A9048CD17/image-size/large?v=v2&px=999 "Captura de Tela 2022-09-02 a?s 14.41.01.png")  

Caso continue com d?vidas, por gentileza nos envie uma imagem com a configura??o atual do seu SLA.  

Espero ter ajudado com sua d?vida.  

Att,  
Caio C?sar


Tags: sla
Uso de incidencias enlazadas
Asked by Alonso de Arcos P?rez:

Buenas:

Cuando enlazo una incidencia los comentarios realizados en cualquiera de las incidencias enlazadas se publican en todas ?Se puede evitar? ?Hay alguna relaci?n entre el tipo de enlace y el comportamiento de los mensajes?

Gracias,


Answers:
author: Fabian Lim
body: Hola [@Alonso de Arcos P?rez](/t5/user/viewprofilepage/user-id/4970349)

Ten?s algunos screenshots que puedas compartir? Que tipo de proyectos est?s usando? Jsm o js?

Saludos


Tags: cloud