youngmon/atlassian-qna huggingface dataset:
Assignee update - Automation rule to transition a Parent issue to "In Progress"
Asked by Agneessens, Neelam:

Hello,

I created an automation rule to transition a Parent issue to "In Progress" when its first Sub-task is moved to "In progress".

The rule is correctly applied but for some reason, the assignee of the story is automatically updated with my name..

I added an action asking to assign the issue to the user who triggered the event but the assignee still changes with my name.

Would you please be able to help me ?

Thank you {#toc-hId--384681752}
-------------------------------


Answers:
author: Tansu Akdeniz
body: Hi [@Agneessens, Neelam](/t5/user/viewprofilepage/user-id/5435818)

Welcome to the community.

Please go to Rule details and check the actor. Actor might be your user, then it is assigned to you, if there is a post-function that assigns issue to current user.

comments: author: Agneessens, Neelam
body: Hi Tansu,

Thank you!

Your reply was helpful.


author: Sebastian Krzewi?ski
body: Hi [@Agneessens, Neelam](/t5/user/viewprofilepage/user-id/5435818)

Do you have set post function for changing assignee on transition? If yes it looks, that this cause an issue. To solve that you can change rule actor from you to person who trigger this rule.

Regards,

Seba

comments: author: Agneessens, Neelam
body: Hi Sebastian,

Thank you for your reply. There is indeed a post function set by default.

This was helpful!

Regards,

Neelam


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

Check the history of the field to see who is shown as updating the assignee field. I suspect you are setting that in a post function of the workflow or through another automation rule.

So, when you execute it, immediately check the audit log for the all automation rules (Settings \> System \> Global Automation - Audit log) to see what rules fired at the same time. Also check the issue history.

comments: author: Agneessens, Neelam
body: Hi John,

Thank you!

Very clear and helpful!


Tags: cloud
JIRA Automation: emailed issues list created w/ smart values: how to separate values by tab char?
Asked by Jacqueline Arrindell:

I can't seem to figure out how to insert a tab character to separate values in my list of issues that I generate and email in bulk via JIRA Automation using automation smart values.

I can successfully create my email w/ correct list of issues - where issue values are separated by the pipe character "\|".

However, I would like to use a tab character to separate the values so that I can more easily / readily import this data into excel.

As an example, I've tried appending a tab character to each smart value using the concat("\\t") function:

{{#issues}}  
{{key.concat("\\t")}}{{resolution.name.concat("\\t")}}  
{{/}}

But the "\\t" is not producing a tab character; instead it gives me a space character.

How do I add/append a TAB character? Is this possible in Jira automation?

In advance, thanks for your help.


Answers:
author: Kseniia Trushnikova
body: Hi [@Jacqueline Arrindell](/t5/user/viewprofilepage/user-id/5434371),

Try this:

```
{{#issues}}
<pre>{{key}}&#x9;{{resolution.name}}&#x9;</pre>
{{/}}
```

The **\<pre\>** tag defines preformatted text. **\&#x9;** is a HTML entity for tabulations.

comments: author: Jacqueline Arrindell
body: Yes, that worked! Thank you [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830) .


author: Bill Sheboy
body: Hi [@Jacqueline Arrindell](/t5/user/viewprofilepage/user-id/5434371) -- Welcome to the Atlassian Community!

Have you tried concatenating the code for tab instead, perhaps like this:

concat("\\u0009")

Kind regards,  
Bill

comments: author: Jacqueline Arrindell
body: Yes, I did try that as well. Same... resulted in a space and not a tab character.

Thanks.


author: Bill Sheboy
body: Interesting...Where are you storing the result of the concat() operation? I tried it updating the summary field and a tab was inserted.

Updated: I just noticed you are doing this in an email.


Tags: cloud

email

jira

smart-value
Create Subtask and create assignee based on component
Asked by Quang Nguyen:

I am trying to run a schedule that searches through all Stories to create Subtasks if a condition is met, duplicates the components from the Story to the Subtask, and then assigns the Subtask to a user based on the components. Something like "if component contains 'Apple' then assign to 'Sam', if component contains 'Banana' then assign to 'Chris', if component contains 'Pear' then assign to 'Tim', etc..".

So far I have:

![2024-02-19_16h42_08.png](https://community.atlassian.com/t5/image/serverpage/image-id/307335i99EE479DDB332AED/image-size/large?v=v2&px=999 "2024-02-19_16h42_08.png")

However the last step, "assign the issue to..." is changing the assignee of my Story. I would like to have it change the assignee of the Subtask instead.

I also tried adding the assignee in the second step, "Then: Create a new subtask", but the option to add an assignee there did not have functionality to search in the components.


Answers:
author: Bill Sheboy
body: Hi [@Quang Nguyen](/t5/user/viewprofilepage/user-id/5277828)

As you are trying to assign the newly created subtask, there are two ways to solve this:

* After the issue is created, branch to Most Recently Created Issue to assign it, including your conditional logic inside of the branch
* Assign the issue when it is created by setting the assignee field. Depending upon your Jira version, there are various ways to do this:
  * With Jira Cloud or Data Center, you could first use if / else conditions to create a variable to use as the assignee's account id value
  * With Jira Cloud, you could use a Lookup Table to map the component values to the assignee account id values
  * With any version, you could use if / else conditions, and repeat the Create Subtask action in each condition area...with one for each possible assignee value.

Kind regards,  
Bill

comments: author: Quang Nguyen
body: Thanks Bill, I am on Jira Server (with company in URL). I created the branch to Most Recently Created Issue. Did not see that option before!


author: Rilwan Ahmed
body: Hi [@Quang Nguyen](/t5/user/viewprofilepage/user-id/5277828) ,

If you are in jira cloud, use "FOR EACH: add a branch" component. This will run the rule for the sub-tasks created.   
More details is in <https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/>

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


author: Hariharan Iyer
body: Hi [@Quang Nguyen](/t5/user/viewprofilepage/user-id/5277828) ,

The issue in the last step would always refer to the trigger issue only. For setting the assignee in the newly created issue, you can click on "Choose fields to set", add Assignee there and then use a smart value with if/else conditions to assign the correct user - <https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/>

Alternatively you can identify the owner earlier and store it in a variable, and then use the variable to set the value.

Hope that helps!
Can Changelog be used on customfield?
Asked by Garret Zhang:

Hi,

As title says, is this possible?

None of the below works...

{{#changelog.SIMActivationDate}}{{toString}}{{/}}

{{#changelog.customfield_11712}}{{toString}}{{/}}

{{#changelog.issue.customfield_11712}}{{toString}}{{/}}

![Screenshot 2024-02-19 113844.png](https://community.atlassian.com/t5/image/serverpage/image-id/307319iB4A4CF7D6E956832/image-size/large?v=v2&px=999 "Screenshot 2024-02-19 113844.png")

I do know this work with build in field like Due date... Below works for my other automation.

{{#changelog.duedate}}{{fromString}}{{/}}

Thanks,

Garret


Answers:
author: Kalyan Sattaluri
body: All below worked for me to log the changed value for a custom field (Date 1) of type Date.

{{#changelog.Date 1}}{{toString}}{{/}}

{{changelog.Date 1.toString}}

{{fieldChange.toString}}

When I referenced custom field name itself, like below, I did not get any results.

{{#changelog.customfield_11308}{{toString}}{{/}}

{{changelog.customfield_11308.toString}}

I am guessing its because when you look at sample URL for an issue, field is referenced by its name.

[https://yourdomain.net/rest/api/2/issue/KPMS-53?expand=changelog](https://agile-jira-uat.wellsfargo.net/rest/api/2/issue/KPMS-53?expand=changelog)

Now to your issue, please check the field name is correctly spelled out.

Should it be like below?

{{#changelog.SIM Activation Date}}{{toString}}{{/}}

comments: author: Garret Zhang
body: that worked! I didn't know smart value accept spaces. Thanks much!
automation rule for field team
Asked by Flavia Vieira:

Hi people, Im trying to create an automation rule for move project to another project, the field Team should be empty.

I tried to run many times, but the project moves to another project, but the field Team keep the same team as previous.

Can you help me?


Answers:
author: Mark Segall
body: Hi [@Flavia Vieira](/t5/user/viewprofilepage/user-id/5385739) and welcome to the community!

Can you please share screenshots of your rule? This would provide further context so we can help you better.

comments: author: Flavia Vieira
body: When issue movd:

From project A to project B

Issue type: Defect

Then: Edit issue fields

{

'fields": {

"Team": " "

}

}


author: Mark Segall
body: I see a couple potential issues:

1. You have an apostrophe instead of quotes to open "fields"
2. You have a space between the quotes

Try this:

```
{"fields": {"Team": ""} }
```


author: Flavia Vieira
body: hi Mark,

Thank you very much.

I made some tests here, changing one project to another project and the field Team clear when moving the project.

It was exactly I wanted.

Thank you!


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

There is not an automation rule trigger to do a move of an issue. So you must be doing a manual move? But when the move happens it clears the field?

comments: author: Flavia Vieira
body: Hi John,

I created a rule to change one project to another project, but the team continues the same team as previous project, don?t change to empty.

When issue movd:

From project A to project B

Issue type: Defect

Then: Edit issue fields

{

'fields": {

"Team": " "

}

}
Slack Channel override using Automation for Jira
Asked by Venkatesh Prasad:

As discussed in detail in this article <https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Jira-Automation-Slack-Override/qaq-p/1425945> , there is the new Slack App Webhook and there is a Legacy App Webhook and Slack has stopped the support for Legacy incoming Webhook.

We really are in need of the channel override facility that is available in the "Send Slack Message" action available in Automation for Jira so we can configure Global rules and onboard multiple projects into the rule using one single webhook link.

Is there any way we can achieve this requirement ?


Answers:
author: Nawazish Ali
body: I am new so I don't know what to do


author: Nawazish Ali
body: Any suggestions for me


author: Daniel Eads
body: Hi [@Venkatesh Prasad](/t5/user/viewprofilepage/user-id/5420443) , welcome to the Community!

At the moment, Automation still requires the Legacy webhook app for channel overrides. I understand in some cases, Slack workspace admins are disabling the legacy webhook app.

It's possible to put the webhook URL in from a custom App, but the channel override box in the Send Slack Message action will not work correctly with that webhook URL. It will only send a message to the channel the webhook was created for.

You can create multiple webhooks in the Slack app and use those webhooks in different Send Slack Message actions, but you would not be able to use a single webhook and use smart values to set the channel/user property for the channel override.

Updating the Send Slack Message action with the custom Slack App surface is listed as a suggestion on our public Jira instance: <https://jira.atlassian.com/browse/AUTO-203> - please vote on and watch that issue for updates on progress.

Thanks,

Daniel \| Atlassian Team

comments: author: Nawazish Ali
body: What is the task now
How to set a time to trigger
Asked by Daniela Scheller:

I would like to add a time when i want to trigger the automation (at 2am).  
What's the easiest way to do so?  

<br />

Thanks


Answers:
author: Jeroen Poismans
body: Hi Daniella and welcome!

Easiest way is to use a scheduled trigger, basic:

![Screenshot 2024-02-19 at 08.58.45.png](https://community.atlassian.com/t5/image/serverpage/image-id/307164iB52BBD58D52766CA/image-dimensions/299x146?v=v2 "Screenshot 2024-02-19 at 08.58.45.png")

or advanced where you can provide a CRON expression:

![Screenshot 2024-02-19 at 09.00.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/307165iF8269DCCEC808BFA/image-dimensions/343x259?v=v2 "Screenshot 2024-02-19 at 09.00.08.png")

More info on CRON you can find here (somewhere mid-page):

<https://support.atlassian.com/jira-software-cloud/docs/manage-filters/>

Regards!
Copy "Team" field into a new Comment
Asked by Kallan Sanders:

Am I able to create an automation rule that copies a value entered into the "Team" field into a new comment?

In other words, anytime the Teams field is updated, I want whatever value is entered there to create a new comment with that value. This allows us to send a notification to that team that they have been tagged in a comment. (if [@CloudOps](/t5/user/viewprofilepage/user-id/1346896) is entered in Team, the comment would be "@cloudops" which would then tag all members of the CloudOps team.

In effect, this would allow us to use the Team field much like we would the Assignee field. We want to assign tickets to a team and have them be notified. There could be an easier way to do this, I am up for suggestions!

Thanks for any help the community can provide.


Answers:
author: John Connolly
body: Hi [@Kallan Sanders](/t5/user/viewprofilepage/user-id/4484291)

I can almost get this to work with the following code, but as you can see it doesn't turn the text into a hyperlink, that actually tags the team...

I'm sure there will be a way around this. I'll dig around some more...

![Screenshot 2024-02-17 at 9.01.42?am.png](https://community.atlassian.com/t5/image/serverpage/image-id/306997i4F7A2AE91BBD976E/image-size/large?v=v2&px=999 "Screenshot 2024-02-17 at 9.01.42?am.png")![Screenshot 2024-02-17 at 9.03.00?am.png](https://community.atlassian.com/t5/image/serverpage/image-id/306998i6926B5D1594A4958/image-size/large?v=v2&px=999 "Screenshot 2024-02-17 at 9.03.00?am.png")
VS Code Git Initial Push Challenges
Asked by Paul Lewallen:

I'm pushing a local repo to Bitbucket cloud from VS Code integrated terminal and authentication keeps failing. There is a prompt in VS Code to enter the Bitbucket password and it won't accept the Bitbucket password because the integrated terminal keeps saying the authentication failed. I changed the password in Bitbucket with the same result. Then I installed the Atlassian extension into VS Code and I authorized Bitbucket Cloud and that didn't help authenticate. Then I added my public SSH key to Bitbucket and I still see a prompt in VS Code for a password that subsequently fails when I paste the bitbucket password. Bitbucket authentication is blocking my progress.


Answers:
author: Paul Lewallen
body: Forget it. I created an App Password with repo permissions and it authenticated. Make sure to document the App Password because you can only see it once.


Tags: bitbucket-cloud

cloud

git

vscode
Unable to load https://bitbucket.org/abdullah0096/lasvegas-ecdlp.git/src in the web browser
Asked by La?l Cellier:

Hi guys.

Whatever the web browser, the page loads but I'm unable to access

<https://bitbucket.org/abdullah0096/lasvegas-ecdlp.git/src>

How to fix this?? I would like to submit a pull request which requires web brower access so I can't just download the source code...


Answers:
author: Mark C
body: Hi [@La?l Cellier](/t5/user/viewprofilepage/user-id/5559647)  

Welcome to the community.  

I believe you will have to access the URL without the **.git** extension from its URL.  

You can try this URL instead: <https://bitbucket.org/abdullah0096/lasvegas-ecdlp/src>  

Let me know how it goes.  

Regards,  
Mark C


Tags: bitbucket-cloud

bitbucket-development

cloud

pull-request
You may run into this issue when you use specific browsers or add-ons that hide the referer header f
Asked by Paul Lewallen:

Is my account marked as inactive or is it some browser configuration issue?


Answers:
author: Ben
body: Hi Paul,

I've just re-activated your account, it was marked **DORMANT**as you had not logged in via the UI since 2018.

You should be able to login again now :)

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Get web access to a workspace?
Asked by steve_lee:

I've been using BB for ages to archive my work accounts etc. But Ive always been itdoing via git and SSH.

I'm pretty sure I know the email that the workspace is associated with but it does not show these critical repos when I log in to the web app. Only other more recent repositories. Probably added after the Atlassian takeover.

When I started to create this ticket I was prompted for the product and the correct one WAS listed when logged in. So it is associated with the email address I log in as .

How the heck to I access my ancient repos via my account in the web app?  

I quess I could the repos again them but that would probably cause probalems and I've no idea how to add exisiting repos.

In summary: I have the workspace name as used in the git remote and I have my SSH keys. I have the email address of the account they should show up as but I don't see them. How make them visible?

thanks


Answers:
author: Syahrul
body: G'day, [@steve_lee](/t5/user/viewprofilepage/user-id/726172)

I believe you can't see the workspace because you are currently viewing a different one. Your account has access to multiple workspaces, likely causing the issue.

If you are in Workspace A, you won't be able to see the content from Workspace B. To view the content in Workspace B, you need to switch to it. You can do this by navigating to the top right corner of your avatar, selecting "All Workspaces," and choosing the workspace you wish to view. Alternatively, you can access the list of workspaces directly at:

<https://bitbucket.org/account/workspaces/>

Please try this.

Regards,  
Syahrul

comments: author: steve_lee
body: Yes, thank you! I was looking in all the menus!

What a CRAZY inappropriate place to hide an important feature! ie the top level of your repository structure,

Thank you.


Tags: bitbucket-cloud

cloud
Support for SSH keys secured with security keys
Asked by Volodymyr Lantsov:

Starting from OpenSSH 8.2, SSH keys support an integration with physical security keys (FIDO2 / U2F). There are 2 new SSH key types introduced: "**ed25519-sk** " and "**ecdsa-sk**". What this actually means is that you need to have a hardware security key inserted into your USB port and a button on the security key physically pressed in order to use the SSH key.

Currently, Bitbucket does NOT support those keys however OpenSSH 8.2 was introduced back in February 2020.

I'd like to ask Bitbucket staff to consider adding the support for security keys.

I'm leaving some details below.

Example of command to generate a SK-secured SSH key (PowerShell):

**ssh-keygen -t ed25519-sk -O resident -O verify-required -O user=personal -C "Personal key (SK)" -f $env:USERPROFILE\\.ssh\\id_personal_sk**

Meaning of some parameters:

**-O resident** means that a generated key will be stored on the security key itself.

**-O verify-required** means that you need to verify the security key presence every time we try to use SSH key.

**-O user=personal** means that a key will be scoped to a user named 'personal'. You can define different names to store multiple SSH keys simultaneously on the same security key.

How final public key looks like:

**sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOMCvBwsYCZPt1HIHAMZzC0zsCXb7t933kAudU8CP7FBAAAABHNzaDo= Personal key (SK)**

Thank you for your time!


Answers:
author: Theodora Boudale
body: Hi Volodymyr,

Thank you for the feedback. We have a feature request in our issue tracker:

* <https://jira.atlassian.com/browse/BCLOUD-20297>

I suggest adding your vote to that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the product managers better understand the demand for features. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to be notified via email on updates.

Implementation of features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket
Asked by VAISHNAVI S:

I cannot able to login to Bitbucket ,if i entered the verification code its coming like invalid code .


Answers:
author: Ben
body: Hi VAISHNAVI,

Please refer to this article below - you will need to reset either your Atlassian Account 2FA code or Bitbucket Cloud 2FA code (this depends on the screen display seen when entering the code) to regain access to your account:

* <https://confluence.atlassian.com/bbkb/how-to-disable-reset-2fa-on-bitbucket-cloud-and-atlassian-account-1236932929.html>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud