youngmon/atlassian-qna huggingface dataset:
I need to set Project in our office time zone.
Asked by kshridvipa7878:

Hi All,

Please help me about this issues.

1. I need to create automation rules for our all project. According to our shift time. 9 am to 6 pm.  
Once the user move a ticket to one status to another status, then next " due date \& time" It will be reflect in our working shift.

Actually, I added a custom field in our project, that filed name is " Due date \& time" and I have applied automation on each status for 2 hours( need to complete that ticket within 2 hours). If user move the ticket in another status by 5:30 pm then It reflected "due date\& time", by 7:30 pm.

How I can fix this issue?

2. I'm stuck in "Delay in days" field.  
Once the "due date \& time" passed then it will reflect under the "Delay in days" filed. Like 4, 5, 6 days in delay. Like this.

Please help me on this issue.

Thank you.


Answers:
author: Valeriia_Havrylenko_SaaSJet
body: Hi [@kshridvipa7878](/t5/user/viewprofilepage/user-id/5406446) :)   
Are you considering third-party add-ons to solve this problem?


author: Humashankar VJ
body: Hi [@kshridvipa7878](/t5/user/viewprofilepage/user-id/5406446) - You have to use both the conditions one after the another to keep solving the use case,


author: Humashankar VJ
body: Hi [@kshridvipa7878](/t5/user/viewprofilepage/user-id/5406446)

**Simplifying your problem statement to my understanding -- take a quick look and correct me if am incorrect:**

The actual problem statement is to set up automation rules for your project to update the "Due date \& time" field based on your office's working hours (9 am to 6 pm).

The issue occurs because the current automation adds 2 hours to the current time regardless of whether it's near the end of the working day, causing errors in setting due dates and times.

Adjustments are needed to ensure that due dates and times are correctly handled, particularly when tickets are moved near the end of the working day

**Try implementing the below conditions and see whether it solves your issue:**

* **Condition -** Check if the current time is within working hours (9 am to 6 pm).
* **Action -** If true, update the "Due date \& time" field with the current time + 2 hours.

This action helps to confirm that if a ticket is moved within working hours, the due date and time will be set to 2 hours from the current time.

* **Condition -** Check if the current time is outside working hours (after 6 pm or before 9 am).
* **Action -** If true, calculate the time until the next working day's start time (9 am) and add 2 hours to it. Update the "Due date \& time" field accordingly.

This action helps to confirm that if a ticket is moved outside working hours, the due date and time will be set to the start of the next working day + 2 hours.

**PS:**

This response inputs might also carry some research outcomes from the open source / blogs / user guide articles.

Hope this helps - Happy to help further!!  
Thank you very much and have a great one!

Warm regards

comments: author: kshridvipa7878
body: Hi,

Thank you for your time.

Please let me know that which condition I need to select.

Thank you,

Dvipa


Tags: jira-cloud

jira-core
Trigger automation when Parent changes?
Asked by Shawn Oster:

I'm looking to run some automation when an issue's parent (not the old Parent Link) changes.

I didn't find a specific trigger so I'm using "Issue updated" but I only want to continue the automation if the Parent changed, and ignore any other field changes. I figured I'd compare the previous value to the new value and if they're different then Bob's your uncle but I'm not able to get the previous parent value.

I've tried various combos of fieldChange, addedfieldChange, deletedfieldChange, and changelog.

Anyone have a simple, working example of capturing the previous Parent value, or any other way to restrict the trigger to just "When the Parent changes, then..."


Answers:
author: Dexter de Vera
body: Hi [@Shawn Oster](/t5/user/viewprofilepage/user-id/5048285) ,

You can use the trigger Field value changed. where you can access the previous value using this smart value {{fieldChange.fromString}}

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

comments: author: Shawn Oster
body: That works! I swore I tried that already but after awhile all the automations blur together. Thanks a million.


author: John Funk
body: Hi Shawn,

What is it you are wanting to do when the Parent changes?

