youngmon/atlassian-qna huggingface dataset:
JIRA Automation: Populate Due Date 3 Business Days From Creation Date
Asked by Austin Songer:

How to created an automation that automatically populates Due Date 3 Business Days From Creation Date.


Answers:
author: Bill Sheboy
body: Hi [@Austin Songer](/t5/user/viewprofilepage/user-id/4615562) -- Welcome to the Atlassian Community!

What have you tried so far? Would you please post an image of your rule?

If you have not started, please select your rule trigger and then use the[plusBusinessDays(](https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/#Smartvaluesdateandtimefunctions-Example.6)) function to do this. For example:

* trigger: issue created
* action: edit issue, setting the Due Date to
  * {{issue.created.plusBusinessDays(3)}}

Kind regards,  
Bill

comments: author: Bill Sheboy
body: Hi [@Austin Songer](/t5/user/viewprofilepage/user-id/4615562)

Just following up to learn if this worked for you. If so, please mark this question as answered to help others in the future find solutions faster. Thanks!

__Bill
Jira Insight Automation
Asked by HaronSSG:

How can Jira Insight Automation sum two values to a third?

I realized that this is done through the groovy script, but did not figure out how.

There are two attributes attr1 and attr2 how to sum their values in attr3?![18h46m39s_001_.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/166502i4F8E42802A60E932/image-size/large?v=v2&px=999 "18h46m39s_001_.jpg")


Answers:
author: HaronSSG
body: And how did I not find these examples myself?


author: Fabian Lim
body: Hi [@HaronSSG](/t5/user/viewprofilepage/user-id/4610537)

To set it up here are the instructions: <https://confluence.atlassian.com/servicemanagementserver/configuring-automation-rules-1044784502.html>

An example of a script is here: <https://confluence.atlassian.com/insightapps/automation-1085180924.html>

There were more examples online so you will have to search them.

Regards


Tags: insight
Title of jira automation test
Asked by lihi atzmoni:

Hi,  
My name is Lihi and I'm working as a QA.   
I would like to know if it is possible when opening new jira issue from vs code, the jira issue title will be automatically the name of the test in the code.  

Thank you


Answers:
author: Brant Schroeder
body: [@lihi atzmoni](/t5/user/viewprofilepage/user-id/4609348) Welcome to the Atlassian community.

The summary (title) of the issue is set when you provide some context. For example, // TODO: this needs to be fixed. The message you provide after the in-line code becomes the Jira issue's subject line. Please see more information in the documentation here: <https://support.atlassian.com/bitbucket-cloud/docs/jira-issues-in-vs-code/>


Tags: cloud
linked issue status check in automation
Asked by laszlo.fischbein:

Gods of Automation and JIRA,

I have the following problem:

Given a four-phase task execution that works perfectly in a given project. Creates subtasks under the main task, when a subtask ends, a phase builds on it, all the way to the end.

However, when I want to create one phase in another project, it is created as a linked issue, but the automaton running in the base project cannot check the status of the linked issue. I tried every option, I looked it all the way, but it doesn't work, I can't move on with automation.

Help solve this by not having to buy any new add-ons, but just using the basic tools.


Answers:
author: Bill Sheboy
body: Hi [@laszlo.fischbein](/t5/user/viewprofilepage/user-id/4376789) -- Welcome to the Atlassian Community!

To view/add/alter issues in different projects with automation rules your rule needs to exist as a global or multi-project scope rule. Depending upon your version and license level this will consume execution counts up to your [service limits](https://support.atlassian.com/jira-software-cloud/docs/what-are-service-limits/).

One work-around to do this with a project-scope rule is to instead call the REST API form the rule. This will significantly slow down the rule, and could also then run up against your execution time limits.

Kind regards,  
Bill

comments: author: laszlo.fischbein
body: I tried both as a global and multi-project rule, but it didn't work at all


author: Bill Sheboy
body: Would you please post an image of your global/multi-project rule, including an image of the detail section? I could just be a settings thing.

Thanks!


author: laszlo.fischbein
body: in the meantime it has been resolved


author: Bill Sheboy
body: I'm glad to learn it is resolved. How did you fix it?

Thanks!
Bulk update related issues's status when version is released
Asked by Thomas Vink:

Hello,  

I thought this would be easy. I want the following:

- When we set the status of an issue to "Done", a pop-up enters the screen and we fill in the fixVersion (this already works)

- When I manually release the version, I want an automation to be started which sets the status of all issues with fixVersion == Version to the status "Released"  

In automation there is a option : When: Version released. But now I cant find the right action to perform when this happens.

I want this because the status Released kicks of another automation in which the related ticket in Zendesk gets updated with a comment and a new status. Now my colleagues of support know they can inform the customer. Now we have to do this by hand which is a lot of work.  

FYI: We are using Jira Cloud


Answers:
author: Nic Brough -Adaptavist-
body: Your automation will need to search for all the issues that need to be changed and for each one, transition it through the workflow to released.

Have a look at the "transition" action in the Automation options.

comments: author: Bill Sheboy
body: Hi [@Thomas Vink](/t5/user/viewprofilepage/user-id/4606641) -- Welcome to the Atlassian Community!

Adding to what Nic suggests, you would use a [branch to iterate over the issues](https://support.atlassian.com/jira-software-cloud/docs/automation-branches/) with that version. For example:

* trigger: version released
* branch: on JQL for issues with that version (or, just use branch on issues fixed in version)
  * if condition: issue is not already "Released"
    * action: transition the issues to "Released"

Kind regards,  
Bill


author: Irzhy Ranaivoarivony
body: Hi,  

could you please privide an example about how to to such a JQL including for example the release name.

Eg. I have a bunch of issues with "Fix Version" set to release name value

I'm struggling to setup that automation  

Thanks


author: Nic Brough -Adaptavist-
body: "fix version = \<name of fix version\>" will find all the issues with a specific version on them.


author: Irzhy Ranaivoarivony
body: Thanks for your reply.

I found it, it was a built-in feature on jira that I just missed. no need jql at all

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


Tags: fix-version

version
Hi, guys! Can you answer why user storie are with this organization at the board? How can I fix it?
Asked by Louise de Melo Macedo:

That is how I visualize the board. It's not like card as usual.

![Captura de tela 2021-10-14 165352.png](https://community.atlassian.com/t5/image/serverpage/image-id/165040i5CA07B225DC13EFC/image-size/large?v=v2&px=999 "Captura de tela 2021-10-14 165352.png")


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Louise de Melo Macedo](/t5/user/viewprofilepage/user-id/4542331)

Most likely you have activated the board's swimlanes.

* Go to board settings
* Swimlanes
* Select none

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

comments: author: Louise de Melo Macedo
body: Thanks!!!!!! I fixed it!!!!


author: Fabian Lim
body: Hi [@Louise de Melo Macedo](/t5/user/viewprofilepage/user-id/4542331)

Looks like you have swimlanes view with subtasks. Disable them.

Instructions: <https://confluence.atlassian.com/jirasoftwareserver/configuring-swimlanes-938845294.html>

Regards.

comments: author: Louise de Melo Macedo
body: Thanks a lot! It helped me!!!


Tags: board

jira-software
assign tickets to online users in a balanced way
Asked by Matthias Kauer:

i know there is a way to automatically assign tickets in a balanced way to users. but what about a user is out of office or sick. how can i make sure jira is not assigning ticket to them?


Answers:
author: Fabian Lim
body: Hi [@Matthias Kauer](/t5/user/viewprofilepage/user-id/4608204)

Unfortunately, there is not easy way to do this. In our case, with the balanced way automation, we remove users from the list or group when they are away on vacation.

Regards,

Fabian


author: Matthias Kauer
body: hmm ?


Tags: cloud
List of issue keys for summary email or web request body
Asked by David Meadow:

I am building an automation whereby the user can trigger an action on all the issues under an epic. When done I want to send a list of the issues in an email and to a web service for external actions. No matter what form I use for the smart value I only get the first issue key. I enabled "Process all issues produced by this trigger in bulk", used all of the variations I could think of for the smart value in the body -- {{issue.key}}, {{#issue.key}}, {{#issue}} {{key}} {{\\}}, ...

What am I missing?


Answers:
author: Joy Chiu
body: Hi [@David Meadow](/t5/user/viewprofilepage/user-id/3731404) ,

Hope this doc can help:

<https://support.atlassian.com/jira-software-cloud/docs/smart-values-lists/>

Cheers,

Joy \[Automation for Jira\]


author: Mykenna Cepek
body: Without more information about your rule, it's hard to make any suggestions for improving it. A screenshot of the rule can help, or at least more details about the automation components you're using and their configuration.

If you're trying to aggregate values in an automation variable within a loop, be aware that that won't work.

comments: author: David Meadow
body: ![main line.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/165018iCFFA70CA7FFCCEA6/image-size/large?v=v2&px=999 "main line.jpg")![Branch rule.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/165019iE10545577C40D89E/image-size/large?v=v2&px=999 "Branch rule.jpg")![Web request.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/165020i70762200F1296C2F/image-size/large?v=v2&px=999 "Web request.jpg")


author: David Meadow
body: I found it, bad syntax. I thought I had tried this but apparently not. {{#issues}}{{key}}, {{/}}


Tags: jira
Lookupissues says "No related issues could be found", when in fact the JQL script shows there are
Asked by andycaseASA:

Lookupissues says "No related issues could be found"

I'm using Team-Managed-Software project on Cloud server.

I've set up a relatively simple automation JQL script

a) scheduled every 5 mins

b) a simple script that guarantees to find issues (priority \>medium)

c) will send email using simple content ie {{#lookupIssues}} \* {{key}} {{/}}

When the rule runs, it says "No actions performed", and expanded it says

"No related issues could be found"

Well its quite clear that the JQL script finds 9 issues, so why doesnt it work?

![JIRA Automation1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/164921i43EB5B825E6AA160/image-size/large?v=v2&px=999 "JIRA Automation1.jpg")![JIRA Automation2.jpg.png](https://community.atlassian.com/t5/image/serverpage/image-id/164922i282586D30F7C076B/image-size/large?v=v2&px=999 "JIRA Automation2.jpg.png")


Answers:
author: andycaseASA
body: my bad. I overlooked script I'd put in the "schedule", which returns 0 issues.


Tags: search
Jira Automation - issue.issuelinks.size not working on Jira Server
Asked by Matt Moody:

So I am on Jira Server 8.5.4 with Jira Automation plugin 7.3.5.

I have the following rule setup:

![Screenshot 2021-10-14 092349.jpg](/t5/image/serverpage/image-id/164958i50EC201B280F1411/image-size/large?v=v2&px=999 "Screenshot 2021-10-14 092349.jpg")

The Audit log shows success that it commented on the issue but when I look at the issue the size is missing. Just has the following comment:

![Screenshot 2021-10-14 092609.jpg](/t5/image/serverpage/image-id/164959iF7520D2BB83FD7FE/image-size/large?v=v2&px=999 "Screenshot 2021-10-14 092609.jpg")

I have two linked issues and when I remove both of them then the rule will not add a comment so I know it is running the rule and it can recognize that there are linked issues but it won't print out the number of linked issues in the comment.

If anyone knows what I have messed up I would really appreciate some input.


Answers:
author: Bill Sheboy
body: Hi [@Matt Moody](/t5/user/viewprofilepage/user-id/544711)

To be honest, I am using Cloud not Server. With that out of the way...

I see that smart value available for Cloud and it is not listed on the documentation for Server. You may want to try these steps to confirm if the smart value is available for your instance:

<https://confluence.atlassian.com/automation/smart-values-for-fields-993924665.html>

Kind regards,  
Bill

comments: author: Matt Moody
body: Thanks [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) After following that link you are correct it is not available for server.


author: Bill Sheboy
body: Matt, I am glad to learn you got an answer, and it is unfortunate that field isn't available.

I'm hoping we get a single smart value glossary one day to help finding these differences between products. Here's my suggestion for that:

<https://jira.atlassian.com/browse/JIRAAUTOSERVER-103>


Tags: cloud
How can we avoid stories or bugs to be done when sub tasks are not closed, cancelled or done
Asked by Aravind Koushik Gobburu:

How can we avoid stories or bugs to be done when sub tasks are not closed, cancelled or done?(Using Automation for Jira PLugin)

Can any one explain me the step by step procedure to do this?

Am really new to this automation. It will be helpful for me if you do this.

Thanks in advance.


Answers:
author: Darryl Lee
body: Hi. You can use a Condition in your workflow. No Automation required. This is a good HOWTO with pictures (it's for Jira Server, but the steps are the same):

<https://confluence.atlassian.com/jirakb/how-to-prevent-issues-from-being-closed-while-the-sub-tasks-are-still-open-in-jira-724928276.html>

And here's the official documentation for that Condition in Cloud:

<https://support.atlassian.com/jira-cloud-administration/docs/configure-sub-tasks/#Configuringsubtasks-Howtoblockaparentissueworkflowbasedonasub-taskstatus>


Tags: cloud
Request for Garbage Collection
Asked by leitschj:

I recently used the BFG tool to remove some large files and I'd like to request a manual GC for bitbucket.org/petejacobs/ipancreas-simulator. Much appreciated!


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

I have triggered Git GC on the affected repository, which is now at 15MB.

Could you review them and confirm with me?

Regards,  
Syahrul

comments: author: leitschj
body: Perfect! Thanks a lot. -Joe


Tags: bitbucket-cloud

cloud
Trouble with the academic plan
Asked by Pierre-Olivier Fortin:

Hello, I'm a student working in a team project of more than 5 users. We wish to use bitbucket as our git-based repository. We're all students and using our university emails and we were under the impression that our accounts would automatically convert to an unlimited academic plan as per what is said here: <https://www.atlassian.com/software/bitbucket/pricing#free-community-or-academic-subscriptions>. Yet when a 6th member of our team project is invited, the following message appears: The owner of this repository is already at their plan limit and will need to upgrade before adding more users. How do we fix this problem?


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@Pierre-Olivier Fortin](/t5/user/viewprofilepage/user-id/5436616) ! Welcome to the Atlassian Community!

I think you're going to have to follow up and apply for the classroom licensing. The application link follows: <https://www.atlassian.com/solutions/survey/academic-license-request#/>


Tags: bitbucket-cloud

cloud
Anyone more lost all repositories?
Asked by zharack:

Since yesterday, trying to update a project, I cannot make any uploads. When entering the website and accessing my repositories the message appears:  

Something went wrong...

While we check things on our end, contact support if the problem persists.

Does anyone know if it is a problem pending fixing, or the problems have already been fixed and repositories have been lost or something similar? Any help would be welcome, because it would be a big blow to have lost everything.


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

Welcome to the community!

Have you tried accessing the workspace directly, for example, from the workspace list to see if you can see all the workspace you have access to at:

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

Then, make sure the workspace/project you were trying to access is in the list. If not, then it's likely that your access to the workspace has been removed, hence the error message. If so, you may need to contact the workspace admin to grant you access again.

I hope this helps, and let me know if this is not the case.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Code changes are not visible
Asked by Jeyashree Deivanai:

Hi Team   

While we try to raise a PR code changes are not visible.


Answers:
author: Theodora Boudale
body: Hi [@Jeyashree Deivanai](/t5/user/viewprofilepage/user-id/1671526) and [@Rob_Plant](/t5/user/viewprofilepage/user-id/5437096),

Are you still experiencing issues?

If so, please create a ticket with the support team and provide the PR URL so we can investigate.

You can create a ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

The support ticket will be visible only to you, Atlassian staff, and any participants you add during ticket creation (optional).

Kind regards,  
Theodora


author: Rob_Plant
body: We are experiencing the same issue. The changes can be viewed still through the commits tab, but not through the PR view. Also approving and merging still functions correctly. So we have a work around but it is not ideal.


Tags: bitbucket-cloud

cloud
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compil
Asked by durgasaigandreddy:

I am using this bitbucket-pipelines.yaml file  
# Template maven-build

# This template allows you to test and build your Java project with Maven.  
# The workflow allows running tests, code checkstyle and security scans on the default branch.

# Prerequisites: pom.xml and appropriate project structure should exist in the repository.

image: maven:3.6.3

pipelines:  
default:  
- parallel:  
- step:  
name: Build and Test  
caches:  
- maven  
script:  
- mvn -B verify --file pom.xml  
after-script:  
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.  
- pipe: atlassian/checkstyle-report:0.3.0  
- step:  
name: Security Scan  
script:  
# Run a security scan for sensitive data.  
# See more security tools at [https://bitbucket.org/product/features/pipelines/integrations?\&category=security](https://bitbucket.org/product/features/pipelines/integrations?&category=security)  
- pipe: atlassian/git-secrets-scan:0.5.1  
could you help with this


Answers:
author: Mark C
body: Hi [@durgasaigandreddy](/t5/user/viewprofilepage/user-id/5436914),

Welcome to the community.

Based on the error message, it seems Maven is having issues with the code compiler.  
To troubleshoot the issue further, I'd recommend considering the following:

* If you have a successful build prior to this, kindly rerun it and see if it will still succeed or not, if yes, try to compare the successful rerun to the currently failed build
* Review your POM file and see if the code is intended for the default compiler
* Try to debug your Pipelines build locally in a Docker container to test it further - [Debug pipelines locally with Docker](https://confluence.atlassian.com/bbkb/debug-pipelines-locally-with-docker-1167698072.html)

You can also refer to this knowledge-based article about [Troubleshooting Bitbucket Pipelines](https://confluence.atlassian.com/bbkb/troubleshooting-bitbucket-pipelines-1141505226.html).

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Antivirus blocks files
Asked by Saber Hosseini:

Hi,

In our repository, we are facing an issue when we want to download some files (like .exe or .zip). After uploading a file when we want to download the file again, our anti-virus gets activated and treats the file as virus. This even happens in Chrome and it treats our files as threats.

I was wondering is there any way to fix this problem!

Regards,

Saber


Answers:
author: Ben
body: Hi [@Saber Hosseini](/t5/user/viewprofilepage/user-id/5333602)

Just jumping in here as I noticed you have not yet received a response from our community.

Whilst we cannot assist directly with third-party applications such as AV, I'd suggest whitelisting **bitbucket.org** and**api.bitbucket.org**- this should cover the Bitbucket Website as well as any API calls associated with our website.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Preview a different file than Readme.md
Asked by Serge Ngongang:

I would like to preview a different file than Readme.md , e.g. Note.md to preview the project description in git.

There is already for the project an existing Readme.md in the root drectory, which it is use for different purposes.

The idea is to have both Readme.md and Note.md and only the contains of Note.md should be previewed.

Is there any solution?


Answers:
author: Ben
body: Hi [@Serge Ngongang](/t5/user/viewprofilepage/user-id/5436819)

Currently, the only filename that will be displayed is readme.md, any other .md files with a different name to this will not be displayed as documentation.

I have raised a [feature request](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) with our developers on your behalf. Please feel free to **Watch** this and **Vote**for it to improve its visibility with regard to customer demand:

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

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Serge Ngongang
body: Thanks for the answer. I will follow that.


Tags: bitbucket-cloud

cloud