youngmon/atlassian-qna huggingface dataset:
Wie kann ich eine Dom?nenberechtigung f?r den Kundenzugang zu einem Projekt einrichten?
Asked by Jan Emele:

Ich habe es mit der Emaildom?ne ?ber die Zul?ssig-Liste versucht, aber das hat nicht funktioniert. Dann habe ich den Kanalzugriff ge?ffnet und dann hat es geklappt, aber auch f?r alle anderen unserer 300 Kundeneintr?ge. Nun kann ich ja nicht jedesmal alle 30 Dom?nen auf die Negativliste setzen und nur die eine weglassen, f?r die es erlaubt sein soll, auf das Projekt zugreifen zu k?nnen,


Answers:
author: Lisa Forstberg
body: Hi Jan,

I tried to translate your german so I hope I got your problem right. It seems like you need your Jira SM project to be restricted to a specific set of users from a specific domain only but that you don't know who exactly who from that domain that should be creating requests.

Both global and project settings needs to be taken into consideration.

**The global settings**

Under https://*yoursite* /jira/settings/products/servicedesk/customer-access you control who can get access to you site as a customer, and be able to create customer (portal) accounts. Note that these are ++global site++ settings. The allow list for domains are set for the whole site, not for a single JSM project.

**The project settings**

For the specific JSM project the customer access settings is either Open or Restricted. If open anyone that has the link can reach it. If restricted you need to invite your customers, one by one, to the project. Afaik you cannot "invite a domain" to a specific Jira SM project (yet)

I think you need these settings.

1) in your project settings choose ++Open++ on your projects customer access settings

2)in the global setting choose "Only allow account creation for customers with specific email domains" and type in the domain

3) in the global setting choose "Allow customers to create accounts" (not checking the "Customers can access and send requests from the portal without logging in")

Be aware that the above might not work retrospectively. If you already have customer accounts in your project from the unwanted domains, those users will not automatically be revoked.

Here is the article describing the global settings: <https://support.atlassian.com/jira-service-management-cloud/docs/change-global-customer-permissions/>

br

L


Tags: cloud

jira-service-management

jira-service-management-cloud
Ticket/card change based upon customer comment
Asked by Liam Whatling:

We'd like to be able to cause a change to the cards on the helpdesk Board we use whenever a customer make a comment i.e. emails onto a ticket.

Is it possible for this to be done? I understand there is the notification bell in the top right and emails into inboxes to tell us a customer has emailed. However, we work primarily from the JIRA board and try to use emails mainly for internal comms. So being able to have a card change in some way when a customer replies would be very helpful.

I've looked at using the card colours and JQL to try and change the card colours, but i don't know if my knowledge is to limited or if it just can't be done.

Any help is greatly appreciated. Thank you in advance.


Answers:
author: Lisa Forstberg
body: Hi Liam.

I see what you are looking for - keep an eye on the tickets last commented by a customer to catch those you need to reply to.

The Jira cloud JQL functions are limited in this area. Scriptrunner addon gives us more JQL functions but they cannot be used in setting card colours.

I think perhaps what you need to do is working on automations to set a custom field to certain values based on comment actions, and then use this field to trigger your card behaviour.

Here are some inspiration: <https://community.atlassian.com/t5/Jira-Service-Management/Any-way-to-search-for-last-comment-made-by-customer-in-a/qaq-p/2235435>

best of luck!

/L

comments: author: Liam Whatling
body: Hi Lisa,

I was thinking my team would need to go down the path of Automations.

As I mentioned in my query, I can see JIRA has that facility already but in a different form so it would be somewhat redundant for the developers to create another means of doing this that users may or may not utilise.

Not a problem, we'll make use of the functions we have.

Thank you for replying, much appreciated.

Kind regards, Liam.


Tags: cloud

jira-service-management

jira-service-management-cloud
Merge product Type
Asked by Raphael Dufour:

Hello , is it possible to merge 2 type of jira product ?   
Like Jira Service management and Company-managed Software ?


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

What do you mean by "merge"? Do you want to move the issues from one project to another? If so, you can run a query/filter for something like project = ABC where ABC is the project you want to move issues FROM.

After you click on search and get the results, then you can do a Bulk change and move the issues from the first project (ABC) to the new project. However, make sure you have all of the same Issue Types for both projects or know what your mapping is going to be.

Also, if you have any Components on the source project (ABC), make sure you create those same Components on the destination project before you move. Also, if you have any custom fields that have a context so that they are only available on the ABC project and not the destination project, but sure to add the destination project to the context.


author: Kuan Yi Ming _ServiceRocket_
body: Hi Raphael,

Are you looking at including a Jira Service Management project on the same Jira instance as one with a company-managed Jira Software project? Yes, it is possible to have Jira Software and Jira Service Management on the same instance. This can also have other benefits: for example, your Jira Software users can make internal comments on a Jira Service Management issue without using an agent's quota, thus reducing costs for you.

Regards  
Yi Ming


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software
Send Slack message not from "Automation for Jira"
Asked by Zaur Suleymanov:

I configured the Automation rule so that Jira sends message to a particular Slack channel at each release. But as more teams start using this rule, very similar messages are posted in this channel on behalf of "**Automation for Jira** " or "**incoming-webhook**".

Is there any way to make such Slack messages posted on behalf of particular Jira users? Or at least on behalf of Project Lead?


Answers:
author: Hana Ku?erov?
body: Hi [@Zaur Suleymanov](/t5/user/viewprofilepage/user-id/3552854) ,

I've tested it and it seems to me there is no such possibility. Maybe you can add some sort of information about users to the beggining of the message?

If you need more customization, maybe you can try some application for integration with Slack.

comments: author: Zaur Suleymanov
body: Thanks Hana, yeah, that's a workaround I am currently advocating. The only natural human problem is that putting names can be sometimes missed :)


author: JD
body: Hi [@Zaur Suleymanov](/t5/user/viewprofilepage/user-id/3552854) ,

Just wanted to confirm that as [@Hana Ku?erov?](/t5/user/viewprofilepage/user-id/1226304) said, this is not currently possible. Our Slack integration is done via a webhook which doesn't allow us to imitate users.

Thanks,

John


Tags: slack
Automation rule trigger on Upvote
Asked by Ian Bamforth:

I'd like to create an automation rule such that tickets sit in "Ideas" until somebody upvotes them. At this point, I want them to automatically move column / status into "Upvoted". Is this possible?


Answers:
author: Tom Williams
body: Hi [@Ian Bamforth](/t5/user/viewprofilepage/user-id/110241)

Yes it can be done, but it's not the cleanest rule. I couldn't get "Votes" as a trigger. But if you run a rule with a 5min schedule, include JQL to give you all the issues in "Ideas" status and then run an advanced compare {{issue.votes}} is greater than 0 you'll be able to transition these to "Upvoted".

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

comments: author: Bill Sheboy
body: Hi [@Ian Bamforth](/t5/user/viewprofilepage/user-id/110241)

There is a suggestion to add votes as a trigger, which you may review and vote for here:

<https://jira.atlassian.com/browse/JRACLOUD-74498>

Best regards,

Bill


Tags: cloud

vote
Condition: only assignee can change status from "in progress" to "open"
Asked by Nero Mars:

Hi, friends! I need help.

I am new to Jira administration and try to code a "listnerer" by Groovy.

How to create a condition so that only the assignee of the issuse could change the status from "in progress" to "open"? And also what libraries should be connected for this?  

I would be grateful for your help!  


Answers:
author: Julian G
body: Easiest way is to set the condition in your workflow. Im not positive on the libraries but this is the simplest method.

1. Go into your workflow
2. select the issue type / workflow to modify
3. Select the transition you want to set this condition up on
4. Click conditions
5. Add new condition
6. Select the "Only Assignee Condition"

![workflow_Transition.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/119006iA7AA5091D89E5C41/image-dimensions/466x187?v=v2 "workflow_Transition.jpg")

![workflow_Transition_condition.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/119007i5C036B8C6966438C/image-dimensions/546x140?v=v2 "workflow_Transition_condition.jpg")

comments: author: Nero Mars
body: Thanks very much, Julian!  
I will use that tommorow day


author: Ravi Sagar _Sparxsys_
body: Hi [@Nero Mars](/t5/user/viewprofilepage/user-id/4167309)

As [@Julian G](/t5/user/viewprofilepage/user-id/3475010) mention you can do this without any script and you don't need any app for this functionality.

Ravi

comments: author: Nero Mars
body: tnx, Ravi!  
I'll try do that solution tommorow


Tags: cloud

jira
How do I copy the value of an issue picker custom field to an issue to be created with Automation fo
Asked by Marco Brundel:

How do I copy the value of an issue picker custom field to an issue to be created with Automation for Jira?

When transitioning an issue, I want to create an issue with an Automation for Jira rule. I also want to copy the value of an issue picker custom field from the trigger issue to the issue to be created.

How do I do this?

I've tried with

```
 "customfield_14700": [{
"add": "{{triggerissue.customfield_14700.key}}"
```

but this is not working


Answers:
author: Holger R?sch
body: Hi Marco,

I probably would use a variable to store the value of the picker, create the new issue and add the value of the variable.

Create variable e.g. "PickerValue" using this Smart value

```
{{issue.fields.customfield_14700.value}}
```

then create the new issue

and

edit issue field and add your variable there

```
{{PickerValue}}
```

Hope that helps,

Holger

comments: author: Marco Brundel
body: [@Holger R?sch](/t5/user/viewprofilepage/user-id/1667964) , thanks. it works with a so-called intermediate field.


author: Dungle
body: [@Marco Brundel](/t5/user/viewprofilepage/user-id/1162861) Dear

I'v got the same that your problems.

Did Your function worked?

Can You give me full code?


Tags: cloud

jira-software-server

scriptrunner
Copy a Insight Custom Field from a linked issue with a automation rule
Asked by Marco Brundel:

Hi,

I have an automation rule that is filled as an issue picker field, the chosen issue is linked to the issue in which the issue picker field is filled.

Then I will copy the values ??of various fields from the linked issue in the same rule.  
Using {{issue.issuelinks.first.outwardIssue.description}}, {{issue.issuelinks.first.outwardIssue.customfield_14762.key}} etc.

This works with all my fields except an Insight Custom Field.

How can I get an Insight Custom Field in this situation?

Regards, Marco

![Screenshot 2020-11-19 at 15.46.19.png](/t5/image/serverpage/image-id/118987i72C3BC5636B53BDC/image-size/large?v=v2&px=999 "Screenshot 2020-11-19 at 15.46.19.png")


Answers:
author: C?line Manca
body: Hi there,

I have a similar issue on Automation cloud but the other way around.

How to copy an Insight field value to a Text field ?

I have tried the following but obviously it's too easy and not working :)

{  
"fields": {  
"customfield_10050": {{customfield_10043}}  
}  
}

customfield_10050 = my text field

customfield_10043 = my insight custom field

Thanks for the help!


author: Howard Nedd
body: This could possibly be your solution <https://www.youtube.com/watch?v=R-rIPVxoLgw>


author: Marco Brundel
body: [@John McKiernan](/t5/user/viewprofilepage/user-id/3613862) Maybe a bit cheeky to mention you, but do you know a solution for my situation? greetings, Marco


author: Bill Sheboy
body: Hi [@Marco Brundel](/t5/user/viewprofilepage/user-id/1162861)

Would you please clarify what is not working? That will help the community provide ideas. Thanks!

Best regards,

Bill

comments: author: Marco Brundel
body: Hello,  

I cannot get the copying of an Insight custom field from a linked issue to work. So I am looking for how I can copy the value of an Insight custom field from a linked issue.  

Regards,

Marco


author: Bill Sheboy
body: Thanks, Marco.

I am not using Insight, but when I am trying to find/confirm a specific smart value, I use the REST API to pull an example issue and then confirm the value in the JSON. Here is the how-to article for doing that:

<https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/>

__Bill


author: Marco Brundel
body: [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313)   
Thank you for the information. But my problem is not that I don't know the name or value of the field, but that the " {{issue.issuelinks.first.outwardIssue" function doesn't work on an Insight Custom Field.  
So I am looking for how I can copy the value of an Insight Custom Field from a linked issue.

Regards, Marco


author: Bill Sheboy
body: Hi [@Marco Brundel](/t5/user/viewprofilepage/user-id/1162861)

I believe .first() is a function for lists, so have you tried:

{{issue.issuelinks.first().outwardIssue}}

And if you know there is only one value you can use:

{{issue.issuelinks.outwardIssue}}

Best regards,

Bill


Tags: addon-com.codebarrel.addons.automation

addon-com.riadalabs.jira.plugins.insight

cloud

insight

jira-service-desk-server
Does anyone know when Atlassian plans to sunset Legacy Automation?
Asked by Michael Henderson:

I am asking because we use both Legacy and JIRA Automation in Jira Service Desk (Cloud). Some of the rules we have in our legacy automation relate to automation for Atlas CRM plugin. I did not find that functionality in JIRA Automation. I know the legacy automation page states they will move our rules over when the time comes, but they would not be able to move those rules if the functionality does not exist. The Risk is that our apps would break if the Legacy automation went away before Atlas CRM added their automation to JIRA automation.

I have contacted Atlas CRM support. But I want to make the community aware of this in case any one else is using the Atlas CRM automation for JSD that is only in Legacy Automation.

Here is the link to the JSD automation Atlas CRM incorporated this year.

<https://www.atlascrm.io/documentation/jsd-automation/>


Answers:
author: Fatih Demir
body: Fatih here, developer for Atlas CRM.

In the legacy automation we see the following message:

```
You don?t need to do anything, we?ll move all your rules into Automation for you when Legacy Automation is deprecated in the future.

```

It is unclear if this will also support automation by apps. We are following what Atlassian is doing and we will definitely look into the new automation is Jira Service Management (formerly known as JSD).

comments: author: Michael Henderson
body: Thank you Faith! Hopefully, no surprises.


Tags: atlas-crm
Using Value Change for Field "Epic Link" does not work as trigger event
Asked by Lukas Kasten:

Dear all,

JIRA Server v7.13.3

Automation 7.2.2 (latest Version)

Dear all, one of the last updates for Automation for JIRA reintroduced the possibility to use a value change for the field "Epic Link" as a trigger issue.

However, it just does not work on our instance.

Does anybody face the same problem? Any solutions? Any work-arounds?

Thanks in advance and best regards

Lukas


Answers:
author: Bill Sheboy
body: Hi [@Lukas Kasten](/t5/user/viewprofilepage/user-id/3254902)

Epic Link does not work as a field change trigger for cloud automation yet ([AUT-1264](https://codebarrel.atlassian.net/browse/AUT-1264)), so I am surprised to hear it is now implemented for Server. If you have a documentation source that says it should work, I recommend asking your site admin to submit that as a support ticket to Atlassian:

<https://support.atlassian.com/contact/#/>

Best regards,

Bill


author: Hana Ku?erov?
body: Hi [@Lukas Kasten](/t5/user/viewprofilepage/user-id/3254902)

I've just tested it using Automation 7.2 and Jira Software 8.8, it seems to be working.

![automation.png](https://community.atlassian.com/t5/image/serverpage/image-id/118211iE08894EE46063607/image-dimensions/368x123?v=v2 "automation.png")

So, you are not able to trigger it? Did you use some limitation for issue operation? What do you need to do after epic link change?


Tags: jira-server

server
Linking the Epics of Linked Stories
Asked by Curt Holley:

Hi

I'm trying to create automation triggered by "Issue Linked" where it then goes off and creates the same link type between Epics (where Epic's exist for both stories) of those stories.

So far, I've got it able to link the Destination issues Epic to link back to the trigger issue, but that is linking back to the story and depending which way the linking points, it can be back to the story that is in that Epic.

Any ideas on how I can get the two relevant epics linking?


Answers:
author: Curt Holley
body: Hey [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313)

I got it working this morning....was simpler than expected. See below:

![D roll up2020-11-16 112541.png](https://community.atlassian.com/t5/image/serverpage/image-id/118351i30B29AA2D4F43A33/image-size/large?v=v2&px=999 "D roll up2020-11-16 112541.png")


author: Bill Sheboy
body: Hi [@Curt Holley](/t5/user/viewprofilepage/user-id/3527535)

Have you considered using a branch with some JQL to access the epics?

Perhaps pasting an image of the rule you have thus far, and note specifically what is not working, will help the community provide ideas. Thanks!

Best regards,

Bill
Field Value change for status change first time
Asked by Brandon Huckaby:

I am trying to create an automation that changes a field value based on the status change of a ticket. My example is when a ticket goes from "In Review" status to "UAT" I want the Finish Date to change to current date.

I currently have this working however I only want this to happen on the FIRST time this status changes from "In Review" to "UAT". The way my workflow is setup tickets can jump back and go through the Review process again.

Thanks for any help or advice


Answers:
author: Curt Holley
body: You can set the transition to only update when a ticket goes from "In Review" status to "UAT" and not any other status (which a presume you have done). So if you add into the automation that it only updates the "finish date" if it is empty as a condition, would that do it?

Only problem then is, if it does cycle through "In Review" status to "UAT" more than once, it will still have the 1st cycle date as the finish date.

Helpful? perhaps???

comments: author: Brandon Huckaby
body: Yes, I only want the finish date to update the first time it goes from Review to UAT. Right now if the ticket cycles through again the date gets updated again. I will look into how to only set if empty. Didn't think of that.

Thanks!
SEnding an attachment in email through project automation
Asked by Nita Brumbaugh:

I have a proforma form attached to the Jira issue and I'm trying to send it through project automation addon in an email. You can manually export the PDF, but I can't seem to get it send in email action in project automation.

I've tried using smart values, etc. Researched the community and doesn't look like anyone has found a solution.

Not sure why the Project Automation addon has "delete attachments" action, but not an add attachments action for Send email action.

Any suggestions?


Answers:
author: Bill Sheboy
body: Hi [@Nita Brumbaugh](/t5/user/viewprofilepage/user-id/3624773)

You are correct: it is not yet possible to send a file attached to an issue or comment to an email recipient using automation rules. You can only send a link to the Jira stored copy.

Here is the item to add the feature in the CodeBarrel (now part of Atlassian) backlog:

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

Best regards,

Bill


author: Boris Berenberg - Atlas Authority
body: We support attachments in [Notification Assistant for Jira](https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira-email?hosting=cloud&tab=overview)


Tags: cloud
How to show Linked Defect count on Test Execution Report Screen in Xray Test Management Plug in?
Asked by ASelenium:

Hello,

I have created one test case, defect, and test execution. Linked defect to test cases and that test case is added to test execution. But I am not able to see Linked defect/open count in Test Execution Report or Test Runs Report. It should reflect as 1.

Please help me to update the same in the Test Execution Report or Test Runs Report.

I have created a project in Xray Test Management Plug in.


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

You posted this question in the automation area, so you may want to also add it to the Cloud area to get a larger audience looking at it.

Best regards,

Bill


Tags: cloud

xray
Incoming webhook: remove issuelink
Asked by Jasmin M?ller:

Hi guys,

I need to link/unlink issues via an Incoming webhook trigger.

For **adding** issue links, I currently use 'Edit issues' action with the following additional fields:

{  
"update": {  
"issuelinks": \[  
{  
"add": {  
"type": {  
"id": "{{webhookData.issuelinktype}}"  
},  
"outwardIssue": {  
"key": "{{webhookData.link}}"  
}  
}  
}  
\]  
}  
}

However, **'remove' is not supported.**

I checked the unlink issues action, but I cannot use smart values for the issuelinktype (I have to determine this!) - otherwise I would have to provide a webhook for each possible issuelinktype.

Any other possibilities I missed?

Best, J.


Answers:
author: Bill Sheboy
body: Hi [@Jasmin M?ller](/t5/user/viewprofilepage/user-id/2655637)

Have you already resolved this?

If not, the only way I found to remove things from list fields (e.g. Component, Labels, Version, Links) is to treat them like strings, and...

* join to convert to a delimited string, such as CSV
* use string functions and RegEx to remove the target value(s)
* as needed, split back into a list before updating a field

Best regards,

Bill
How to avoid to link an issue if it already exists one from the same project
Asked by Dario:

I am trying to manage the Issue Links in a ticket.

I would like to be able to allow to link only one ticket from an specific project, as consequence, if it already exists one ticket linked from that project, show a warning which tells the user "there is one ticket already linked".

Can anyone help me about it? I can use SIL scripts if it is necessary.

Jira Server version 6.3.15.

Thank you in advance.

Kind regards,

Dario


Answers:
author: Hana Ku?erov?
body: Hi [@Dario](/t5/user/viewprofilepage/user-id/4080057)

welcome to the Atlassian Community!

It is not possible to do such a thing without some additional application. Maybe [this one](https://marketplace.atlassian.com/apps/1216498/easy-links-for-jira?hosting=server&tab=overview) could help you.

I'm not sure about the scripts, it won't be enough in this case probably. Which application have you installed?

Thank you.