youngmon/atlassian-qna huggingface dataset:
Edit a automated ticket
Asked by xandrico:

Hello,  

I have been trying to auto create a ticket within JIRA with some values like due date, assignee and request type.  

When i use the following rule  

Trigger: Issue transitioned FROM "" to ""  
IF: All match request type and updated \< 1h  
Then: create issue with a request type  

It does automatically create a new ticket withing JIRA with a request type but i cannot find a way to automatically add a due date and assign the ticket to a specific assignee within the rule.   

What can i do or add to make this happen?


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

In this case, you can make use of 'Branch rule / related issues' to extend automation for newly created issue.

<https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/#Related-issues>

Please refer below screenshot for your reference.

![Screenshot 2024-02-16 at 1.48.19?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/306823iC35D38153B391704/image-size/large?v=v2&px=999 "Screenshot 2024-02-16 at 1.48.19?PM.png")![0099.png](https://community.atlassian.com/t5/image/serverpage/image-id/306822iADA4876DA3445AED/image-size/large?v=v2&px=999 "0099.png")

I hope this helps you!

Thanks,  
Avinash


Tags: cloud

jira-service-management

jira-service-management-cloud
EXALATE plugin error
Asked by Elise Wei:

My team had already installed the exalate plugin, but it kept showing this error message:![Picture1.png](/t5/image/serverpage/image-id/306824i72FFE0F430E68C3B/image-size/large?v=v2&px=999 "Picture1.png")


Answers:
author: Mathieu Lepoutre _Exalate_
body: Hi [@Elise Wei](/t5/user/viewprofilepage/user-id/5431195),

It appears that the node is currently offline, likely due to being archived. Not to worry, though, as this is a reversible process.

You can easily initiate the unarchiving process by submitting a support ticket using the following link:

<https://exalate.atlassian.net/servicedesk/customer/portal/5>

Once submitted, we'll promptly unarchive the node for you.

Have a wonderful weekend!

Best regards,  
Mat


author: Joseph Chung Yin
body: [@Elise Wei](/t5/user/viewprofilepage/user-id/5431195)

Welcome to the community. Since it is a third party add-on, you will need to contact the add-on vendor directly to assist you further.

On the same note, you can also contact Atlassian Support (<https://support.atlassian.com>), so they can review the backend system logs for further details/errors against your site.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Csaba Vertessy
body: Hi [@Elise Wei](/t5/user/viewprofilepage/user-id/5431195) ,

we have faced the same error lately.

You have to contact [Exalate support](https://exalate.atlassian.net/servicedesk/customer/portals) and they will restart the node for you.


author: Marc - Devoteam
body: Hi [@Elise Wei](/t5/user/viewprofilepage/user-id/5431195)

Welcome to the community.

Raise an issue with Atlassian Support, they can check your instance backend


author: Dexter de Vera
body: need more details about the error..


Tags: cloud

exalate

jira-service-management

jira-service-management-cloud
Can't access settings in the Checkout app
Asked by Rihards Gackis:

Hello! JSM Cloud issue here.  
I'm having a problem with a Checkout app. A colleague went to a vacation so i was assigned as a project lead to one of her projects which uses Checkout. i can access everything as it is but after i switched back the project lead role back to her, she can't access any of the settings within the Checkout. page stays blank and follows an error :  

***Something's gone wrong***   
*Our team has been notified. if the problem persists, please contact Atlassian Support*

we have equal access to the mentioned project, the thing that broke is was that i switched project lead role back to where it was.  

so far i've checked that the issue is not computer/software. used different browsers, have no idea how to pull logs from this.


Answers:
author: Marc - Devoteam
body: Hi [@Rihards Gackis](/t5/user/viewprofilepage/user-id/5431148)

Welcome to the community.

Make sure your app is updated to the latest version.

The problem is typically that there has been a new version out that has not been installed in you instance. Once you install, the problem should go away.

This statement above os from their support page

If that doesn't work, I recommend you to reach out the developer via their support portal.

<https://mumosystems.atlassian.net/servicedesk/customer/portal/22>


Tags: app

cloud

jira-service-management

jira-service-management-cloud
Smart values to find the issues have breached SLA
Asked by John Jos:

Hello,

I have an automation for SLA breached issues but I can't find ways to add the issues that have breached the SLA.

I am trying to include the issue count (the number of issues that have breached the SLA based on the JQL) and those issues.

So far I have tried

{{lookupIssues.Time to first response.breached()}}

and a few others that did not work at all.

Also referred to <https://confluence.atlassian.com/jirakb/how-to-find-smart-value-of-sla-component-of-jsm-issues-1167828367.html> and tried adding log actions {{issue.\<sla_timetofirstresponse\>}}

Can someone please help me here?

Thanks in advance!

Cheers!

John Jos


Answers:
author: Walter Buggenhout
body: Hi [@John Jos](/t5/user/viewprofilepage/user-id/5189706),

You should use a **Lookup issues** action first to just run your query and then in the next step use

{{lookupIssues.size}} to return the number of issues found, as in this example:

![Screenshot 2024-02-16 at 08.56.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/306818iB4E2F9A6FE78CE25/image-size/large?v=v2&px=999 "Screenshot 2024-02-16 at 08.56.01.png")

Of course, replace the JQL in the Lookup issues action with the query that you need for your use case. Also note that Lookup issues will return a maximum of 100 issues.

Hope this helps!

comments: author: John Jos
body: Hi Walter,

Thank you so much for your quick response.

Could you please tell me how to add the audit log value? Also, I am trying to add the list of issues too, using the smart values. I was able to add all 'CAB tickets' some time back referring to the community but I have been not feeling so lucky this time. :)

Thanks!


Tags: cloud

jira-service-management

jira-service-management-cloud
Path for SSL root certificate
Asked by Sangeetha Jana:

We have Jira Core running on EC2 and using RDS. We need to modify CA certificate of the RDS from rds-ca-2019 to rds-ca-rsa2048-g1. In order to achieve this we would like to verify if the Jira server is using SSL to connect to DB.

<br />

Please help us with below queries:  
1. How to check if Jira server is connecting to DB through SSL?  
2. How can we find the path where SSL root certificate is stored?


Answers:
author: Sangeetha Jana
body: Hi Team,

Please help us here.

Is there any default path where the SSL truststore file will be saved?


Tags: jira-core

jira-server

jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-software

jira-software-server

server
API python script to delete multiple projects
Asked by Mariano Edvardsson:

Hello! I'm trying to delete multiple projects with the following Python script:

```
import requests
from requests.auth import HTTPBasicAuth

domain = "https://MY_JIRA_INSTANCE.atlassian.net"
admin_user = "JIRA_ADMIN@MY_COMPANY.com"
admin_token = "JIRA_ADMIN_TOKEN"
project_query = "PROJECTS_I_WANT_TO_DELETE"

def getJson(url, auth):
r = requests.request(
"GET",
url,
headers={"Accept": "application/json"},
auth=auth
)
return r.json()

def deleteProject(id, auth):
r = requests.request(
"DELETE",
domain + "/rest/api/3/project/" + id,
auth=auth
)
return r.text

search_url = domain + "/rest/api/3/project/search?query=" + project_query
auth = HTTPBasicAuth(admin_user, admin_token)
json = getJson(search_url, auth)

projectIds = []

# append results across all pages, while there's still a nextPage, to projectIds array
while "nextPage" in json:
nextUrl = json["nextPage"]
for searchResult in json['values']:
# optional safety check to make sure the right project is being added to the deletion array
# if "PROJECT_NAME_I_INTEND_TO_DELETE" in searchResult["name"]:
projectIds.append(searchResult['id'])
print("Number of project IDs found matching the search query: " + str(len(projectIds)))
json = getJson(nextUrl, auth)

# append a single page, or the last page of results, to projectIds array
for searchResult in json['values']:
# optional safety check to make sure the right project is being added to the deletion array
# if "PROJECT_NAME_I_INTEND_TO_DELETE" in searchResult["name"]:
projectIds.append(searchResult['id'])
print("Number of project IDs found matching the search query: " + str(len(projectIds)))

# delete projects in projectIds array
for index, id in enumerate(projectIds):
print("Deleting project " + id + ". Projects remaining: " + str(len(projectIds)-index))
print(deleteProject(id, auth))
```

However I'm encountering issues when trying to delete multiple projects.

I take it JQL does not support RegEx, but how do I do to delete more than one project? I guess that the script does not accept tuples because it really works with JQL, but I'm having trouble creating a project query that I can simply put in a few project names (e.g: CUST, SUP, PJ01, etc). I've tried going "CUST" or "SUP", etc but that did not work, I only get one project deleted.

Any help would be greatly appreciated!


Answers:
author: Dexter de Vera
body: Use python api for atlassian.

<https://atlassian-python-api.readthedocs.io/jira.html#manage-projects>


Tags: cloud

jira-administration

jira-service-management

jira-service-management-cloud

python

script
How to add an admin without consuming a licence
Asked by julioelgueta:

I have various Atlassian products, now I want to add the Role of Site Administrator to a person who is not a Jira Service Management Agent, he will be administering configurations and users.

But When I try to add him I get the message that I have no more Jira Service Management Licences, I don't need a licence for him, just access to all things in Administration; but somehow I am being forced to use a Licence.


Answers:
author: Dexter de Vera
body: Site Admin required all license - managing all your product in your site including users. Use product admin for the specific product to administered the configuration on that product but still only Site Admin can access user management (it includes all license of the user).

comments: author: Kai Becker
body: Hi [@julioelgueta](/t5/user/viewprofilepage/user-id/57383)

you should be able to remove the site-admin group from the product access of Jira Service Management.   
Configuration should still be possible. Please make sure, that site-admins still have product access to Jira Administration product.

Hope this helps.


author: julioelgueta
body: Thanks Kai, that worked just fine


Tags: cloud

jira-service-management

jira-service-management-cloud
Take someone out of round robin
Asked by Avi Serber:

Hi,

I wanted to ask the community how you have figured out this issue.

We have automation to assign via RR to a specific group. My question is what happens if someone in this group takes a day off and we want to remove them from the rotation. Whats the best solution?


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@Avi Serber](/t5/user/viewprofilepage/user-id/5404413) Good day!  

When a user is part of a group, it might not always be feasible to remove them from the group whenever they are unavailable.

<br />

One potential solution is to implement an automation rule, dubbed the 'OOO rule', which automatically reassigns any issues assigned to an individual who is out of the office (OOO) to another designated backup user, such as the group lead or manager.

This ensures that the issue remains within the group's radar. One advantage of this approach is its flexibility, as the rule can be configured on a per-project basis and easily modified as needed.

I hope this helps.

Thanks  
Avinash


Tags: automation

data-center

jira-service-management

jira-service-management-data-center
Can you remove Jira access from multiple users in bulk?
Asked by Andrea Del Pilar Porras Rodr?guez:

Good day

I would like to know if Jira has the functionality of being able to remove access to the tool en masse, since there are several users and the idea is to avoid the manual process of going one by one as much as possible.

I look forward to your responses.


Answers:
author: Zoey Wang
body: Hi [@Andrea Del Pilar Porras Rodr?guez](/t5/user/viewprofilepage/user-id/5169696)

Here is a link to Atlassian Access <https://www.atlassian.com/software/access> - the product helps you manage access to your Jira product via IDP. Further all the products across your org. Ane more granular security levels can be managed by your org.

With Jira perse only a manual process is possible to remove access to the product.


Tags: cloud

jira-service-management

jira-service-management-cloud
Assets Fields - User List
Asked by Scott C:

Have set up a field in our object schema for Assets through which you select a user account so that we know who said Asset has been assigned to. We have struck an issue where for our agents they are unable to select a user and doesn't show any results when type a username. I've added them as Object Schema managers, and they are still unable to select a user.


Answers:
author: Petr S?kora
body: Can you please share the configuration of that field?


Tags: cloud

jira-service-management

jira-service-management-cloud
Adding Team into a Currently-Existing Project
Asked by jhanley:

We've recently built a Team in Jira Service Management and built Operations into it where whenever our team receives an issue, certain individuals would be notified. This all works it appears but we're having an issue "migrating" our newly built Team into our currently-existing Project.

What we want to do is receive issues from other departments into our currently-existing Project unassigned issues Queue, but we want to connect the newly built Team Operations/Notification Routing into the currently-existing Project's unassigned issue Queue. When an issue is created in our currently-existing Project unassigned issue queue, it would trigger the Team Operations to notify the selected members.

Is this possible?

Thanks very much.


Answers:
author: Uday Kiran Bhaviri
body: If your team is part of any specific role or part of any group then you need to add that role / group to your notification scheme for that event.

Or You can use automation and on issue created event and is unassigned then send email to members/role/group.


Tags: cloud

issue

jira

jira-service-management

jira-service-management-cloud

project

team
Pipeline Log Viewer wraps lines
Asked by Gabe Lilly:

Hello,

I have noticed that BitBucket Pipelines now wrap the lines within the Log Viewer. This change was in a similar time frame as I noticed the update discussed in this question: <https://community.atlassian.com/t5/Bitbucket-questions/Pipeline-is-echoing-all-the-variables-in-the-build-setup-section/qaq-p/2204116>

I have a pipeline that outputs a formatted table of results which is now very difficult to read because of this line wrapping. Is there an option to disable this setting for specific pipelines or repositories? Thanks very much.


Answers:
author: Edmund Munday
body: Hi [@Gabe Lilly](/t5/user/viewprofilepage/user-id/4488532) - PM for the Pipelines team here. Apologies for the inconvenience with this change, we'll have it resolved ASAP.

Would you be comfortable sharing a screenshot of the log output by any chance? If you'd rather do that privately, feel free to shoot me an email: emunday@atlassian.com

comments: author: Edmund Munday
body: Log line wrapping in Pipelines is now disabled for the time being.

It will make a comeback once we have some better user-side configurability.


author: Gabe Lilly
body: [@Edmund Munday](/t5/user/viewprofilepage/user-id/4953583) I sent an email to you with the screenshot as an example. Thanks very much for the quick reply.


author: Theodora Boudale
body: Hi [@Gabe Lilly](/t5/user/viewprofilepage/user-id/4488532),

I have reached out to the development team and asked if this is possible. I will let you know as soon as I have an update.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
customize pull request descriptions template with git commits
Asked by smallbird k:

Hello,

We are using Bitbucket v7.17.

Presently, we're using the commit history as the default description to generate all the commits in the pull request description.  
Our need is that we'd like to be able to list commits as before but with extra options.   
I can't find any example in the document of custom description template.

Could anyone help for it?  
Best Regard,

WANG yuqi


Answers:
author: Lucas
body: Long requested feature (at least 3 years), but Atlassian doesn't care about its "community".

They don't even bother to answer this topic:

<https://community.atlassian.com/t5/Bitbucket-questions/Default-Pull-Request-Description-include-list-of-commits/qaq-p/1043727#U2331537>

(please, Like/upvote it and add an answer there, maybe Atlassian will at least answer... someday...)


Tags: bitbucket-server

server
Jenkins failed to connect to repository
Asked by Eragaraju, Nandini:

Failed to connect to repository : Command "git ls-remote -h -- ssh://git@gitappprd01.comp.pge.com:7999/eietm/fileattachmenttransfer.git HEAD" returned status code 128:  
stdout:  
stderr: Unable to negotiate with 10.48.244.54 port 7999: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ssh-rsa  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.


Answers:
author: Igor Stoyanov
body: Hi [@Eragaraju, Nandini](/t5/user/viewprofilepage/user-id/4165093) .

<br />

Alternatively, you could check [jenkins-job-trigger](https://bitbucket.org/atlassian/jenkins-job-trigger/src/master/) pipe, maybe this pipe might cover your cases.

Regards, Igor.


Tags: bitbucket-server

server
Configuring HTTPS for bitbucket
Asked by Chaitrali Awasare:

I have CA signed certificate in the form of jks and I want to use it to run Bitbucket on HTTPS instead of HTTP. I tried adding this to my bitbucket.properties file but bitbucket is not running the service.

server.port=8443  
server.ssl.enabled=true  
server.ssl.key-alias=bitbucket_sandbox  
server.scheme=https  
server.ssl.key-store=/var/atlassian/application-data/bitbucket/CERTS/bitbucket_sandbox-jks.jks  
server.ssl.key-store-password=\*\*\*  
server.ssl.key-password=\*\*\*  
server.ssl.key-store-type=jks


Answers:
author: Charlie Misonne
body: Welcome to thet Atlassian Community [@Chaitrali Awasare](/t5/user/viewprofilepage/user-id/5053374)

Do you get errors in your logs when starting Bitbucket?

At the bottom of [this page](https://confluence.atlassian.com/bitbucketserver/secure-bitbucket-with-tomcat-using-ssl-776640127.html) you will find some common errors you can get when trying to configure thies.

comments: author: Chaitrali Awasare
body: Hi Charlie, the issue got resolved it was regarding alias. Thankyou for your help.


author: Charlie Misonne
body: Ok great!


Tags: bitbucket-server

server
Repository archiving is not available
Asked by Henrik Gerdtsson:

Hello,

I am looking to archive repositories. I have looked at the documentation. It should be availbale under the Git section in Administrsatin. All I can see under the Git section is 'Default Branch' and 'Bitbucket Mesh'. We are running Bitbucket Server version 8.4.1.

Is there a configuration to enable archiving?


Answers:
author: Charlie Misonne
body: Hi Henrik,

Archiving repositories is only available for Datacenter licenses. This is mentioned on this page <https://confluence.atlassian.com/bitbucketserver084/archive-a-repository-1167707637.html>

As an alternative you could move the repositories to a separate project or revoke some permissions depending on your exact goal.


Tags: bitbucket-server

server
Can we use same branch name twice on a bitbucket pipeline file?
Asked by Aashish41:

**I have a bitbucket pipeline file as below;**  

```
pipelines:

    branches:

      dev:

        - step:

            name: Test1

            script:

              - echo "Test"  

      dev:

        - step:

            name: Test2

            script:

              - echo "Test"
```

When the pipeline is triggered only first step runs i.e. **Test1** but **Test2** doesn't. Is there any way that I can use same branch name twice?


Answers:
author: Theodora Boudale
body: Hi [@Aashish41](/t5/user/viewprofilepage/user-id/5091754) and welcome to the community!

I don't believe that this is possible, however, a pipeline for a certain branch can have multiple steps.

If you want to execute both steps when a commit is pushed to **dev** branch, you can modify your bitbucket-pipelines.yml file as follows:

```
pipelines:
  branches:
    dev:
      - step:
          name: Test1
          script:
            - echo "Test" 
      - step:
          name: Test2
          script:
            - echo "Test"
```

Is this what you are looking for?

Kind regards,  
Theodora

comments: author: Aashish41
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) , Thank you for your response.  

I have already opted using multiple steps for a single branch. I just wanted to know if it is possible to use same branch multiple times. Unfortunately, it is not possible.

Anyway your response was helpful for me.

Have a great day !


author: Tridev Rai
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)

Is there an alternative other than you create a unique branch name for your pipeline?


author: Theodora Boudale
body: Hi Tridev,

You can create (multiple) custom pipelines:

* <https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Custom--manual--pipelines>

Please keep in mind though that these can only be triggered manually or on a schedule, they don't run automatically on every push.

It is also possible to configure a default pipeline that will run automatically on every push ++if no branch-specific pipeline is defined++:

* <https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Default>

The page I shared has all available options about Pipeline start conditions.

Kind regards,  
Theodora


author: Tridev Rai
body: Thank you [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) for your quick response.

I will go through this and let you know if any confusion arises.


author: Tridev Rai
body: I had below requirements:

1. whenever the master/ hotfix branch is pushed it should be deployed in UAT environments.

2. After the QA team verifies the changes in UAT, the master branch should be deployed into production

since I couldn't use the same branch name in the pipelines.

I used the custom pipeline to build and deploy in the production.

I also added a manual trigger in the deployment step and ensured it is only deployed by certain individuals.

Thanks [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)


Tags: bitbucket-cloud

cloud
we want to use our aws ec2 instances for code check in check out
Asked by shobha munuri:

we want to use our aws ec2 instances for code check in check out . each time we will get different IP when ever we start stop server.

we have secured our network using static ip and we are connected on vpn. is their any way we could make bitbucket enabled on any ec2


Answers:
author: Theodora Boudale
body: Hi [@shobha munuri](/t5/user/viewprofilepage/user-id/4618661),

I am not sure what you mean by "make bitbucket enabled on any ec2".

Are you using a firewall and do you need the IP addresses you need to whitelist in order to connect to Bitbucket?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud