youngmon/atlassian-qna huggingface dataset:
difference between BranchName Vs Repository Branch name and how to get the variable name
Asked by Sughosh R:

what is the bamboo variable for the

the branch name which is under plan configuration--\> repository --\>branch name

and the branch name which is getting build

when we use "${bamboo.repository.branch.name}" we get the branch name that is current being build by bamboo

how to get the name which is under plan configuration under that repository section and branch name under that..


Answers:
author: DPKJ
body: [@Sughosh R](/t5/user/viewprofilepage/user-id/3749187) Welcome to the community.

Variable you are looking for should be like this, "${bamboo.planRepository.branchName}"

Have a look at this for more details - <https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html>

comments: author: Sughosh R
body: Both ${bamboo.repository.branch.name}" and ${bamboo.planRepository.branchName}"

give the same result


author: DPKJ
body: [@Sughosh R](/t5/user/viewprofilepage/user-id/3749187) Can you try it with position, like this you can replace 1 here to see difference.

```
${bamboo.planRepository.1.branchName}
```


author: Sughosh R
body: [@DPKJ](/t5/user/viewprofilepage/user-id/690016) All the below variables give the same value

Write-Host "repository.git.branch--\> ${bamboo.repository.git.branch}"  
Write-Host "planRepository.1.branchName--\> ${bamboo.planRepository.1.branchName}"  
Write-Host "repository.branch.name --\> ${bamboo.repository.branch.name}"  
Write-Host "planRepository.branchName--\> ${bamboo.planRepository.branchName}"


author: DPKJ
body: [@Sughosh R](/t5/user/viewprofilepage/user-id/3749187) Need to check on that.

Have you read the documentation link that I have given?


author: Vijay Reddy
body: [@DPKJ](/t5/user/viewprofilepage/user-id/690016) what If bamboo plan has multiple repo's , If I want to configure a branch plan that has multiple branches.

will this works?

${bamboo.relVer}-\*.${bamboo.buildNumber}

```
?
```
An error occurred while publishing plan permission for non existing users: [asas]
Asked by Shivakumar:

java.lang.reflect.InvocationTargetException: An error occurred  
while publishing plan permission for plan PlanIdentifier{projectKey=SP, key=SAMPLEKEY, oid=null}: Plan permissions / Users: Cannot set p  
ermission for non existing users: \[asas\]

i am trying to do mvn -Ppublish-specs

but getting error as below

please assist

below is user permission and global permossion

```
.userPermissions("asas", PermissionType.ADMIN, PermissionType.CLONE, PermissionType.EDIT)
.groupPermissions("bamboo-admin", PermissionType.ADMIN)
```


Answers:
author: Shivakumar
body: user name in credentials and userPermission is not matching. so that error throwing


Tags: java

spec
Bamboo artifacts are not linked
Asked by Keith Tyler:

My project has artifacts configured, and created. When the plan is done, the artifacts are listed, but they are not linked, and can't be downloaded.

Why would the artifacts not be linked?


Answers:
author: Jeyanthan I
body: Hi [@Keith Tyler](/t5/user/viewprofilepage/user-id/3747921) ,

It is possible that your artifacts are deleted due to your global or plan level expiry settings. You can find in your atlassian-bamboo.log if that's the case.

It is also possible that the artifact directory on the Bamboo server doesn't have read permission to the user that runs the bamboo service.

Cheers, Jey
Share HTML reporte through slack in Junit report fails
Asked by Nilesh Kumar:

Hi Team,

My requiremnt is that I need to share the HTML report generated from newman command through slack if newman JUnit test fails for the postman script.

if below command got some test case fails

**newman run Suite.postman_collection.json --globals DEV.postman_environment.json --suppress-exit-code --reporters junit --reporter-junit-export postman-tests-results.xml**

Then run below command and share the Report in Slack

newman run Suite.postman_collection.json --globals DEV.postman_environment.json --reporters cli,htmlextra --reporter-html-export report.html


Answers:
author: Move Work Forward
body: Hi,

You could make a custom script that posts a file or image via Slack Incoming Webhook integration. Or you could render the html report in a headless browsers, upload the report to S3 and send a message with a link to Slack.

Post a message via Incoming Webhook - <https://api.slack.com/messaging/webhooks>

Post a file - <https://api.slack.com/methods/files.upload>

Cheers,

Leo


Tags: script
How I can pass the Maven's artifacts (jar file) to my docker task in same build of Bamboo
Asked by varun.malhotra:

Hi all,

This is my first post here and appreciate if someone could help me out asap as its URGENT!!

I am running a Bamboo build with Maven tasks building some Artifacts (jar files).

After the jar files are build they are stored in some temporary working directory of Bamboo and from there passed on to the nexus repo.

After this task, there is a docker task ( not using docker plugins inside Maven) to create an Image where inside the image I need to get this jar file copied.

But somehow I cannot get that Jar file (from working directory) as the current working directory changes to something /opt/docker instead of /opt/bamboo.

Can someone help me out with the same please.

Cheers


Answers:
author: Jeyanthan I
body: Hi [@varun.malhotra](/t5/user/viewprofilepage/user-id/3737473)

I guess you are running your build in a Docker container insteadd of running on the agent's environment. Is that right? If so, you may change the build working directory location by navigating to the respective **job -\> Docker (tab) -\> Volumes (section)** under *${bamboo.working.directory}.*

If you are unsure, an alternative is to switch **Run this job in** option with **Agent's environment** as explained in [this page](https://confluence.atlassian.com/bamboo/docker-runner-946020207.html).

Hope that helps.

Cheers,  
Jey
Error when attempting to Update Zephyr Versions
Asked by Cdnyoung:

I have some bamboo jobs that run scripts hitting the Zephyr API, specifically trying to update our test plan cycles. Recently (2 days ago) I started seeing this error when attempting to send a call to the api.

"error": "Invalid input. Please verify input and try again."

Looking at the logs, i see it's trying to hit this URL:

\[our.jira.url\]/rest/zapi/latest/cycle?versionId=\[versionId\]  

I've confirmed this version Id is present on our test cycle summary page, but I can't seem to get any more information about why this can occur, or, how to solve it. Interestingly, if I try to expand the Test Cycle this is referring to, it will no longer expand, thus I can no longer add tests to the cycle.

UPDATE: Not sure why but I can't enter this as a reply below.

Thanks, I received the following steps that resolved it:

1) Regarding test cycle not expand issue:   

\> Go to JIRA Administration -\> Add-ons -\> Zephyr for JIRA -\> General configurations page.  

\> In the General configurations page, scroll down at the sort option select "custom order" radio button option.  

\> Now go to Plan Test cycle page and see if you are able to expand the cycle or not?


Answers:
author: Manuel Lindner
body: [@Cdnyoung](/t5/user/viewprofilepage/user-id/1196913) thank you for the update. It solved to problem ;)

Have you also contacted the vendor and reported this bug or did you get any further information from them?


author: Yesim Poyraz
body: Hi Cdnyoung,

Thank you for updateds. This also works for me.

Thanks,


author: Jeyanthan I
body: Hi [@Cdnyoung](/t5/user/viewprofilepage/user-id/1196913) ,

I'm not familiar with this plugin. Did you get any clue from your atlassian-bamboo.log?

Also,Did you get in touch with Zephyr support for this?

Cheers, Jey

comments: author: Cdnyoung
body: [@Jeyanthan I](/t5/user/viewprofilepage/user-id/1124775)

See update above


author: Jeyanthan I
body: Hey [@Cdnyoung](/t5/user/viewprofilepage/user-id/1196913) ,

Not sure why you cannot post a response. Glad that you were able to resolve the issue and share the steps with the community.

Cheers,  
Jey


author: Tarun_Aggarwal
body: Hi [@Cdnyoung](/t5/user/viewprofilepage/user-id/1196913) ,

I am getting the same error "Invalid input. Please verify input and try again." from few days.

What is the "expand the cycle or not" issue here?

Are you able to get past the above error with the steps you have mentioned?

Thanks,

Tarun


Tags: jira

zephyr
Email Requests
Asked by Jim Foster:

I recently changed my support email address from Microsoft Office365 to Proton Mail. Now my support@mydomain.com email address entry in Jira Service Desk will no longer pick up the emailed issues and create a ticket. When I try to edit the existing support@mydomain.com entry I can only change the type not the underlying email system settings. If I try to add an external-\>Other email using the same email address but the mail service mail server for proton says it is 127.0.0.1 port 1143 TLS but Jira will not connect. I have never seen a mail server address be the local host 127.0.0.1 but many sites say the very same thing. Any help is greatly appreciated.


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

127.0.0.1 is always "home" - it means "this machine", it's not a remote address.

It is very likely that your Jira is running on a different machine, so you'll need to set up the email server to be remotely accessible.

comments: author: Jim Foster
body: Yes I knew that was a local host address not sure why it is saying that that is the proton email server address as proton email is cloud based not local.

Proton Site for IMAP:

IMAP Host: 127.0.0.1

IMAP Port: 1143 TLS

Requires SSL: NO

USERNAME/PASSWORD

Also I only use Jira in the cloud.


author: Nic Brough -Adaptavist-
body: Again, it's because 127.0.0.1 means "this machine" - it really does mean "the current machine".

It is usually referred to as "home" (you can even get t-shirts that say "there's no place like 127.0.0.1")

You need to give your system the IP address of a remote email server, not "home".

"Proton host for IMAP" can never be 127.0.0.1 unless you are running a Proton mail server on your machine.


Tags: cloud

jira-service-management

jira-service-management-cloud
Set Due Date for 30 days pass Created Date
Asked by Mike Loving:

I would like to automatically set the due date of an issue on creation and set it for 30 days pass the created date.

For example: Issue ticket has a created date of 1/1/2024, due date should auto populate with 1/30/2024 when created date was triggered.


Answers:
author: Jovin
body: Hey [@Mike Loving](/t5/user/viewprofilepage/user-id/3160439)

This should be simple enough, meanwhile I don't have Data Center/Server the concept should be similar.

1. Create an Automation rule where the trigger is "Issue Created"
2. Add an action for "Edit Issue" and set the field as "Due Date"
3. In the value to set for the field put {{now.plusDays(30)}}
4. Test, and done!

comments: author: Mike Loving
body: Jovin, this worked. Much appreciate the fast response.


author: Ezgi Bay?nd?r
body: Hey [@Mike Loving](/t5/user/viewprofilepage/user-id/3160439) !

Welcome to the community. You need to use smart value to calculate your due date.

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

{{issue.createdDate.plusDays(30}}

Also check this link for smart values [Automation smart values - date and time \| Cloud automation Cloud \| Atlassian Support](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/)  
Check this link for similar question [Solved: Format for start date + business days for due date... (atlassian.com)](https://community.atlassian.com/t5/Jira-questions/Format-for-start-date-business-days-for-due-date-in-task/qaq-p/2504091)  


author: Nicolas Grossi
body: [@Mike Loving](/t5/user/viewprofilepage/user-id/3160439) Welcome! You might tale a look at this link: <https://community.atlassian.com/t5/Jira-questions/How-to-automatically-set-due-date-to-the-first-day-of-next-year/qaq-p/2267048>

Nicolas


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

server
ITSM Raise a request on behalf of someone while being signed in
Asked by Ben Larson:

Is there a way for a user to raise a request on behalf of someone whey they are logged into the portal? When they are not logged in a required field shows that requests them to enter an email address. Once they are logged in this field no longer displays. Is there a way to get a similar field to populate after a user is already logged into the help desk?


Answers:
author: Robert Wen_ReleaseTEAM_
body: People that are Agents (occupy JSM licenses) are able to raise requests on behalf of other users. Customers can raise issues only on behalf of themselves.


Tags: cloud

jira-service-management

jira-service-management-cloud
Can I add jira permissions groups in to Customers in the project?
Asked by Vera Valshonok:

Hi!

Can I add jira permissions groups in to Customers in the project?

Our Jira permission groups are synced with directory in Azure and are updating.

The idea is that we need to add to the Project ( closed private project) a lot of jira users, most of users in our jira. It will be hard to do manually.

Also we'd like if the users will be deactivated or added to jira to automatically add them to this user permission groups.

Is there such a possibility?


Answers:
author: Nikola Perisic
body: Hello [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542)

Correct me if I am wrong: you would like to bulk add the users to the project? If this is the case you can do this with the API: <https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-role-actors/#api-rest-api-3-project-projectidorkey-role-id-put>

Reference to the link from above is this one: <https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-role-get>

It would also take time to go through the account ID of each user. This is done when the each user goes to their avatar and click on the profile. The ID of the account is everything behind the /jira/people part.

For the users to automatically get the access, this would need to be set up from the Azure side.


Tags: cloud

jira-service-management

jira-service-management-cloud
Customize the way the cascade field displays its values.
Asked by Rita Zweers:

Dear community,   

I am wondering if there are other possibilities.   

I am using the cascade field to display my categories.

* Parent (category) A
  * Child (subcategory) A1
  * Child (subcategory) A2

The outcome shown is then:  
Parent (category) A - Child (subcategory) A2  

<br />

Did any of you manage to only show the field like this (= only show the subcategory):

Child (subcategory) A2  

<br />

Research so far did say:

you would need to customize the way the cascade field displays its values. The cascade field by default shows both the parent (main category) and the child (subcategory). However, you can manipulate the display using custom JavaScript or a scripting plugin such as ScriptRunner for Jira.  

We will have no such plugin or extra tool like ScriptRunner.  
But I am wondering if this still would bepossible without additional tools.   
Chat GPT mentioned that it would be possible to use JavaScript within the announcement banner to manipulate the view of that specific cascade field. Have you ever tried this?  
Or can you suggest another approach?


Answers:
author: Rita Zweers
body: I tried so far the idea of using JavaScript in the announcement banner. So far it failed (but that might be part of my missing knowledge.)  

Anyone solved this?


author: Rita Zweers
body: Additional:   

Before switching to cascade field we used Asset-fields but with up to 3 categories it has too many cliks (4 per category) and not usable. Even if we stick with only 2 categories it is still too much and would be very frustrating throughout the day.


Tags: cloud

jira-service-management

jira-service-management-cloud
Fill service desk form via API
Asked by Albert Ashkhatoyan:

I have a form that automatically creates an issue in JSM. i would like to automate the form filling process via my n8n instance or custom api calls, and i have no idea how to go about it or if it is possible.  

i am to fetch new records from a DB and use it to fill a form which creates a jira ticket with the form attached.  

I have checked Jira API documentation but no luck


Answers:
author: Bruna Silva
body: Hello [@Albert Ashkhatoyan](/t5/user/viewprofilepage/user-id/5524289),

Thank you for reaching out to Atlassian Community!

In order to create requests in Jira Service Management via API, you can use the endpoint described in the document below:

* [Jira Service Management API documentation](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post)

If you have any other questions regarding this matter, please let us know.

Regards,  
**Bruna**


Tags: cloud

jira-service-management

jira-service-management-cloud
Can I add jira permissions groups in to Customers in the project?
Asked by Vera Valshonok:

Hi!

Can I add jira permissions groups in to Customers in the project?

Our Jira permission groups are synced with directory in Azure and are updating.

The idea is that we need to add to the Project ( closed private project) a lot of jira users, most of users in our jira. It will be hard to do manually.

Also we'd like if the users will be deactivated or added to jira to automatically add them to this user permission groups.

Is there such a possibility?


Answers:
author: Phil Arnold
body: Hi, sounds like you need to setup user provisioning - please refer to <https://confluence.atlassian.com/cloudkb/user-provisioning-and-saml-single-sign-on-for-jira-service-management-customers-1333826180.html>


Tags: cloud

jira-service-management

jira-service-management-cloud
Creating a field that can hold over 100+ values
Asked by Yaharin:

Hello,   
I have a Tasks project and I would like to tag each ticket with a specific value (in this case - clients names). I have a list of over 100+ clients names.   
which field can be compatible for this criterion?

Thank you.


Answers:
author: Jakub Koc
body: You can create a static dropdown list with every customer you have,   

Settings -\> Issues -\> Custom fields, search for "customer", click on the 3 dots on the right, select "context and default values and you can add them there


Tags: cloud

jira-service-management

jira-service-management-cloud
Forwarding edited Forms to sub-tasks
Asked by Emirhan T?rkay:

I want to forward the form I added with automation to subtasks and I want them to be able to edit it. At the same time, I want the edited versions to be updated for all status.  

How can I do this?


Answers:
author: Bruna Silva
body: Hello [@Emirhan T?rkay](/t5/user/viewprofilepage/user-id/5452528),

Thank you for reaching out to Atlassian Community!

Just to ensure we are on the same page, apparently, you are using **Forms** (*Project settings* \> *Forms*) and you would like to copy it from the parent issue to the subtasks. Is that correct?

If that's the case, you can achieve this using the **Copy forms** action outlined in the following document:

* [Jira automation actions - Copy form](https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Copy-forms)

In addition, depending on your use case, you may also need to use a Jira Automation branch:

* [Jira automation branches](https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/)

If you have any other questions regarding this matter, please let us know.

Regards,  
**Bruna**


Tags: cloud

jira-service-management

jira-service-management-cloud
How do I back up my Jira files. Backup section not appearing under "data" management"
Asked by jo Willis:

Hi,

Any suggestions on backing up Jira files so I can download and save them (Service Manager and Activity Timeline)

The backup section not appearing under "data" management" as suggested in the online guide.

Thanks,

Jo


Answers:
author: Svitlana Samotis _Reliex_
body: Hi Jo,

As for backing up ActivityTimeline data, our support team has received your request and will reach out to you shortly to gather more details and provide a comprehensive answer.

Regards,

Svitlana, ActivityTimeline team


Tags: cloud

jira-service-management

jira-service-management-cloud
green arrow facing down on an issue
Asked by Rim Ben Rejab:

Hi guys :D

does anyone knows what does a green arrow facing down mean on a ticket?

when i searched for priority icons, and when i tried on my instance, the low priority icon is blue. here is a screenshot of what the arrow i am talking about looks like!

thanks again ![scr3.png](/t5/image/serverpage/image-id/330570i4F6ED0DC6975E63C/image-size/large?v=v2&px=999 "scr3.png")


Answers:
author: Rim Ben Rejab
body: ok I found the answer:

<https://community.atlassian.com/t5/Jira-articles/Priority-icons-are-more-accessible/ba-p/1732935>

it's just an update


Tags: cloud

jira-service-management

jira-service-management-cloud
incident ticket - dynamic entry form
Asked by Fabrice Gantois:

Hello

In the input grid for my "incident" ticket, I want to add a form based on the value of another field, in this case "affected service".

The content of "affected service" is the name of our applications and the forms to be positioned contain data specific to each application.  
I find how to add a specific form by automation rule but the form is added in the ticket not in the input grid.

Please, somebody can explain me how is it possible to "refresh" or regenerate the input grid during the insert data ?

Thanks in advance. Fabrice


Answers:
author: Phil Arnold
body: Not sure if I am understanding your correctly but here goes (apologies if I am off the mark with this response).

On request forms, you can add sections to forms which can be displayed conditionally based on responses to fields above the section.

See here <https://confluence.atlassian.com/jirakb/using-conditional-logic-with-forms-1167693620.html>

Again, not sure if this is what you need.

comments: author: Fabrice Gantois
body: hello  
thanks all for your answer (and sorry for my english :-) )

<br />

but Phil you understood right my need.  
I do your solution and now it'ok. My form change when an user choice a particular application.

have a good day


author: John Funk
body: Hi Fabrice,

Yes, your licenses are not named user licenses, just a count. So make one user inactive and then you can add a new user.


Tags: cloud

jira-service-management

jira-service-management-cloud