youngmon/atlassian-qna huggingface dataset:
I am not able to parse the result in xml format using junit parser
Asked by sumit2061902:

I am getting difficulties while parsing the xml file using junit parser.i am not able to ge the result


Answers:
author: sumit2061902
body: I am getting below logs

Build TestTOSCA - JUNIT TEST - Default Job #6 (TES-JT-JOB1-6) started building on agent Default Agent  
20-Dec-2017 15:48:09  
20-Dec-2017 15:48:09 Build working directory is C:\\Users\\csr\\bamboo-home\\xml-data\\build-dir\\TES-JT-JOB1  
20-Dec-2017 15:48:09 Executing build TestTOSCA - JUNIT TEST - Default Job #6 (TES-JT-JOB1-6)  
20-Dec-2017 15:48:09 Running pre-build action: VCS Version Collector  
20-Dec-2017 15:48:09 Starting task 'JUNIT-Check' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'  
20-Dec-2017 15:48:09 Parsing test results under C:\\Users\\csr\\bamboo-home\\xml-data\\build-dir\\TES-JT-JOB1...  
20-Dec-2017 15:48:09 Failing task since test cases were expected but none were found.  
20-Dec-2017 15:48:09 Finished task 'JUNIT-Check' with result: Failed  
20-Dec-2017 15:48:09 Running post build plugin 'NCover Results Collector'  
20-Dec-2017 15:48:09 Running post build plugin 'Artifact Copier'  
20-Dec-2017 15:48:09 Running post build plugin 'npm Cache Cleanup'  
20-Dec-2017 15:48:09 Running post build plugin 'Clover Results Collector'  
20-Dec-2017 15:48:09 Running post build plugin 'Docker Container Cleanup'  
20-Dec-2017 15:48:09 Finalising the build...  
20-Dec-2017 15:48:09 Stopping timer.  
20-Dec-2017 15:48:09 Build TES-JT-JOB1-6 completed.  
20-Dec-2017 15:48:09 Running on server: post build plugin 'NCover Results Collector'  
20-Dec-2017 15:48:09 Running on server: post build plugin 'Build Hanging Detection Configuration'  
20-Dec-2017 15:48:10 Running on server: post build plugin 'Clover Delta Calculator'  
20-Dec-2017 15:48:10 Running on server: post build plugin 'Maven Dependencies Postprocessor'  
20-Dec-2017 15:48:10 All post build plugins have finished  
20-Dec-2017 15:48:10 Generating build results summary...  
20-Dec-2017 15:48:10 Saving build results to disk...  
20-Dec-2017 15:48:10 Logging substituted variables...  
20-Dec-2017 15:48:10 Indexing build results...  
20-Dec-2017 15:48:10 Finished building TES-JT-JOB1-6.

comments: author: sumit2061902
body: need solution asap
Why is bamboo license key not valid
Asked by bishoybt:

Reinstalled the latest bamboo and now the license is not valid


Answers:
author: somethingblue
body: Hi Bishoy,

Does Bamboo start?

If you take a look at the logs you may see an error like the following:

    2016-06-27 17:21:26,799 ERROR [localhost-startStop-1] [ServerKeyIsValid] Server key hasn't been initialized or is invalidjava.lang.IllegalStateException: No server key configured

If so, please take a look at [Bamboo fails to start and throws No Server Key Configured exception](https://confluence.atlassian.com/bamkb/bamboo-fails-to-start-ands-throws-no-server-key-configured-exception-830279949.html) and follow the diagnosis and resolution steps.

If you are able to start Bamboo and get an invalid license please verify the license in my.atlassian.com as Shannon stated and possibly provide a screenshot of the error and any relevant log snippets and we'll go from there.

Cheers,

Branden


author: Shannon S
body: Hi Bishoy,

When you say you reinstalled it, do you mean you reinstalled the same exact version of Bamboo that was previously supported by your license? Does the SEN have an L in its number?

Lastly, what is the Support Expires date when you look at the license information in [my.atlassian.com](https://my.atlassian.com)?

Regards,

Shannon
How to fetch only modify files?
Asked by rspl patel:

Below is the Scenarios:

1) I have modified 2 files for required changes.

2) Commit to git.

3) Now I need only two files which I modify only. Currently in Bamboo, all files are converting into zip file. Is there any way for get only those files which I modify/commit. Something can we do by Patch command but not sure.

Currently I have added Script task into plan and added below command into body.

zip -r php.zip PHP

Can you please help me for in Bamboo which task I need to add into Plan and how to get modified zip files?

Thanks,

Sunil


Answers:
author: somethingblue
body: Hi Sunil,

There is a StackOverflow article titled [git checkout only modified files from another branch into current](https://stackoverflow.com/questions/23706452/git-checkout-only-modified-files-from-another-branch-into-current) that may provide assistance:

Here is the solution from the article:
> git ls-files \| sed 's/.\*/git checkout master -- "\&"/' \| sh -x
>
> **or**
>
> git ls-files \| xargs git checkout master --

Hopefully that helps.

Cheers,

Brandem
Why Deployment release Flag's value is changed from APPROVED/BROKEN to INCOMPLETE?
Asked by phanthucanh:

After a Deployment, we usually click on "Approved" or "Broken" button on the Release to mark success / failure for the deployment. However, sometimes, I notice that the Flagged value in the Release History will be changed into INCOMPLETE after a few days.

Why is this value changed to INCOMPLETE? What are the possible reasons?


Answers:
author: phanthucanh
body: Thank you [@rsperafico](/t5/user/viewprofilepage/user-id/781554). I think it must be the case when artifact(s) of Deployment Version gets removed. Is there any setting to change this behavior of overwriting the status?

comments: author: rsperafico
body: Hello [@phanthucanh](/t5/user/viewprofilepage/user-id/1172356),

I am afraid there is no setting to change this behaviour, however, you could make use of Bamboo's REST API to update the status:

<https://docs.atlassian.com/atlassian-bamboo/REST/6.3.0/#d2e3091>

```
# replace {username} to authenticate against Bamboo.
  Username provided must have permissions over deployment
# replace {bamboo_base_url} e.g. http://localhost:8085
# replace {deploymentVersionId}
# replace {newStatus} e.g. UNKNOWN, APPROVED, BROKEN, INCOMPLETE

curl -k -u {username} -p \
     -X POST {bamboo_base_url}/deploy/version/{deploymentVersionId}/status/{newStatus}
```

Kind regards,

Rafael


author: phanthucanh
body: Thank you for your help!


author: rsperafico
body: Hello [@phanthucanh](/t5/user/viewprofilepage/user-id/1172356),
> ...in the Release History will be changed into INCOMPLETE after a few days.

Could you please confirm whether the deployment was ever released? And do you have Bamboo Expiry set up? If artifact(s) of Deployment Version gets removed, release gets marked as incomplete.

Kind regards,

Rafael
Jira Service Management - Sandbox - User Picker Issue on Portal
Asked by Ellie Lucas:

On the Jira Service Management front-end portal where a customer would go to raise an issue, I have an 'approver' field where the customer can select a person to assign the issue to.

When I go on it (admin) I can see a full list of people to select, but when somebody else goes on it (both admin and not admin) they can't see a list of people to select.

Does anyone have a solution please?


Answers:
author: Megha Rajanna
body: HI

Ensure that the "approvers" field is both visible and editable by the customer on the service desk portal in project settings. Validate the permissions scheme to confirm that customers have permission to edit the approvers fields. Additionally, confirm that the approver field is present on the issue type screen.

Thank you


Tags: cloud

jira-service-management

jira-service-management-cloud
Assets Imports - Filter on Assets data
Asked by Johannes Nyberg:

Hi  

I am aware of the possibility of filtering the data source by AQL. But I am interested in filtering my already published data in Assets.   

An example  

- I have an csv-file containing a lot of "sites" I want to continuosly update these "sites" with new imports until the "site" is marked with a status "inactive". This is a manual process and when this is done I dont want to continue to update the object even though my import data for the site exists.

See image below, I understand that this focuses on the *import data* not the already existing data.

<br />

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

Thank you,

Johannes


Answers:
author: Kris Dewachter
body: Hi [@Johannes Nyberg](/t5/user/viewprofilepage/user-id/4600706) ,

I don't think you can do that with the csv import. If you supply the asset in the csv file, it will be updated. Unless you filter it out with the AQL like you already mentioned.

Best regards,

Kris

comments: author: Johannes Nyberg
body: Hi,   

Can I do it with any other kind of import structure? Such as JSON?

<br />

Best regards,

Johannes Nyberg


author: Kris Dewachter
body: Hi,

I don't think so. JSON works in the same way as csv.

Best regards,

Kris


Tags: assets

cloud

jira-service-management

jira-service-management-cloud
Import Dependent Dropdown
Asked by Lim Xin Yen:

Hi, is the dependent dropdown can be import instead of manually insert?

This is because I have thousands of lines.

Any help please!


Answers:
author: Kris Dewachter
body: Hi [@Lim Xin Yen](/t5/user/viewprofilepage/user-id/5443891) ,

Welcome to the community.

What exactly do you mean with "Dependent Dropdown" ? Are you talking about issue links ?

Best regards,

Kris

comments: author: Joshua Smith
body: Hey [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367) , I'm experiencing the same thing as [@Lim Xin Yen](/t5/user/viewprofilepage/user-id/5443891) . The depdendent dropdown seems to be a new feature, where you can make a selection and then a second selection dropdown appears, based on the first item you chose. See this example where I chose "Frequency" as Quarterly, bringing me a second dropdown still within the same field, where I select which quarterly iteration I am on.  

I am in the same boat where we have hundreds of these to import via CSV. I found when doing an export of issues with a dependent dropdown already populated, the export uses one column with the name of the field and "-\>" to signify a dependent dropdown selection.  

So with the above example, if I have one issue where I've selected "Monthly" and left the dependent dropdown blank, and a second issue where I select "Monthly" and then "2/4", those would be listed on the export with following values:  

issue #1: monthly  
issue #2: monthly -\> 2/4  

I tried duplicating this in my import CSV and it simply imports the first value, where both issues above would create with the same value "monthly" in the field, instead of the second issue having the dependent dropdown choice selected.  

Do you happen to have any suggestions based on this add'l context? Thank you![Snag_48b6c26b.png](https://community.atlassian.com/t5/image/serverpage/image-id/330694i4A1BEB4C687A8F5C/image-size/large?v=v2&px=999 "Snag_48b6c26b.png")


Tags: cloud

jira-service-management

jira-service-management-cloud
Assets post-functions not working
Asked by D X:

Dear all,

after the last migration of Jira (v9.12.2), I'm unable to create / update Assets Post function (but what is strange is that on our dev server, which host the same jira version, it works fine..)

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

returned:

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

on the log, I got:
>
> ```
> 2024-03-04 10:28:42,381+0100 https-openssl-nio-443-exec-93 url: /secure/admin/workflows/EditWorkflowTransitionPostFunctionParams!default.jspa, /secure/admin/views/workflow/editworkflowtransitiondescriptorparams.jsp; user: xxx ERROR xxx 628x3032528x1 139x2nd 10.15.20.82,10.10.247.251 /secure/admin/workflows/EditWorkflowTransitionPostFunctionParams!default.jspa [webwork.util.ValueStack] query="/descriptorHtml" {[id="null" type="5" values=""]} {[id="descriptorHtml" type="8" values=""]}java.lang.reflect.InvocationTargetException	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.base/java.lang.reflect.Method.invoke(Method.java:566)	at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)	at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
> ```

\[...\]

```
2024-03-04 10:28:42,397+0100 https-openssl-nio-443-exec-93 url: /secure/admin/workflows/EditWorkflowTransitionPostFunctionParams!default.jspa, /secure/admin/views/workflow/editworkflowtransitiondescriptorparams.jsp; user: xxx WARN xxx 628x3032528x1 139x2nd 10.15.20.82,10.10.247.251 /secure/admin/workflows/EditWorkflowTransitionPostFunctionParams!default.jspa [c.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.NullPointerException - null'.2024-03-04 10:28:42,492+0100 https-openssl-nio-443-exec-93 url: /secure/admin/workflows/EditWorkflowTransitionPostFunctionParams!default.jspa, /secure/admin/views/workflow/editworkflowtransitiondescriptorparams.jsp; user: xxx WARN xxx 628x3032528x1 139x2nd 10.15.20.82,10.10.247.251 /secure/admin/workflows/EditWorkflowTransitionPostFunctionParams!default.jspa [c.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.NullPointerException - null'.
```

what could be the cause ?

thanks in advance

Xavier


Answers:
author: D X
body: no answer ? it seems like the assets post functions was not available..

comments: author: D X
body: ok, so, it seems we need to be sysadmin to be able to edit / use the assets postfunctions...

an admin rights is not sufficient..


Tags: assets

data-center

jira-service-management

jira-service-management-data-center
how to set corresponding Approver groups based on the selected Team Approver custom field values ?
Asked by Ananthakumaran:

I have created a Team Approver Custom field with a Select List (multiple choices) and it has about 20 values. Then i have another custom field named Approver groups with a Group Picker (multiple groups) and it also has about 20 groups corresponding to the Team Approver. The question is whenever i select one or more Team Approver values, the corresponding Approver group value of that Team approver should get appended in that group values. I have tried this and accomplished using about more automations but the approach is very long and slow processing. Please provide me a short or futuristic solution and any working solution would be appreciated.![Screenshot 2024-03-04 145731.png](https://community.atlassian.com/t5/image/serverpage/image-id/310423i7F4F1C3C36AA271D/image-size/large?v=v2&px=999 "Screenshot 2024-03-04 145731.png")![Screenshot 2024-03-04 145843.png](/t5/image/serverpage/image-id/309941iA782937A23047115/image-size/large?v=v2&px=999 "Screenshot 2024-03-04 145843.png")i have provided the screenshots for reference.


Answers:
author: John Funk
body: Hi [@Ananthakumaran](/t5/user/viewprofilepage/user-id/5398000)

Why are you using the Advanced JSON format not just selecting the field?

comments: author: Ananthakumaran
body: Hello, Sir [@John Funk](/t5/user/viewprofilepage/user-id/7148).  
I appreciate your reply. Whenever i am selecting the fields only one value which is selected first is getting appended or updated and other values aren't getting updated or appended. I tried this method, and it helped me fulfill my criteria, but it takes a while, and I was concerned that it would have an impact on performance. I decided to share this in the community in hopes of getting some assistance from those who are knowledgeable about it and solving my problem.


author: John Funk
body: Doing the field directly instead of the advanced JSON will be no more performance impacting. I would go with what works.


author: Ananthakumaran
body: Hi [@John Funk](/t5/user/viewprofilepage/user-id/7148) , Thanks for your reply. can you please suggest me a method to overcome this or help me with a best approach to achieve this functionality.


author: John Funk
body: Do what you have done, except just select the field instead of More Options.

Then put the values in that field.


author: Ananthakumaran
body: Hi [@John Funk](/t5/user/viewprofilepage/user-id/7148) , i have about 25 team approver values and the corresponding approver group values. If i go with your approach i need to create about 25 automations and that will become nasty. So i am in search for a simple and crisp approach to achieve this. Is there any way you can assist me with?


author: John Funk
body: Well, I wouldn't say that 25 team approver values is very simple or crisp!!

See if this article helps you: <https://community.atlassian.com/t5/Jira-Service-Management-articles/How-to-add-a-specific-list-of-approvers/ba-p/869692>


Tags: cloud

jira-service-management

jira-service-management-cloud
If we do not remove user, it is included the cost?
Asked by Shoko Kasai:

We suspend members from project but unless we remove the member, dose it includes the cost.


Answers:
author: John Funk
body: Hi Shoko - Welcome to the Atlassian Community!

No, any user who is not an Active user will not count towards your license cost.

comments: author: Shoko Kasai
body: Hi John!! Thank you so much!! Understood now.

Best Regards

Shoko


author: John Funk
body: You are very welcome.


Tags: cloud

jira-service-management

jira-service-management-cloud
Does Jira Service Desk 4.13 support migration to Jira Cloud?
Asked by GuZhengJian:

Does Jira Service Desk 4.13 support migration to Jira Cloud?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@GuZhengJian](/t5/user/viewprofilepage/user-id/5353564) and welcome,

JSM 4.13 is related to Jira Core 8.13. Please take a look here <https://marketplace.atlassian.com/apps/1222010/jira-cloud-migration-assistant/version-history> in order to download the related JIRA migration assistant app version

Hope this helps,

Fabio

comments: author: GuZhengJian
body: Thank you!


author: Marc - Devoteam
body: Hi [@GuZhengJian](/t5/user/viewprofilepage/user-id/5353564)

Welcome to the community.

Yes it is, you will need to manually install the Jira Cloud Migration Assistant.

[jira-cloud-migration-assistant](https://support.atlassian.com/migration/docs/jira-cloud-migration-assistant/)

comments: author: GuZhengJian
body: Thank you?  
but Server used AD for authentication login, not sure it's supported on the cloud


author: Fabio Racobaldo _Herzum_
body: Hi [@GuZhengJian](/t5/user/viewprofilepage/user-id/5353564) ,

take a look to the following article <https://support.atlassian.com/migration/docs/migrate-users-and-groups/> about users management on migration

Fabio


author: GuZhengJian
body: Thank you, the content of your reply is very useful


Tags: data-center

jira-service-management

jira-service-management-data-center
organization is not active in the Issue Creation form
Asked by ???:

I created an organization, but the organization is not activated in the issue form.  
How can I make the organizational list visible in the issue form?

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


Answers:
author: John Funk
body: Hi [@???](/t5/user/viewprofilepage/user-id/5443611) - Welcome to the Atlassian Community!

Did you start typing the name of the Organization? Are you executing the form on behalf of a user? Or as an Agent directly?

comments: author: ???
body: Thank you for your response!  
I already created an organization in the product \> JIRA SERVICE MANAGEMENT\>organization menu.

I'm setting up an agent as an administrator.  

I don't know why the organization setting is empty when creating an issue form even though I set up the organization..  


author: John Funk
body: Can you answer all of my original questions though?


author: ???
body: 1. Yes, I entered the organization in the settings.  
2. The agent is running directly.


author: John Funk
body: Not in the settings - in the form. When you are in the form, instead of just clicking on the dropdown, did you actually start typing the name of the Organization?


author: ???
body: Fixed an issue! I couldn't think of trying it myself because of the drop-down feature.  
Thanks to you, I solved the problem!


author: John Funk
body: Great! Glad to hear.


Tags: cloud

jira-service-management

jira-service-management-cloud
Looping through lookup objects results
Asked by Ste404:

Hi there,

I am stuck trying to loop through results from a lookup objects in Assets.

For each of my returned records there is an email address.

I want to loop through the results and per object send an email to that address.

When there are no more results, no more emails.

I have the lookup working, I can see 20 objects with 20 email addresses, but I try an AQL branch and only get one email sent.

What do I need to do to loop through the send email node in the automation to cover all 20 records.


Answers:
author: Joseph Chung Yin
body: [@Ste404](/t5/user/viewprofilepage/user-id/4984517) -

Although I am not extermely familiar on the AQL branch, based on this article's AQL section - <https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/>

It did stated that "When configuring actions, you can access the details of each object using the {{object}} smart value" and there is a limitation of 50 objects max.

You may need to "Send email" action within the the branch.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud
In email, Help Center requesting credentials even with SSO
Asked by Diogo Bortolin:

User reports he can go right into Jira without having to enter his credentials (so SSO is working). It is only when he clicks on an approve button or a link in email that help center requests his email. Is this a feature or bug? How to solve?


Answers:
author: Chrissy Clements
body: Hey [@Diogo Bortolin](/t5/user/viewprofilepage/user-id/5443564)

In Customer notifications, what security setting is applied to the Approval email?

Interestingly, the latest cloud updates 26/02-04/04 note this change:

**Bug Fix:** We fixed a bug in the customer notifications page for company-managed project settings. Now, changes to the Security settings for notifications where approval is required will save correctly.


Tags: cloud

email

jira-service-management-cloud

sso
Why does Knowledge base is not loading even though I have an admin access?
Asked by Jimmy Trivedi:

Please check below image

![Screenshot 2024-03-03 at 21.19.41.png](/t5/image/serverpage/image-id/309859iB72484C03494A4AD/image-size/large?v=v2&px=999 "Screenshot 2024-03-03 at 21.19.41.png")


Answers:
author: Joseph Chung Yin
body: [@Jimmy Trivedi](/t5/user/viewprofilepage/user-id/3939054) -

Take a look at this KB article - <https://confluence.atlassian.com/jirakb/possible-causes-for-the-error-message-couldn-t-load-refresh-in-knowledge-base-1189784993.html>

It contains two possible solutions for you in the article. In addition it calls out one of the possible cause dealing with Confluence IP allowlists problem - <https://jira.atlassian.com/browse/JSDCLOUD-11476>

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud