youngmon/atlassian-qna huggingface dataset:
Query for "shame reports" - Issues assigned to me recently that I haven't responded to.
Asked by Allie Stewart:

Hi,

I'm working on a filter for "shame reports" as it were. The logic is like this:

**Issues assigned to me in the last 72 hours where I have not viewed or updated it them as of now.**

I have this so far but I'm stuck with the updatedby part:

assignee = currentUser() and assignee changed to currentUser() after -3d and issuekey IN updatedBy("currentUser()") and updated \<= -3d

I don't think the updatedby() function will take a variable. It seems to only take an actual user name. Which means that I can't use assignee either. So I'm not sure how to delimit this to updates made by me. I don't care if the issue was assigned to me and updated by someone else. I need to know where issues are assigned to me and waiting for my input, that I haven't given yet.

Thanks in advance for your help.


Answers:
author: Uday Kiran Bhaviri
body: You can try defining SLA as per your requirement in your JSM project.

Like first response should be less than 72 hours

<https://support.atlassian.com/jira-service-management-cloud/docs/create-service-level-agreements-slas/>

And then you can use this SLA in your JQL query

<https://support.atlassian.com/jira-service-management-cloud/docs/write-jql-queries-for-slas/>


author: Jack Brickey
body: Hi [@Allie Stewart](/t5/user/viewprofilepage/user-id/5198835) , I see you are using currentuser(). Are you doing this so that the filter can be shared? If not can you not simply use your username?

comments: author: Allie Stewart
body: Yes, this is so it can be shared. I want them send the filter out daily to anyone.


author: Danut M _StonikByte_
body: Hi [@Allie Stewart](/t5/user/viewprofilepage/user-id/5198835),

Why not simply removing that condition. I think it makes no difference anyway.

*assignee = currentUser() and assignee changed to currentUser() after -3d and updated \<= -3d*

Danut.

comments: author: Allie Stewart
body: Because I suppose it is possible for this to be assigned to Joe, and I need Joe's input, but then Sally updates the issue with something unrelated. But I still need Joe's input.

Perhaps that's not really an issue.

What I really need to know is issues that are waiting for Joe to respond and he hasn't. Basically a report that shows "these issues are waiting on you".


Tags: cloud

jira-service-management

jira-service-management-cloud
How to set request type on bulk import
Asked by Nate Dickinson:

How do I set the request type on a bulk import? I'd like to set this value on import so that these tickets have external client visibility access in the online portal, but I can't do it when that value is null. When I type in request type in the jira field I get the value is invalid.

![2024-02-05_15-06-59.png](/t5/image/serverpage/image-id/304475iF2B251B01248F37D/image-size/large?v=v2&px=999 "2024-02-05_15-06-59.png")


Answers:
author: Mikael Sandberg
body: Check out [this article](https://community.atlassian.com/t5/Jira-Service-Management-articles/CSV-Import-of-Request-Types/ba-p/2019410) that outlines how you can import the request type during bulk import. Basically what you need to do is find the portal key and the request type key and map that to the request type field and also set the issue type. I have used this to bulk import request types and once you have all the data it is easy to do.

comments: author: Nate Dickinson
body: Thank you Mikael. Have a good day.


Tags: cloud

jira-service-management

jira-service-management-cloud
Is there a way to require tasks to be completed in sequential order?
Asked by Michael Frade:

Want to see if there is a way ( with sub-tasks or regular task, any issue types) to create tickets and assign them out and make them required to be completed in sequential order. So there is parent ticket and then task 1 must be completed before task 2 can start/be completed, before task 3 can start/be completed and so on...? I know you can require a sub task to be completed before parent can be closed but wondering about the specific task order being organized in the manner explained above.


Answers:
author: Florian Bauer
body: Hi [@Michael Frade](/t5/user/viewprofilepage/user-id/5420486) ,

An easy way to control how issues are created (serially, in parallel or based on decision gateways) is with Flower - BPM Automations for Jira:

![Flower Token Simulation](https://flower-bpm.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fflower-simulation.7566155e.gif&w=3840&q=75)

As shown above, you can use a graphical process editor to define how your tasks are created in a transparent way. No scripts, conditions or automations are required for this. Here is the link to the Marketplace listing: <https://marketplace.atlassian.com/1220753>

Happy automating,  
Florian


author: Trudy Claspill
body: Hello [@Michael Frade](/t5/user/viewprofilepage/user-id/5420486)

For clarity, when you say you want to require them to be completed in order do you mean you actually want to block the transition of issues to a specified "in progress" status if their predecessor is not yet in a "done" status?

Also, what problem are you trying to solve with this requirement? Are you trying to impose a business process to the order of work? Is there a functional limitation in the completion of the tasks that you want to enforce through process in Jira (i.e. the task "walk through doorway" functionally can't be started/completed before completion of task "open door").


author: Laurie Sciutti
body: Hi [@Michael Frade](/t5/user/viewprofilepage/user-id/5420486) \~ is it necessary to have all sub-tasks created at the same time? If not, you can create an Automation Rule that generates each subsequent sub-task on transition to Done of the dependency sub-task...

So:

* closing sub-task 1 will autogenerate sub-task 2
* closing sub-task 2 will autogenerate sub-task 3
* etc.

comments: author: Michael Frade
body: I had thought of that, but was more looking to have all tasks created to start and then requiring them to be worked on in an specific order, even if it was the ticket # order.


Tags: cloud

jira-service-management

jira-service-management-cloud
Send hidden request link to customer
Asked by Karishma:

Is it possible to send link only to few customers to fill some information for a request (hidden) . I know we can hide portal group and not publish a request type or keep it hidden. But I'm asking if we can share a link to some request type that is hidden but only customers who get the link could fill the request.


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Karishma](/t5/user/viewprofilepage/user-id/3747279)

no, you cannot restrict Request Types in one portal to only some customers and once a Request type is hidden, it's hidden for all.

You would need to set up a second project and restrict that Portal to Customers only. You can then add a subset of the other project's customers. Customers from both projects will see all Request Types and Customers from one project will only see Request Types from that project.

There are some Marketplace Apps that let you restrict Access to Request Types within one project/portal though.


Tags: cloud

jira-service-management

jira-service-management-cloud
Emailed Request add email as attachment?
Asked by Cason White:

Is it possible to automatically attach the email to the Emailed Request that comes in?

We deal with a lot of external customers who do not create a portal only account. They think the reply email from Jira is SPAM so sometimes we have to go to the email logs and download the original raw email message to reply to them directly.

Also, in the event of phishing emails that come in the Security team would have access to the email when they are added as a request participant. instead of having to dig through the email logs.


Answers:
author: Matthew Challenger
body: We have the same question/request. Very surprised this isn't easily added.


Tags: cloud

jira-service-management

jira-service-management-cloud
Campo complementar com ferramenta de formata??o de texto.
Asked by Priscilla Scura Lima:

Como posso cria um campo personalizado que seja do tipo texto com op??o de formata??o, que tenha as mesmas capacidades funcionais do campo de Descri??o ou Coment?rio?

![EXEMPLO.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/304427i5EF964C1D47282C7/image-size/large?v=v2&px=999 "EXEMPLO.jpg")


Answers:
author: Fernando Eug?nio da Silva
body: Ol?, [@Priscilla Scura Lima](/t5/user/viewprofilepage/user-id/5405573) ! Bem vinda ? comunidade Atlassian!

Para criar um campo texto que tenha as mesmas op??es de formata??o que o campo **Descri??o** voc? deve fazer o seguinte:

Passo 1: Crie um campo customizado no formato de par?grafo no Jira. Voc? pode ver os passos de cria??o de um campo customizado aqui: [Create a custom field \| Atlassian Support](https://support.atlassian.com/jira-cloud-administration/docs/create-a-custom-field/)

Passo 2: Agora ser? preciso habilitar a formata??o nesse campo. Para isso, fa?a o seguinte:

* Entre no seu projeto no Jira e clique em **Project Settings**;
* Em seguida, clique na op??o **Fields** **;**
* Voc? dever? ver uma tela similar ? esta, clique no ?cone de l?pis ? direita:

![Captura de tela 2024-02-06 004532.png](https://community.atlassian.com/t5/image/serverpage/image-id/304508iEFBFE8B114152165/image-size/large?v=v2&px=999 "Captura de tela 2024-02-06 004532.png")

* Procure o seu campo pelo nome e em seguida clique na op??o **renderers**

![Captura de tela 2024-02-06 004727.png](https://community.atlassian.com/t5/image/serverpage/image-id/304509i89277BD015017D47/image-size/large?v=v2&px=999 "Captura de tela 2024-02-06 004727.png")

* Mude o formato do campo para **Wiki Style Renderer** e confirme as a??es

![Captura de tela 2024-02-06 004843.png](https://community.atlassian.com/t5/image/serverpage/image-id/304510iE02BFC01572C44EB/image-size/large?v=v2&px=999 "Captura de tela 2024-02-06 004843.png")

Feito isso, o Jira ir? habilitar o recurso de formata??o do campo assim como ? permitido para o campo **Descri??o** e **Coment?rio**.

Espero que isso ajude.

Atenciosamente,

Fernando


Tags: jira-service-management
When to use Service vs Assets object
Asked by Michael Frade:

I have items that are created as an Object in assets. Jira also has Services which are it's own schema in Assets. Do I need to recreate my Assets objects as a Service or is it better to just use an Assets custom field? Guess what I am trying to understand is when is it recommended to use Service and why?


Answers:
author: Robert Wen_ReleaseTEAM_
body: The only use case I have found for using Service as opposed to making your own through Assets objects is whether or not you are using Change Management in your ITSM project. Features such as conflict detection for changes exclusively use Service.


Tags: cloud

jira-service-management

jira-service-management-cloud
Add objects from request ticket onto Assets
Asked by Andrae Cameron:

Hi Team,

Anyone able to advise how I can add inputted data from the linked Jira field on a request form that I have built onto assets.

Would it require editing linked Jira field to a custom assets object field ![Custom field 1.jpg](/t5/image/serverpage/image-id/304400iE650C278BCBF1E7A/image-size/large?v=v2&px=999 "Custom field 1.jpg")

and then editing the Assets objects field configuration   

![Custom field 2.jpg](/t5/image/serverpage/image-id/304405i0A1B3E18AD499241/image-size/large?v=v2&px=999 "Custom field 2.jpg")

Any advice would be welcomed

Kind Regards


Answers:
author: Paul O
body: Take a look at: <https://confluence.atlassian.com/jirakb/how-to-update-asset-object-attribute-using-automation-with-values-from-associated-jira-issue-1085200114.html>

I think this should work for you.

comments: author: Andrae Cameron
body: Thanks Paul


Tags: cloud

jira-service-management

jira-service-management-cloud
Limit Number Of Issues Customer Can Open Script Runner
Asked by Austin Cody:

I'm currently using the following scriptrunner code in my post creation transition validator, but it's throwing an error.

Code -

```
reporter = issue.reporter jql = "project = PE and resolution = Unresolved and reporter = currentUser()" jqlQueryParser = ComponentAccessor.getComponent(JqlQueryParser) searchService = ComponentAccessor.getComponent(SearchService) query = jqlQueryParser.parseQuery(jql) count = searchService.searchCount(reporter, query) if (count >= 2) { throw new InvalidInputException("The limit of open tickets for the 'PE' project is reached for the current user") }
```

Error - ScriptRunner Script. The configuration is invalid.

The goal is to limit current users from not being able to open more than two tickets at a time.


Answers:
author: Kristian Walker _Adaptavist_
body: Hi Austin,

I can confirm that inside of Jira Cloud [Workflow Validators](https://docs.adaptavist.com/sr4jc/latest/features/workflow-extensions/validators) use the [Jira Expression Framework](https://developer.atlassian.com/cloud/jira/service-desk/jira-expressions/) provided by Atlassian.

You must use the Jira Expression Framework syntax to write your validator. We have many examples [here](https://docs.adaptavist.com/sr4jc/latest/features/workflow-extensions/jira-expression-examples) that show how to write validator expressions to help you write the validator you require.

I hope this information helps.

Regards,

Kristian


author: Jeroen Poismans
body: Hi and Welcome to the Atlassian Community!

You can not use this code on Cloud. Services like ComponentAccessor, JqlQueryParser ... etc you can't access them in Cloud. You will have to rewrite your Server / Datacenter code to a Cloud compatible version using the Cloud REST API's.

Have a look at this resource from Adaptavist explaining this:

<https://docs.adaptavist.com/sr4jc/latest/differences-between-scriptrunner-for-jira-server-and-jira-cloud/platform-differences>

Jeroen


Tags: cloud

jira-service-management

jira-service-management-cloud
Is there a possibility to notify repository creation to admin on a workspace
Asked by Anvesh Dindu:

Is there a possibility to notify repository creation on bitbucket to admin in a workspace under a organization.


Answers:
author: Patrik S
body: Hello [@Anvesh Dindu](/t5/user/viewprofilepage/user-id/5063818) ,

Welcome to Atlassian Community!

Currently, Bitbucket Cloud has e-mail notifications for these [events](https://support.atlassian.com/bitbucket-cloud/docs/manage-email-notifications-for-watched-objects/). I'm afraid that notifications specific for repository creation are not yet available.

I went ahead and created a feature request to implement this, which you can check at the following link :

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Thank you, [@Anvesh Dindu](/t5/user/viewprofilepage/user-id/5063818) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud

repository
Notification Email for repository that I watch
Asked by Yan Poblete:

Hello there!  

I don't receive any emails for any pull requests, comments, etc. from any repository that I watch or that I am an author of.  
I tried unwatching and rewatching them, but that doesn't solve the problem.  
Is there a possibility to unblock me?  


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Yan Poblete](/t5/user/viewprofilepage/user-id/5063409) ,

welcome to the Atlassian community!

This is a task that can be managed by Atlassian team. Please raise a request to <https://support.atlassian.com/contact/>

Fabio

comments: author: Yan Poblete
body: [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528)   
Thanks for your help!


Tags: bitbucket-cloud

cloud
Bitbucket Pipeline to AWS S3: How to skip unchanged files?
Asked by Christian Kuenne:

I followed the instructions in <https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-aws-with-s3/> to deploy files to AWS S3.

The first step **Build artifact** creates an **artifact** folder with say 1000 files. The second step **Deploy to S3**uploads the files to S3. I only want to upload the 1 or 2 files that were changed since the last commit to master, not all 1000 files.

atlassian/aws-s3-deploy uses **aws s3 sync** under the hood: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/sync.html>

S3 sync does not have an option to check for differences based on a checksum. A file is uploaded if the timestamp is newer than the timestamp in S3 or if the file size is different. There is an option **--size-only**, but I can't use that because files might change but still have the same size.

When the repo is checked out in the first step, the timestamp of the files is the current date/time. I can fix the timestamps with **git-restore-mtime**:

<https://manpages.debian.org/unstable/git-restore-mtime/git-restore-mtime.1.en.html>

Afterwards each file has the timestamp of the last commit which is what I want.

Problem: when step 1 (Build artifact) passes the artifacts on to step 2 (Deploy to S3), all files are getting a new timestamp (current date/time). As a result, all files are uploaded to S3.

**Questions:**

\* Is it possible to preserve the timestamp of artifact files?

\* Is there any other way to upload unchanged files only?


Answers:
author: Igor Stoyanov
body: [@Christian Kuenne](/t5/user/viewprofilepage/user-id/667294) hi. Thanks for your question.  

If you could understand which files are changed, then pass only this files to artifacts (not all).  

To verify what files was changed you could try to use [Bitbucket API commits.](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits/#api-group-commits)  

Regards, Igor


Tags: aws

bitbucket-cloud

bitbucket-pipelines

cloud

timestamp
issues with bitbucket pipeline with AWS EKS
Asked by Asad:

Hello community, I have setup bitbucket-pipelines for auto deployment to my AWS EKS cluster, below is the pipeline;  

```
 - step:

     name: "Apply Billing App Latest Version"

     services:

        - docker

     script:

        - pipe: atlassian/aws-eks-kubectl-run:2.2.0

          variables:

              AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID

              AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY

              AWS_DEFAULT_REGION: aws-region

              CLUSTER_NAME: 'My-Cluster-Name'

              KUBECTL_COMMAND: 'apply'

              RESOURCE_PATH: 'infra/k8s/billing-dep.yaml'

              KUBECTL_APPLY_ARGS: '-f'
```

Now, the problem is when Devs pushes their code to the bitbucket in a specific branch, the pipeline starts and build a docker image, then pushes the image to the AWS ECR, and then comes the deployment on EKS cluster, here I face the issue, the pipeline does not apply the latest docker image, I dont know why?


Answers:
author: Igor Stoyanov
body: [@Asad](/t5/user/viewprofilepage/user-id/4423515) hi , Thanks for your question.

You docker image is set in your

```
infra/k8s/billing-dep.yaml
```

file, is this true?

\`the pipeline starts and build a docker image, then pushes the image to the AWS ECR\` -- maybe instead of latest tag provide some custom tag (exact version of latest image) ? And than update your yaml deployment file with new correct docker image version  

Regards, Igor


author: Asad
body: for now, what I am doing, I just delete the old deployment using pipeline and apply new one and I know this is not the best.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
System is asking me to select a credential helper - but not allowing a selection
Asked by Jennifer Davis:

Am unable to clone our latest repositories. System is asking me to select a credential helper. The system won't recognize any selection and it won't let me out of that 'loop.' I saw this mentioned in other tickets, but did not see a workable resolution.  

On another thread on a public site, someone suggested reverting to an earlier version of BitBucket. Not sure if that's a workable solution, in addition - I haven't figured out how to do this.  

Has anyone else encountered this and found a reliable solution?


Answers:
author: Ben
body: Hey Jennifer,

So that we may assist you with this please clarify the following for me:

- Are you referring to Bitbucket Cloud or Bitbucket Server?

- Which GIT application are you using (ie regular Terminal/CMD, Sourcetree, Mingw64 etc)?

- Which protocol are you using, HTTPS or SSH?

In addition, please post the full error output (minus the workspaceID/reposlug as this is a public forum).

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Jennifer Davis
body: Hi Ben.

See replies inline below.

- Are you referring to Bitbucket Cloud or Bitbucket Server? Cloud (I think)

- Which GIT application are you using (ie regular Terminal/CMD, Sourcetree, Mingw64 etc)? (Sourcetree)

- Which protocol are you using, HTTPS or SSH? (HTTPS: - I think (?))

In addition, please post the full error output (minus the workspaceID/reposlug as this is a public forum). \[I didn't receive an 'error' message. I received a credential helper popup. No matter what I selected, the pop-up reappeared, and I cannot progress past it.

Cheers!


author: Ben
body: Hey Jennifer,

Thank you for sharing this information, this will help me to instruct you further.

I would suggest reading the following Community articles related to the credential manager popup loop issue:  
<https://community.atlassian.com/t5/Sourcetree-questions/I-always-get-a-popup-credential-helper-selector-asking-me-to/qaq-p/1465880>  
<https://community.atlassian.com/t5/Sourcetree-questions/Credential-Helper-Selector-won-t-stop-popping-up-and-crashing/qaq-p/1820192>

Additionally, I would also suggest reading through the following article - the reason you are being prompted is likely because of our change from basic auth to App Password for HTTPS connections. This would cause any cached credentials to no longer function and this might be why it is prompting you to enter new credentials - there is a guide specifically for Sourcetree here:  
<https://community.atlassian.com/t5/Sourcetree-articles/Bug-Fix-Sourcetree-for-Windows-authentication-error-when/ba-p/1965968>  
Hope this helps.  

Cheers!

- Ben (Bitbucket Cloud Support)

<br />


Tags: bitbucket-cloud

cloud