comments: author: Shawn Oster
body: The answer below got me sorted but there are several things we do, depending on the context:

1. Copy or clear labels to match the parent
2. Adjust dates
3. Align certain custom fields

A lot of it is to sync metadata (custom fields) to make parent/child queries easier.


Tags: parent
Team Managed Project - board cards
Asked by Andrew Madar:

Is there a way to stack the cards on the Board view? I have a customer requesting me to do so.


Answers:
author: Bill Sheboy
body: Hi [@Andrew Madar](/t5/user/viewprofilepage/user-id/5447775)

What does your customer mean by "stack the cards on the Board view"? What would that look like?

Kind regards,  
Bill

comments: author: Andrew Madar
body: in the Board view, they usually have TO DO, IN PROGRESS, ON-HOLD, DONE etc..

Instead of a single card across the board, make some custom status cards, and place them beneath IN PROGRESS versus next to it.


author: Bill Sheboy
body: First, and to help align on some Jira terminology:

* an Issue is a work item in Jira; sometimes people refer to these as Cards or Tickets as some believe they have that appearance on a Board
* a [Board](https://www.atlassian.com/software/jira/guides/boards/overview#what-is-a-jira-board) is a view of issues, based on some saved Filter
* a Status is step in the workflow for an issue
* on the board, there are [Columns](https://support.atlassian.com/jira-software-cloud/docs/configure-columns/); there can be one or more Status values mapped to each Column

Back to your question, Boards rarely have only one Issue on them, and even then it is not shown across all Columns at once.

If you are instead asking *how can multiple status values can be shown in one column*, that is possible by configuring the board, and adding multiple status values to the column. The specifics of how to do that depend upon the type of project used.


author: Andrew Madar
body: They wanted to change the view so that multiple status could be view one on top of each other. I was checking on if there was another option and the only option was to combine statuses in a single board.


author: Bill Sheboy
body: Please see the information I provided earlier about configuring board columns with multiple statuses.

If that does not help, you may want to meet with your Jira Site Admin to explain what you are seeking to learn if that is possible with Jira Cloud.
Filter to display only 10 issues per day
Asked by kiran.gangadikar:

Hi Team,

I am trying to create a alert and send notifications to concerned member in a team. The scenario here is whenever the number of issues created in a day exceeds 10, then i would need to send notification. To send notification i am using external app, just need a filter to get the required data.


Answers:
author: Mauricio Heberle
body: You need to use Lookup issues combined with the component {{lookupIssues.size}} greater than 10 to achieve what you want.


Tags: filter
Due Date no longer populating in automated emails
Asked by Alicia:

Hi

We are using Jira v9.12.2 and we send out reminder emails based on the due date. However the value for the due date is no longer passing in the email.

Body--- Reminder

Please provide requested details for

Issue key {{key}} Summary: {{summary}} by Due Date: {{dueDate}}

Thank you

we have tried {{issue.dueadate}} {{issue.due}} {{due}}

All the other fields populate without issue except the due date.

Thank you


Answers:
author: John Funk
body: Hi Alicia,

You say "We are using Jira v9.12.2" but this post says you are using Cloud. Which platform are you on? And can you share a screenshot of your actual rule?

comments: author: Alicia
body: Seems to be in issue only when I use {{#lookupIssues}}. If I run automation to add the due date to a comment, single email, description works fine.


author: John Funk
body: Once again, can you share the actual rule?


author: Kalyan Sattaluri
body: As John has mentioned, please share actual rule.

Your original post did not mention lookupIssues. You tagged it as Cloud but we deduced it DC/Server.

Just FYI- In DC Edition, lookupIssues DOES NOT return all field values like in Cloud. So {{lookupIssues.Due Date}} will not return anything and is expected behavior.

Help us help you by sharing details of what you are trying to do and actual rule screenshot so we can help see if there are alternatives to get this data instead of relying on lookupIssues.


author: Kalyan Sattaluri
body: Hello [@Alicia](/t5/user/viewprofilepage/user-id/5309889)

Was it working and suddenly stopped?

Please try --\> {{issue.Due date}}

There is a space between Due and date.

comments: author: Alicia
body: About 2 months ago, the automation rule began to error on the due date, so I removed it. Now that I'm trying to leverage it again the value is blank.

{{issue. Due date}} did not work.


author: Kalyan Sattaluri
body: Hello [@Alicia](/t5/user/viewprofilepage/user-id/5309889)

Its {{issue.Due date}} Not {{issue. Due date}}

Also, if your set up has a customfield also called Due date, apart from the default field.. and you are using the new field... then you need to reference the field using customfield value.

Do you know if you have more than 1 Due date field?

As a test,

* Open Jira
* In new browser tab, put below url, replace bolded part with your jira instance and an issue key of an issue where Due date field is populated. Hit enter.

https://**yourdomain** .net/rest/api/2/issue/**ISSUEKEY**?expand=names

* If you see a response, copy all JSON to a notepad, Cntrl+F to find the date which was entered in the issue and find the field name beside it.
* Also, scroll all the way down and it will have a list of all fields available for this issue, scan that list as well to see any occurences of "Due date" and if there is any reference to custom field..

Please see below link for more details on above steps:

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

So that may be another reason why you are not seeing this value populated even though it looks like issue has it.


Tags: cloud
Comment internally if a service desk users commented
Asked by DG:

Hello togheter,

I want to change the comment from the user "Service Desk" to internally if the user updates the ticket with new a comment for e.g. by mail update:

**Trigger**

* When Issue commented

**Condition**

* If: User is "Service Desk"

**Action**

* Then edit comment visibility "internal"

I can't find a action like change the last comment.

Is there a existing workaround?

Cheers,

DG

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


Answers:
author: Tugba Capaci
body: Hi [@DG](/t5/user/viewprofilepage/user-id/3698850) ,  

<br />

Unfortunately, Jira automation doesn't support changing comment visibility directly.

However, you can check out the workaround recommended [here](https://jira.atlassian.com/browse/AUTO-914#:~:text=edit%20comment%20visibility.-,Workaround,-Workaround%2DAUTO%2D914).  

<br />

Tugba   
[actioner.com](https://actioner.com?utm_source=atlassian-community&utm_medium=tugba-actioner)
Assets as services & approvers
Asked by Daniel Ziemniak:

Hey all,

So recently we switched to jirasm cloud with asset addon.

In our company, we have Access Management introduced. Users must ask for approve of tool owner in order to get access there.

We have a lot of services and we'd like to automate it.

Currently, schema looks like:

Services Catalog. Every asset there is a separate service with some attributes. The one that interests me is called "Owner".

What I would like to achieve?

When user goes to our service desk, it picks a service and access approver - owner - is assigned as "Approver" automatically.

I know I should use **for each** component in automation and lookup objects, but that's all I know. Could someone help me with that? I tried to look over documentation but somehow it's complicated, the way Atlassian describe it.


Answers:
author: Mauricio Heberle
body: If understood it correctly, you are looking for something similar to this:  

![Captura de Tela 2024-04-03 a?s 11.13.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/316076iEA4D02FB1C2D85E7/image-dimensions/454x621?v=v2 "Captura de Tela 2024-04-03 a?s 11.13.16.png")

Lookup value: objecttype = "Employees" and "JIRA_USER" = {{reporter.accountId}}  
Edit issue field: "{{lookupObjects.Manager.JIRA_USER.accountId}}"

comments: author: Daniel Ziemniak
body: Well kind of.

There's no need for two field value comparators.

Also, services have defined owners, so I think "JIRA_USER" = {{reporter.accountId}} is unnecessary.

The biggest problem here I see is with smart value - lets assume that there's a field called "Service Approver" in a scheme called Services. User picked a service called "Foo" from dropdown field linked to services list. Should it look like that?

{{lookupObjects.Services.(Service Approver)}}?


Tags: asset-management

jira-cloud
Delete old files from the bucket
Asked by Ionut Ticu:

I have this pipelines for a VueJs project and I want to add a new step to delete the existing files from the Google Cloud Bucket before I move the new files(between step 1 an step 2). Any ideea how i can do that?

Thank you  

```


pipelines:
  branches:
    develop:
      - step:
          name: Generate Static Files
          image: node:12.22.9
          caches:
            - node
          script:
            - cd admin
            - npm install --omit=dev
            - npm run build
          artifacts:
            - admin/dist/*
            - admin/dist/**/*
            - admin/dist/**/**
      - step:
          name: Deploy to GCP Bucket
          image: atlassian/default-image:latest
          script:
            - pipe: atlassian/google-cloud-storage-deploy:2.1.0
              variables:
                KEY_FILE: $KEY_FILE
                BUCKET: 'develop'
                SOURCE: 'admin/dist/'
```


Answers:
author: Ben
body: Hi Ionut,

You would need to access that location and perform deletion commands from there - the **google-cloud-storage-deploy** pipe only handles deployment. You would need to execute a script for that.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Custom Toolchain on Bitbucket Pipeline
Asked by Achim Kre?:

Hello,

surprisingly, I couldn't find any information on this. Maybe it exists and I simply overlooked it...

Anyways, here is my question:  
How can I deploy a custom tool chain (C compiler/linker etc.) on Bitbucket Pipeline nodes?

We are working on an embedded low level C project using a commercial compiler. When the compiler is installed on that pipeline node/docker image whatsoever, how can I connect it to the license server, which is located in our company's VPN?

Thanks in adavance


Answers:
author: Patrik S
body: Hello [@Achim Kre?](/t5/user/viewprofilepage/user-id/5567055) and thank you for reaching out to the Community!

If you're running your pipelines in Atlassian infrastructure, in order to connect to external services that are behind a firewall, such as your license server, you'd have to allow the following IP addresses in the firewall:

* [Valid IP addresses for Bitbucket Pipelines build environments](https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/#Valid-IP-addresses-for-Bitbucket-Pipelines-build-environments)

In case your company has restrictions on IP addresses that can be allowed, you have the option to run the builds in your own infrastructure using [Self-hosted runners](http://Self-hosted runners). With the build running in your internal network, it wouldn't be necessary to make changes to the firewall, and the build would have access to the servers in your internal network.

I hope that helps! Let us know if you have any questions.

Thank you, [@Achim Kre?](/t5/user/viewprofilepage/user-id/5567055) !

Patrik S

comments: author: Achim Kre?
body: [@Patrik S](/t5/user/viewprofilepage/user-id/4603309), thanks for the explanation. That explains how we can handle the license server. What about the installation of custom toolchains (i.e. compilers, linkers etc.)?


author: Patrik S
body: The tools required for your build needs to either be installed during the pipeline execution or be part of the docker image (recommended).

You can use an existing image available in Docker-hub (or any other registry you may use) or [build your custom docker image](https://support.atlassian.com/bitbucket-cloud/docs/use-docker-images-as-build-environments/) containing all the dependencies/tools you need for the build.


author: Achim Kre?
body: Thank you, that helps and answers my questions.


author: Patrik S
body: Awesome [@Achim Kre?](/t5/user/viewprofilepage/user-id/5567055) ,

happy to have been of some help :)


Tags: bitbucket-cloud

cloud

compiler

toolchain

vpn
fetch output of pipeline and display in pipepline from where previous pipe was triggered
Asked by Chetan Shah:

in a step i am triggering a custom pipeline of a different repository. The pipeline in different repo runs, but its output is not seen in the repository which triggered it.Is there a way to fetch the output and display it in pipeline which actually triggered the custom pipe?


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

Welcome to the community!

If you are simply looking for information on whether the other pipeline build succeeded or failed, you can enable it in [Atlassian/trigger pipe](https://bitbucket.org/atlassian/trigger-pipeline/src/master/) wait, which will wait until the pipeline build on the other repository build end and update the pipe to succeed or failure.

However, if you looking for the whole build results output from another repository pipeline build then I believe this is not possible.

If you have a good use case for why you require this, I can help you raise a feature request.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Showing Wrong error for Free Plan limit
Asked by Muhammad Hasham:

We are using free plan for bitbucket. We have only added 3 people in our Repository permission setting, when we try to add one more person by sending invite its throwing an error for the person, repository already reached to plan limit which is wrong because earlier 4 people was added and we were using the same plan.


Answers:
author: Peter Van de Voorde
body: Hi [@Muhammad Hasham](/t5/user/viewprofilepage/user-id/5567037) ,  

Welcome to the Atlassian community.   

Have you checked the People tab to see how many members you have?  
Your limit is counted towards Members in your workspace, not just people in your repository.  

It could be that these numbers are different.  

Cheers,  
Peter


author: Muhammad Hasham
body: For reference please find the below screenshot

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


Tags: bitbucket-cloud

cloud
remove my all logedin device from bithbuket
Asked by fathima hafsa riyal huzair:

Hi,

how to remove all logged-in devices for bitbucket repo?.i noticed only current session device can logedout?


Answers:
author: Patrik S
body: Hello [@fathima hafsa riyal huzair](/t5/user/viewprofilepage/user-id/5566924)

and welcome to the Community!

The bitbucket account is integrated with your Atlassian account, so you can manage your active sessions through your [Atlassian account - Recent devices](https://id.atlassian.com/manage-profile/security/recent-devices).  

From that page you should be able to logout from all of the devices that currently have an active session. If you'd also like to log out of the device that you're on, choose **Log out** from the top right-hand corner of your screen.

You can find additional details on [Manage recently used devices for your Atlassian account.](https://support.atlassian.com/atlassian-account/docs/manage-recently-used-devices-for-your-atlassian-account/#Recentlyuseddevices-I'mconcernedthatsomeonehasaccesstomyaccount.WhatshouldIdo?)

Thank you, [@fathima hafsa riyal huzair](/t5/user/viewprofilepage/user-id/5566924) !

Patrik S


Tags: bitbucket-cloud

cloud
React Project Build Fails in Bitbucket Pipelines
Asked by Esteban Pisera:

Hi everyone,

I'm encountering an issue when running a pipeline in Bitbucket to build a React application using Docker. During the `npm run build` step, the process fails with the following error message:

The build failed because the process exited too early. This probably means the system ran out of memory or someone called \`kill -9\` on the process.

While the error message suggests a memory issue, it's surprising because the application itself is very basic.

Has anyone experienced a similar issue with a simple app, or has any ideas on what could be causing the build process to fail? Any suggestions on how to troubleshoot or resolve this would be greatly appreciated.

Thanks for your help!


Answers:
author: Aron Gombas _Midori_
body: An easy thing to try is changing to "size" to "2x", "4x" or even "8x".

Large "size" setting results in more CPU and *more memory*! If you set it to "8x" and it still fails with that error message, then it is not likely an issue with the memory available.

See: <https://support.atlassian.com/bitbucket-cloud/docs/global-options/#Size>

comments: author: Esteban Pisera
body: Thank you for the response, in the end, the solution was to add:  

definitions:  
services:  
docker:  
memory: 4096


Tags: bitbucket-cloud

cloud
Unable to login
Asked by juanjointera5:

Hello,

I'm unable to login to BitBucket, always got error:

We couldn't log you in {#toc-hId--349736134}
--------------------------------------------

You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

I tried several browser and machines, same error.

What's the problem ?

Thanks.


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

Welcome to the community!

Your account was inactive state hence you are unable to log in. I have reactivated your account, so please try to log in again and let me know how it goes.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud