youngmon/atlassian-qna huggingface dataset:
Error when i execute an automation
Asked by Marco Martinato:

Goodmorning ,

i would like to know i f someone can help me , maybe is a corny/banal quastion but i m not expert in using jira.

So , i have to copy a ticket into another project, but automation show me this error  

```
The configured field was excluded from this action because it was not found. It may have been deleted or may need to be added to the project:
```

```
?
```

this is the automation:

![Screenshot 2024-01-24 115750.png](https://community.atlassian.com/t5/image/serverpage/image-id/302222iEDDACE89271C4817/image-size/large?v=v2&px=999 "Screenshot 2024-01-24 115750.png")

and i suppose that the field in the right side are the ones that are copied and so required by the automation to avoid failing .

they share the same scheme :![Screenshot 2024-01-24 121017.png](https://community.atlassian.com/t5/image/serverpage/image-id/302231iC018FB70DA42A1CD/image-size/large?v=v2&px=999 "Screenshot 2024-01-24 121017.png")

it's not obvius that they have the same fields? , some ideas where i faill ?

thanks for support


Answers:
author: Marc - Devoteam
body: Hi [@Marco Martinato](/t5/user/viewprofilepage/user-id/5220642)

Do they also share the same issue type screen scheme and related screen schemes and screens?

If not make this os or check if al the fields you use in the automation are available on the create screen of the issue type you are creating via the automation rule.

If this is also al correct, are there context set on the fields that require to be copied? If there are check the contexts and make sure the project and/or issue type you are copying to are set in the context.


Tags: cloud

jira-service-management

jira-service-management-cloud
Problem with invalid ID
Asked by Stefan Speck:

Dear Community,

I have a problem. The following: I have created an organization in a project under "Customers", in which I have added all employees of this project (our customers). When I click on an employee under the "Show profile" tab, the following message appears: "Apparently you have entered an invalid ID"  
![Invalid ID Jira.png](/t5/image/serverpage/image-id/302233iD2CDE06C24DBF1A2/image-dimensions/314x325?v=v2 "Invalid ID Jira.png")  
This message appears for every employee in the organization. However, all employees actively send us tickets and we receive them. Why does this message appear and how can I fix it?

Many thanks and best regards  
Stefan


Answers:
author: RMahajan
body: Hi Stefan,  

* Ensure that the user IDs or usernames associated with the employees in your organization are correct.
* Try accessing the user profiles in an incognito or private browsing mode.
* If the issue persists and none of these steps resolve it, it is advisable to contact Atlassian Support for assistance. Please provide them with precise information regarding the error message and a detailed description of the steps taken to reproduce the issue.

Hope it will help you!  
Regards,  
RMahajan

comments: author: Stefan Speck
body: [@RMahajan-Empyra](/t5/user/viewprofilepage/user-id/5019161)   
Thank you for your feedback. It is exactly the same problem in incognito or private mode. The user IDs and user names are also correct. What else could be the problem? Best regards


author: RMahajan
body: Hi [@Stefan Speck](/t5/user/viewprofilepage/user-id/5102345) ,  

I will recommend reaching out to Atlassian Support for further assistance.  

Regards,  
RMahajan


Tags: cloud

jira-service-management

jira-service-management-cloud
Is it possible to remove the "recently used forms" section from the service portal?
Asked by Marco Martinato:

I have to expose the portal to our clients but i would like not showing the others forms used recently by us.

can i remove the section "recently used forms"


Answers:
author: Marc - Devoteam
body: Hi [@Marco Martinato](/t5/user/viewprofilepage/user-id/5220642)

No this section can't be modified.

There is an open feature request fro this at Atlassian, [JSDCLOUD-7998](https://jira.atlassian.com/browse/JSDCLOUD-7998)

You can vote for this feature and hope it will be taken into account.


Tags: cloud

jira-service-management

jira-service-management-cloud
Using one custom email address for multiple Service Desk projects
Asked by Sarvesh Choollun:

Hello,  

We'd like to set up multiple projects, with each one based on the type of support query (e.g. Technical Help, Software Help, etc).

We'd like just one email address to be used for this purpose so that it's easy for everyone to remember, i.e. "support@ourcompanyname.com".

Important for us is

* that we can use our custom email address
* that every project ist reachable by our email address (at best by one custom mail address)
* that customers who don't have an access to our customer portal can create a ticket via email. For this case we just want to communicate one single email address (no matter to which project the issue belongs).

My Question is:

Is there a way for these email queries/requests to be directed into the correct project ?  

Thanks,  

Sarvesh


Answers:
author: Marc - Devoteam
body: Hi [@Sarvesh Choollun](/t5/user/viewprofilepage/user-id/5413362)

The solution you want is ++not possible++ as per project there is on email request possible and that is bound to that request.

And related to your preferred setup that customers only sent emails to open requests, I don't see the need to have several JSM projects.

Have a single queue on a single project where all issues are incoming and set a component or label based on the team (software, technical, etc).

This to setup queues based on the component or label that the required solution team only has to look at this queue in the project.


author: Ajay _view26_
body: Hi [@Sarvesh Choollun](/t5/user/viewprofilepage/user-id/5413362)

Welcome to the Atlassian user community! As [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976) mentioend, you can use seperate request types for Technical Help, Software Help and then manage with a single email for customer support!

Cheers

Ajay


Tags: cloud

jira-service-management

jira-service-management-cloud
Import full list of users without sending them an invitation (I already have their infos)
Asked by Dao Bacon:

Hello,   
I'm new to the solution.

I've already found an anwser to creating a client without an email (wich is impossible).  
So I'm sorry if this anwser already have been anwsered.  

But my question is quite different. I already have a saas solution managing users and clients and I just want to integrate the Jira Service Management as a tool for help desk and ticketing. I already have the full list of users with their infos such as emails because they are already registerd on my plateform.

Would it be possible to import my full list of clients into my Jira Service Management and let them send an email just to automaticaly create the ticket without the hassle of them having to confirm register via an invitation link ?  

<br />

To summarize :   
1) I have my own portal with end user being registerd with their own personnal email

2) I need to create a help desk to manage issues

3) I wonder if Jira Service Management allow to import all my users without them having to confirm and register via a link

4) That would let them just send an email presenting their issue and the ticket would automaticaly be created based on the mail address of sender


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Dao Bacon](/t5/user/viewprofilepage/user-id/5413345) and welcome to the Community,

I assume your JSM portal is restricted to Customers only? (no public access)

Do you need a One-Time Report or a regular thing?


Tags: cloud

jira-service-management

jira-service-management-cloud
Holiday and absence
Asked by Leigh McLaren Brierley:

Hi there

Can we use JIRA and Tempo to record holiday and absence with approvals? If so could you please share relevant instructions on how to set up and if there is any written information that would be great. Thanks Leigh


Answers:
author: Marc - Devoteam
body: Hi [@Leigh McLaren Brierley](/t5/user/viewprofilepage/user-id/5413318)

Do you have Tempo Planner, as this would be a requirement.

Tempo Timesheets only has approval options on time written.

Tempo has described how to set this up within Tempo Planner, see: [Best+Practices+for+Vacation+Planning](https://tempo-io.atlassian.net/wiki/spaces/KB/pages/1896285137/Best+Practices+for+Vacation+Planning) and [Best+Practices+for+Approving+Vacation+Time](https://tempo-io.atlassian.net/wiki/spaces/KB/pages/2527952926/Best+Practices+for+Approving+Vacation+Time)


Tags: cloud

jira-service-management

jira-service-management-cloud
Condition for changing the status to resolved
Asked by S?awomir Ja?oszy?ski:

How can I set a rule that allows change transition status from in progress to done with the obligation filled issue field "customer"? Should I configure it in workflow? Which condition should I use?  

<br />


Answers:
author: Fazila Ashraf
body: Hi [@S?awomir Ja?oszy?ski](/t5/user/viewprofilepage/user-id/5413215)

Welcome to community!

Yes, the requirement is possible through workflow change. You can add the field required validator. More info in <https://confluence.atlassian.com/jirakb/how-to-make-a-field-required-before-closing-the-issue-1236928291.html>

comments: author: S?awomir Ja?oszy?ski
body: Thank you for the tip. It was simpler than I expected. Have a nice day :)


Tags: cloud

condition

jira-service-management

jira-service-management-cloud

post-function

workflow
Need to configure the Card Layout in JSM Board
Asked by Santhosh Raj:

Hi Team,

Was working in HR Service Management Project and added board feature,

but I have a issue in configuring the card layout in JSM and am unable to process as there is no option for making it.  

I wanted to update the request type to be shown in the card layout.![Card Layout.png](/t5/image/serverpage/image-id/302201i0F47BF73060CF5E9/image-size/large?v=v2&px=999 "Card Layout.png")

In the Above SS, Is there any other way we can add the request type name instead of icon or help me in the board settings.  

The Jira Software Project has all options, whereas in JSM, I could see those options and its really annoying as per the requirement


Answers:
author: Nikola Perisic
body: Hello [@Santhosh Raj](/t5/user/viewprofilepage/user-id/5283233)

Changing the card layout in JSM is sadly not possible.

BR,

Nikola

comments: author: Santhosh Raj
body: Is there any other ways for making it ? [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624)   
Or there isn't a way for it


author: Nikola Perisic
body: [@Santhosh Raj](/t5/user/viewprofilepage/user-id/5283233) the only way you can see this is by the icon, but rather not with the text, meaning text is not possible.


author: Santhosh Raj
body: Thanks [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624)


Tags: cloud

jira-service-management

jira-service-management-cloud
Move tickets from one queue to other
Asked by Ravi Chaganti:

We have queues -Q1,Q2,Q3

We have all tickets/issues in Open. We want to move issues from Q1 to Q2 to Q3 which are basically different teams within Same project for example like L1 for Q1, L2 for Q2 and L3 for Q3.


Answers:
author: Marc - Devoteam
body: Hi [@Ravi Chaganti](/t5/user/viewprofilepage/user-id/5195263)

So you need to have a value that separates the issues and that you can specify in the queue filter.

You could simply use components or labels for this, or create a custom field where the value can be set.


author: John Funk
body: Hi Ravi,

When you say "queue" do you mean a column on a board? Or do you mean an actual Queue used by JSM?

If it is an actual Queue, the Queue is based on a JQL statement. You would need to change the value of a field for ticket/issue so it meets the criteria of the JQL used by each Queue.


author: Laura Campbell _Seibert Media_
body: Just to add to the other responses, keep in mind that something will need to be updated/changed in the issues for them to automatically move queues. For example, if you have queues set up to filter issues based on a start date or due date, for an issue to move from the Q1 to the Q2 queue, a date field must be changed in the issue so that it no longer matches the criteria for the Q1 queue and rather matches the criteria for the Q2 queue.

If you don't want/need to change the information in the issue's fields, you probably are looking more at changing the status (which is shown as a column on a board).

comments: author: Ravi Chaganti
body: Thank you all for your responses.

We have Infra Desk where L1 team will look into all cases and move to DB team - L2 team for Database related and similar Network -L2 Team etc

i'm looking for L1 is mapped to Q1 and issue is moved to DB Team - L2 (which is Q2)

Pls suggest how this can be achieved in JIRA


Tags: cloud

jira-service-management

jira-service-management-cloud
Jest not found while running a pipeline
Asked by Krishna Kumar Singhal:

While trying to run a test automation suite in pipeline getting error, but the same command works locally:  
**script : "test-sanity": "jest webservices/specs/sanity/\*\*/\*.test.ts --maxWorkers=3 --forceExit",**

+ umask 000

+ GIT_LFS_SKIP_SMUDGE=1 retry 6 git clone --branch="main" --depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR  
Cloning into '/opt/atlassian/pipelines/agent/build'...

+ git reset --hard 23070c5744edc443f3313c3b06698d526f53e002  
HEAD is now at 23070c5 <https://bitbucket.org/krishnatest1/nc-test-automation/src/23070c5744edc443f3313c3b06698d526f53e002/bitbucket-pipelines.yml> edited online with Bitbucket

+ git config user.name bitbucket-pipelines

+ git config user.email commits-noreply@bitbucket.org

+ git config push.default current

+ git config http.${BITBUCKET_GIT_HTTP_ORIGIN}.proxy <http://localhost:29418/>

+ git remote set-url origin <http://bitbucket.org/$BITBUCKET_REPO_FULL_NAME>

+ git reflog expire --expire=all --all

+ echo ".bitbucket/pipelines/generated" \>\> .git/info/exclude

+ chmod 777 $BUILD_DIR

Images used:  
build : docker.io/library/node@sha256:a5d9200d3b8c17f0f3d7717034a9c215015b7aae70cb2a9d5e5dae7ff8aa6ca8  
+ npm test

\> nc-testing@1.0.0 test  
\> jest webservices/specs/sanity/\*\*/\*.test.ts --group=$GROUP --maxWorkers=2 --forceExit

**/tmp/test-bc16b754.sh: 1: /tmp/test-bc16b754.sh: jest: not found**   
Searching for test report files in directories named \[test-results, failsafe-reports, test-reports, TestResults, surefire-reports\] down to a depth of 4  
Finished scanning for test reports. Found 0 test report files.  
Merged test suites, total number tests is 0, with 0 failures and 0 errors.


Answers:
author: Krishna Kumar Singhal
body: Issue resolved, need to pass the node_modules as artifacts

comments: author: Jun Tabudlong
body: Hi [@Krishna Kumar Singhal](/t5/user/viewprofilepage/user-id/5037676) how did you point your artifacts option to node_modules? tia!


Tags: bitbucket-cloud

cloud
Repository and deployment variables, can they be loaded automatically through a json file?
Asked by Joan Arbelaez:

Repository and deployment variables, can they be loaded automatically through a json file? my query is because these variables are loaded manually from the bitbucket website by repository and it would be very helpful to be able to load a file that generates them and not add them one by one


Answers:
author: Caroline R
body: Hi, [@Joan Arbelaez](/t5/user/viewprofilepage/user-id/5009568), thank you for reaching out to Atlassian Community.

You could use our API endpoints to create the variables, this way you wouldn't need to manually load them from the Bitbucket website and access each repository. These are our endpoints:

* Workspace variables - [Create a variable for a workspace](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-workspaces-workspace-pipelines-config-variables-post)

* Repository variable - [Create a variable for a repository](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-config-variables-post)

* Deployment environment variable - [Create a variable for an environment](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-deployments-config-environments-environment-uuid-variables-post)

Please let me know if you have any additional questions regarding this subject.

Kind regards,  
Caroline

comments: author: Joan Arbelaez
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) ,thank you very much it was just what I needed


Tags: bitbucket-cloud

cloud
Automated Merge Between Two Branches
Asked by Karthik:

We use bitbucket and as per my use case we have two release branches R1 and R2. All members of our team commit their changes to R1, however we have a business requirement to have a release branch R2. We use a pull request to merge R1 with R2 every day. Is it possible to set up an automated merge simply for these branches? We don't want automatic merge to impact other release and feature branches. Can I use the feature of bit bucket "Automatic merge" for my use case?


Answers:
author: Ulrich Kuhnhardt _IzymesCo_
body: Hello [@Karthik](/t5/user/viewprofilepage/user-id/5037487) , welcome!

You are looking for automatically propagating changes that are merged to R1 to R2 every day.

I can see 2 options:

1. You can use the aforementioned [automatic branch merge](https://confluence.atlassian.com/bitbucketserver/automatic-branch-merging-776639993.html) feature in Bitbucket under the conditions   
   \* R1 and R2 actual naming follows semantic versioning.  
   \* You have a branching model enabled in the repository  
   This way you could merge to R1 and the changes will also be merged into R2  

2. [Create](https://developer.atlassian.com/server/bitbucket/rest/v804/api-group-pull-requests/#api-api-latest-projects-projectkey-repos-repositoryslug-pull-requests-post) and [merge](https://developer.atlassian.com/server/bitbucket/rest/v804/api-group-pull-requests/#api-api-latest-projects-projectkey-repos-repositoryslug-pull-requests-pullrequestid-merge-post) pull requests via a script that runs daily using the [Bitbucket server rest api](https://developer.atlassian.com/server/bitbucket/rest/v804/intro/#intro)

Hope that helps!

Cheers Ulrich

[// Izymes](https://marketplace.atlassian.com/vendors/1210584/izymes-pty-ltd) - our mission is to eliminate boring from work. We build apps that turbo-charge team velocity through contextual automation.


Tags: bitbucket-server

server
automatically switch to self hosted runners
Asked by Robert Trebula:

Hello,

I have received a message that our pipeline is paused because we've reached our minutes quote, which is fair enough. However, we have our own hosted runners online.

Bitbucket CI should attempt to automatically switch to self hosted runners (if they are available) in case the quota is reached, even if we don't specify runs-on: self.hosted

Thank you


Answers:
author: Ben
body: G'day Robert!

Thank you for providing feedback regarding the operation of our Bitbucket Pipelines service, I have lodged a feature request ticket to our developers on your behalf. Please feel free to "Watch" this for future updates and "Vote" to improve its visibility with regard to customer demand:

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

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Robert Trebula
body: Thank you, Ben


Tags: bitbucket-cloud

cloud
merge issue
Asked by anil.p:

Hi,

using bitbucket cloud - after merging to master. Master is not showing all files. But when we compare the files between branches it does not show differences.

But in the master we donot see the updated or new files. Happens intermediantly.

Any inputs.

Thanks,

Anil Kumar.


Answers:
author: Caroline R
body: Hi [@anil.p](/t5/user/viewprofilepage/user-id/5037257), welcome to the community!

It's a bit hard to say what happened without accessing the repository in question. I see that you have access to a paid workspace, so I have created an internal ticket for you using the email of your community account.

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

Please feel free to let me know if you have any questions.

Kind regards,   
Caroline


Tags: bitbucket-cloud

cloud
Bitbucket Export using curl in Windows
Asked by JooHyun Park:

Hi,

I am working on the document below.

[Exporting \| Bitbucket Data Center and Server 8.4 \| Atlassian Documentation](https://confluence.atlassian.com/bitbucketserver/exporting-957497835.html)

Since I am in a Windows environment, I am trying to execute the following curl statement after installing curl and jq, but it fails.

*** ** * ** ***

curl -u admin -s -n -X POST -H 'Content-type: application/json' -d '{"repositoriesRequest":{"includes":\[{"projectKey":"\*","slug":"\*"}\]}}' <http://localhost:7990/rest/api/1.0/migration/exports/preview> \| jq .

*** ** * ** ***

I changed it to double quotation marks and the inner double quotation marks should be wrapped with \\, so I changed it as below, but it still fails.

*** ** * ** ***

curl -u admin -s -n -X POST -H "Content-type: application/json" -d "{\\"repositoriesRequest\\":{\\"includes\\":\[{\\"projectKey\\":\\"\*\\",\\"slug\\":\\"\*\\"}\]}}" [http://locahost:7990/rest/api/1.0/migration/exports/preview](https://locahost:7990/rest/api/1.0/migration/exports/preview) \| jq .

*** ** * ** ***

<br />

<br />

Does anyone know how to do it?


Answers:
author: Christian Glockner
body: Hi Levi,

the command won't work like that because it's trying to redirect output to jq using the Linux pipe syntax. If you drop **\| jq .** from these commands it should work.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: JooHyun Park
body: Hi Christian,

Thank you for the reply.

Unfortunately, another problem has.  
There is an error that the account clearly has admini permission but cannot be accessed.

{"errors":\[{"context":null,"message":"You are not permitted to access this resource","exceptionName":"com.atlassian.bitbucket.AuthorisationException"}\]}

What did I miss here? It is questionable whether it is possible in a Windows environment.


author: Christian Glockner
body: Hi Levi,

I suppose you're trying to export from a Windows-based Bitbucket Server (not Data Center) instance? That should definitely work. Are you sure you are using a System Administrator account for this?

Cheers,

Christian

Premier Support Engineer

Atlassian


author: JooHyun Park
body: Yes.

Bitbucket v7.8.0 / server 50 Users: Commercial License.

And 'admin' is bitbucket admin account. It login well from bitbucket instance.

Additionally, the reason why I need this is to migrate Bitbucket to another instance.(need pull request and comment history, etc)

Thank you


author: JooHyun Park
body: The **-n** option was the cause. The parameter is removed, so it works fine.

It was fine in a Linux environment, but it won't work in Windows if you have that parameter.


Tags: bitbucket-server

server