youngmon/atlassian-qna huggingface dataset:
JQL query for older tickets to 1 single ticket
Asked by xandrico:

hello,  

Im trying to make a recurring ticket, problem is that when i use a rule with the following   

Trigger: When: scheduled - first monday of every 3rd month at 9:00 AM  
IF: any match - reqeust type equals, Status is one of: Done, Assignee is  
Then: create issue with a request type  

It then creates multiple tickets from all the tickets that have the same status or fields.  

I want to create a single new ticket once the older one gets the status "done"  
Is there a query or specifiek way to make it do this?


Answers:
author: Tansu Akdeniz
body: Hi,

In Scheduled trigger, there is a checkbox which is "Run a JQL search and execute actions for each issue in the query.". You can uncheck this one and add "Related issues condition" (JQL issues) to check if result is present or not.


Tags: cloud

jira-service-management

jira-service-management-cloud
Auto creating ticket
Asked by xandrico:

Hi,   

I've been trying to create a automation rule within JIRA to create a ticket that has the following additions in it; Reqeust type, a assigned person and a due date.   

I tried the following   
Trigger: When: scheduled - first monday of every 3rd month at 9:00 AM  
IF: any match - reqeust type equals, Status is one of: Done, Assignee is  
Then: create issue with a request type  
And: Edit issue fiels; Assignee, Due date  

When I use this rule it creates hundreds of tickets and only shows the request type and not the other fields.


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@xandrico](/t5/user/viewprofilepage/user-id/5428924) ,

The one reason for rule creating hundreds of tickets instead of one , is that you would have checked " Run a JQL search and execute actions for each issue in the query." option in the schedule trigger. Please refer below screenshot for your reference.

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

Additionally, if the created issue doesn't contain Assignee, Due date field values, please check whether you added right input or not. Check the audit logs, you will get more insights on that.

Thanks

Avinash


Tags: cloud

jira-service-management

jira-service-management-cloud
Approval notifications
Asked by Fatima AALLA:

Hello,

We get a lot of email notifications from jira, that makes the approval email not evident , is there a way to customize this email to make it more visible between other emails?

thanks in advance


Answers:
author: Igor Medeiros - Modus Create
body: Hi [@Fatima AALLA](/t5/user/viewprofilepage/user-id/5261577)

If you are still looking for alternatives, our app [Notification Assistant for Jira](https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira-email?hosting=cloud&tab=overview) has an approval feature that can be applied on customized templates.

For more details, we have the documentation on [Working with Approvals in Jira Service Management](https://atlasauthority.atlassian.net/wiki/x/AYCtsg).

Feel free to reach out!


author: Zoey Wang
body: Hi [@Fatima AALLA](/t5/user/viewprofilepage/user-id/5261577)

On top of what Mohamed mentioned, you might want to customize the template of customer notification in terms of the subject section.

Hence a little bit of effect from the users who raise the approval request could be more helpful - highlighting there is an approval request in it and putting the line in the customized subject part.

comments: author: Fatima AALLA
body: hello [@Zoey Wang](/t5/user/viewprofilepage/user-id/4512393) , I don't find how to customize subject part, I find only content part


author: Mohamed Benziane
body: Hi,

This thread could help you

[Solved: How can I customize the approval email? (atlassian.com)](https://community.atlassian.com/t5/Jira-Service-Management/How-can-I-customize-the-approval-email/qaq-p/2230347)


Tags: cloud

jira-service-management

jira-service-management-cloud
Reply to customer capability on JIRA software project
Asked by Habeeb Khan:

Can you let us know if there is any way we could reply to customer via software project? So basically we are planning to implement a sync recipe from JSM project to software project wherein all tickets created in JSM will be automatically synced to software project. We will no longer be using JSM project. Everything will be done from software project. Hence, we don't want to go to JSM project and open the ticket just to reply to customers. Is there any way we could do it directly from software project?


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Jira Software does not have the concept of a customer, so no, there's no way to do this.

You should really stick with your JSM project, otherwise you will need to open up your whole software project to your customers (obviously, I'll recommend sticking to read-only access for them).

If you do add all your "customers" to your project, then you'll be able to notify them on comments (and any other changes), but you might not want to bother, as they'll be able to see the whole issue anyway.

If you do stick with your JSM project, then you could look into using an automation or script to provide a "comment to customer" function that could copy the reply to the linked JSM issue into the "public comment" bit.


Tags: cloud

jira-service-management

jira-service-management-cloud
Form(ProForma)checkboxes
Asked by Rachana Kandlagunta:

Hi [@Bruno Altenhofen](/t5/user/viewprofilepage/user-id/4428105) [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) [@Mark Segall](/t5/user/viewprofilepage/user-id/4667637)

Could you please help me w Proforma for checkbox. I'm using below:

{{issue.properties."proforma.forms.i1".state.answers.4.choices.get(0)}}

Please advise on how to build a automation rule?

This is NOT working as expected. Only the first checked checkbox is creating an issue. Others are ignored. Please suggest I need issues to be created for all the checkboxes checked by the user on the form.

Thank you


Answers:
author: John Funk
body: Hi Rachana,

Please post a screenshot of your rule.

If nothing else, create a custom checkbox field with the same values. Then link the form field to the Jira custom field. Then you can reference it in the automation rule to do what you want. I do the exact thing for several projects.


author: Bill Sheboy
body: Hi [@Rachana Kandlagunta](/t5/user/viewprofilepage/user-id/5296748)

I am not using the Proforma marketplace addon, and so could offer no suggestions. Instead consider referring to the vendor's documentation for how to automate access to the form fields.

If you have rule questions **unrelated to that addon**...

Please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!

Kind regards,  
Bill


Tags: forms

jira

jira-service-desk-cloud

jira-service-management

jira-service-management-cloud

proforma
We are trying to export SAL data to EasyBi, Data not oulling through
Asked by Warwick De Villiers:

**Current**

- We have multiple JIRA projects with SLA's. We are using EasyBi to generate SLA reports for our customers.

- We look at SLA's - time to acknowledgement, time to first response, time to resolution.

- The SLA's calculate and display in the JIRA agent portal

- We can view SLA's per case in Queries view

- We export SLA data to EasyBi and generate customer reports and visuals

**Issue being experienced**

- We have now setup a new JIRA project and setup all SLA's.

- They work and can be viewed in JIRA

- However, The SLA data for the new project does not pull to EasyBi.

- All other data around tickets created, Ticket Closed etc pull though, but for some reason the SLA dat for the new project does not seem to be exported

Is there possibly a configuration or permission we have not checked or setup for the New Jira project we have setup? which will allow the SLA data to be exported to EasyBi?


Answers:
author: Ilze Krauze
body: Hi,  

If you have created new SLAs or if you are loading this new project in a new eazyBI account, I would suggest checking if all needed SLAs are selected for import in Jira Service Management custom fields section: <https://docs.eazybi.com/eazybi/data-import/data-from-jira/jira-service-management-custom-fields>  

I hope this helps and if not, let us know.  

Best,  
Ilze, eazyBI support


Tags: cloud

easybi

jira-service-management

jira-service-management-cloud

sla
Populating forms fields or text AFTER issue is created, ie Post Review.
Asked by Gyrall Ganicz:

Hi, Is it possible to populate fields/input data on the form when being attached to the issue?

**Example**: Post Review Form is attached to an incident that had an impact to business

Upon attaching, It will grab incident ticket data, saving the reviewer having to fill all the data out again.

Key {{issue.key}}

Summary: {{issue.summary}}

This form will never be used before an issue is created and always attached to something already existing.

Hopefully I'm missing something simple and don't need to head down the automation path and start pushing data into the form via REST ie. {issue.properties."proforma.forms.i1".state.answers.x.x.x}}

Has anyone had any experience on this?


Answers:
author: Gyrall Ganicz
body: This also was a great resource.

**<https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue>**

My web request details;

**URL**   
<https://api.atlassian.com/jira/forms/cloud/{{cloudid}}/issue/{{issue.key}}/form>

**Headers**   
X-ExperimentalApi \| opt-in   
Authorization \| Basic \<encoded64 string\>  
Accept \| application/json  
Content-Type \| application/json

<br />

When making changes etc, make sure you are using the ++form template id++ and not the id.

{{webResponse.body.**formTemplate**}}

**Post (Attach form example)**

Custom Data

{ "formTemplate": { "id": "{{formtemplate}}" } }

Hope this helps others.


author: Gyrall Ganicz
body: Seems this might answer my question, [Automatically update Form fields answers and manip... - Atlassian Community](https://community.atlassian.com/t5/Jira-Software-articles/Automatically-update-Form-fields-answers-and-manipulate-more/ba-p/2481946)


Tags: cloud

forms

jira-service-management

jira-service-management-cloud
How to count unique committers over time?
Asked by cramirez_ntst:

We're looking for the number of unique committers to repositories in our workspace over the last 6 months.

We'd like to count only active users (e.g. ignore committers who are no longer with the company).

Can this be done using the Bitbucket Cloud API?


Answers:
author: Ben
body: G'day!

Unfortunately, at present, the API will not show whether or not a user is active - or what their total commit count is. I have raised this as a feature request to our developers on your behalf, however:  
<https://jira.atlassian.com/browse/BCLOUD-22296>

Please feel free to "Watch" this ticket to receive future updates related to it, and "Vote" for it to improve its visibility in relation to customer demand.

In the meantime, you can use the GIT command below on a per-repository basis that will show individual users who have committed in the last 6 months, and the number of commits they have contributed:

```
git shortlog -s -n --all --since 2022-06-01
```

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: cramirez_ntst
body: Thanks Ben!


Tags: api

bitbucket-cloud

cloud

commit
Seems like the Pull Request "Start review" is only relative to reviewers
Asked by John DiNatale:

I think we must have recently took a software update. Now we have a "Start review" button in the pull requests. It has different relevence based on the pull request users role. For the author it does not appear to do anything. For the reviewers, it only controls the review session for each individual reviewer. Where it somehow is involved with publishing an individual reviewers comments, but has no overall affect on the outcome of the review.

I'm not sure why it's even needed. We managed all our pull request just fine without it. It just seems to cause confusion over what it is needed for. Unless someone can provide some purpose I'm missing? Any comments from the Community?


Answers:
author: Harsha J K
body: Yeah, on the same lines is there any time tracking done between start review and stop review to know the time spent on the review?


Tags: bitbucket-server

server
Is a tree-view of commits/branches available for Bitbucket Cloud version?
Asked by bri-twhitney:

I see that for Bitbucket Server, it has a tree-view built in for viewing commits:

<https://confluence.atlassian.com/bitbucketserver/bitbucket-server-6-1-release-notes-966687591.html>

![CG-450px](https://community.atlassian.com/t5/image/serverpage/image-id/228148i18078ABD01CA245E/image-size/large?v=v2&px=999 "CG-450px")

Is such a feature available for the Cloud version of bitbucket, either out-of-the-box or via some add-on? And if so, how does one enable the setting, install the add-on, etc.

And if not ... why not?


Answers:
author: Patrik S
body: Hello [@bri-twhitney](/t5/user/viewprofilepage/user-id/5090417) ,

Welcome to Atlassian Community!

In Bitbucket Cloud, the commit graph is shown by default when you open a repository and access the **Commits**option in the left panel. This will show you the commit list with the commit tree on the left side of the Author column :

![Screen Shot 2022-12-01 at 5.18.12 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/228565iAF0F59078703FDC1/image-dimensions/285x244?v=v2 "Screen Shot 2022-12-01 at 5.18.12 PM.png")

Hope that helps! Let me know in case you have any other questions.

Thank you [@bri-twhitney](/t5/user/viewprofilepage/user-id/5090417) .

Patrik S


author: PRINCE Vincent
body: I hope we could have the equivalent to "Commit Graph" plugin which is for my point-of-view, a lot more understandable than current commit view.


Tags: bitbucket-cloud

branch

cloud

commit

configuration

graph

merge

tree-view
Bug report: Bitbucket Cloud API pipeline-schedule no longer takes 'enabled' value into account
Asked by Sander Mol:

Give the following request:  

```
curl -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{
   "type": "pipeline_schedule",
   "enabled": false,
   "target": {
      "ref_type": "branch",
      "type": "pipeline_ref_target",
      "ref_name": "master",
      "selector": {
         "type": "custom",
         "pattern": "<my-branch-name>"
      }
   },
   "cron_pattern": "0 0 0 1 * ? *"
}' -u "${BITBUCKET_USERNAME}:${APP_PASSWORD}" 'https://api.bitbucket.org/2.0/repositories/<workspace>/<slug>/pipelines_config/schedules/'
```

I would expect the new schedule to be disabled ("enabled": false). It, however, creates a schedule which is enabled. See the following response:

```
{
   "type": "pipeline_schedule",
   "uuid": "{cb5016c2-d127-4469-bc56-c19e6f328829}",
   "enabled": true,
   "target": {
      "type": "pipeline_ref_target",
      "ref_type": "branch",
      "ref_name": "master",
      "selector": {
         "type": "custom",
         "pattern": "<my-branch-name>"
      }
   },
   "cron_pattern": "0 0 0 1 * ? *"
   "created_on": "2022-11-29T10:52:01.984438Z",
   "updated_on": "2022-11-29T10:52:01.984438Z"
}
```


Answers:
author: Patrik S
body: Hello [@Sander Mol](/t5/user/viewprofilepage/user-id/3164047) ,

Thank you very much for reporting this to us.

I confirmed that this endpoint is currently ignoring the value of the **enabled**field, so I went ahead and created the following bug in our public issue tracker :

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the impact. 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 bug fixes are implemented with [this policy](http://[https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html]) in mind.

While the issue is not fixed, you can try the below workaround :
> * The response of [Create a schedule](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-config-schedules-post) endpoint will contain the UUID of the created schedule.
> * With that UUID, use the [Update a Schedule](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-config-schedules-schedule-uuid-put) endpoint to update the value of **enabled** to false :
>
> ```
> curl -X PUT -u username:app_password -H 'Content-Type: application/json' -H 'Accept: application/json'  'https://api.bitbucket.org/2.0/repositories/<workspace>/<repo_slug>/pipelines_config/schedules/%7B<UUID>%7D' -d '{   "enabled": false}'
> ```
>
> The %7B and %7D are the encoded values of "{}" that are present in the UUID

Thank you, [@Sander Mol](/t5/user/viewprofilepage/user-id/3164047) !

Patrik S


Tags: bitbucket-cloud

cloud
Bitbucket???????????????????
Asked by Hiromitsu Kawaguchi:

????????BitBucket????????????????????

??????????????????????BitBucket????????  
?????????????????

![image.png](/t5/image/serverpage/image-id/227986iABD394227139D311/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Rick Li
body: ????????????????????????  

<br />

Bitbucket Service?????????????????????????event log??????????????????  

[Bitbucket Server Windows service fails to star](https://confluence.atlassian.com/bitbucketserverkb/bitbucket-server-windows-service-fails-to-start-the-system-cannot-open-the-file-779171450.html)   

???????????


Tags: bitbucket-server

server
I cannot clone my repository using https in my VM.
Asked by Bhagya Rupasinghe:

I gave the correct password yet does not work. Even reset the password and made the repo public. I don't know why its not working.![Screen Shot 2022-11-29 at 1.58.19 pm.png](/t5/image/serverpage/image-id/227980i11ED8D9FB663CD62/image-size/large?v=v2&px=999 "Screen Shot 2022-11-29 at 1.58.19 pm.png")


Answers:
author: Thuan_ Do Dang
body: Hi [@Bhagya Rupasinghe](/t5/user/viewprofilepage/user-id/5089746) ,

Please create an App password by Click your avatar \> Personal setting \> App password, then using this password for login in your VM.

Hope this helps!![app-password.png](https://community.atlassian.com/t5/image/serverpage/image-id/227981iD0229E0F83B0D05B/image-size/large?v=v2&px=999 "app-password.png")

comments: author: Bhagya Rupasinghe
body: It worked. Thank you


Tags: bitbucket-server

server
When we try to paste captures, from a console for example, the font gets all messed up.
Asked by John DiNatale:

When we try to paste captures, from a console for example, the font gets all messed up. For example:

----------------------------------------------  
Device Id :0  
RPD Part Id :U1022  
Vendor Name :Maxim  
Vendor Part :DS1721U+  
Part Location :(DDR4)  
Threshold High :NA  
Threshold Normal :NA  
Local Temperature :36  
Temperature Max :37  
Temperature Min :36  
I2C Error :0

This gets all weird formatting and makes it unusable. People have started attaching capture files. Any suggestions?

When I paste here, it removes some weird formatting. I think I need to get a snipping capture.![pullReqWeirdFormatCapture.PNG](/t5/image/serverpage/image-id/227956i2D478CB6777DFA8F/image-size/large?v=v2&px=999 "pullReqWeirdFormatCapture.PNG")


Answers:
author: John DiNatale
body: Hi, for anyone who is watching, my co-worker found a solution to this format question.

Enter your text in "fence-style".

<https://bitbucket.org/tutorials/markdowndemo/src/master/>

\<enter 4 tilder characters\> \<paste your text\> \<enter 4 tilder characters\>

This works great, but I can't paste the capture of experiment in here, doh!


Tags: bitbucket-cloud

cloud
remote: Repository is over the size limit (4 GB) and will not accept further additions.
Asked by Taylan ?zdo?an:

Hi can u run remote GC to my repo i am not able to push or do something right now.

my repo link:

**redacted**


Answers:
author: Syahrul
body: Hey [@Taylan ?zdo?an](/t5/user/viewprofilepage/user-id/5024631)

G'day.

I have triggered the Git GC on the affected repository as requested. The repository size was reduced to 1.3 GB after it was completed.

Cheers,  
Syahrul
Select which scripts will run in the pipeline
Asked by J?lio C?sar Fonseca Costa:

Hello,  

I would like to know if it is possible when running a pipeline, to choose which scripts will be executed. Ex:  

release: \&release  
- step:  
name: Release  
trigger: manual  
deployment: production  
artifacts:  
download: false  
script:  
- chmod +x sh/script.sh  
- ./sh/script.sh api1  
- ./sh/script.sh api2  
- ./sh/script.sh api3  
would it be possible to open a question asking which api for example I want to include to run the script?  

In the way I developed the 3 always run, but I would like to have the possibility of being something dynamic, where sometimes I can run all or just one or two.


Answers:
author: Theodora Boudale
body: Hi [@J?lio C?sar Fonseca Costa](/t5/user/viewprofilepage/user-id/5089598) and welcome to the community!

It is not possible to execute only some commands of a step's script. When a step runs, all the commands in its script will be executed sequentially (unless one of them fails and the step fails, then the rest won't be executed).

If you don't want all of them to be executed, you can create a separate manual step for each API and then run manually the step(s) you want.

Another option would be to use a custom pipeline that can make use of variables, as follows:

```
pipelines:
  custom:
    my-custom-pipeline-name:  #name of this pipeline
      - variables:            #list variable names under here
        - name: api
          default: "api1"     # optionally provide a default variable value
          allowed-values:     # optionally restrict variable values
            - "api1"
            - "api2"
            - "api3"
      - step: 
          script:
            - chmod +x sh/script.sh
            - ./sh/script.sh $api
```

In this example, I am using a variable named api, with allowed values api1, api2, and api3. When you try to run manually a custom pipeline like this, you will be asked to choose the value for the variable api. If you want to run more than 1 apis, you will need to run the custom pipeline multiple times, one for each value.

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora

comments: author: J?lio C?sar Fonseca Costa
body: Hello [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)  

Thanks for your answer, I'm going to use the option of having custom pipelines anyway.

Thank you very much.


author: Theodora Boudale
body: You are very welcome [@J?lio C?sar Fonseca Costa](/t5/user/viewprofilepage/user-id/5089598), please feel free to reach out if you ever need anything else!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How to switch Bitbucket to read-only mode
Asked by konstantin_ignatjev:

We are migrating from BitBucket server, current version is "Atlassian Bitbucket v6.10.8" and we want to make all repos in BitBucket as read-only mode.

How can we accomplish this?


Answers:
author: Christian Glockner
body: Hi Konstantin,

Bitbucket Server does not support read-only mode, but there are some workarounds described in this feature request: <https://jira.atlassian.com/browse/BSERV-11161>

Cheers

<br />

Christian  
Premier Support Engineer  
Atlassian


author: konstantin_ignatjev
body: Thank you Christian,

Do you have the same suggestions with Bamboo ?


Tags: bitbucket-server

server