youngmon/atlassian-qna huggingface dataset:
How to use "Run Bamboo jobs in Docker"
Asked by Micha? Szyma?ski:

Hi,  
After 2 years I've returned to Bamboo and I've decided to use new (at least for me) functionality - "Run bamboo jobs in docker". But I do not understand how to use it.

I would like to start Java compilation in openjdk:8 image. I've configured a job to run in docker but how to properly execute a command in such docker, should I use Script task and "docker run ..." or is it a better way?

Michal Szymanski


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Micha? Szyma?ski](/t5/user/viewprofilepage/user-id/3524228) ,

Under job configuration, there is a Docker tab where if you specify the image then the build will run inside that image.

![Screen Shot 2019-08-26 at 7.27.56 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/64289iC4DA85F8847C2B9B/image-dimensions/523x296?v=v2 "Screen Shot 2019-08-26 at 7.27.56 AM.png")

Documentation: [Docker Runner](https://confluence.atlassian.com/bamboo/docker-runner-946020207.html)

comments: author: Micha? Szyma?ski
body: What do you mean by 'build', I've configured job as you showed and I've created one test 'script' task that had one command 'hostname' and I've got name of host name not docker container.

Should I use 'special' task that can be run inside docker image?

Michal


author: Edwin Kyalangalilwa
body: Yes, the task. But to run this task in a Docker container, you'll have to specify an image in the Docker tab. As shown in the screenshot.


author: Micha? Szyma?ski
body: Strange when I execute script with hostname it showed host name not docker name but when execute 'java -version' it showed java from docker :) Simply it works :) Thank you :)


Tags: docker

job
Bamboo and ServiceNow Integration
Asked by sridhar:

Hi, We are trying integrate bamboo with ServiceNow.

Usecase: Once bamboo plan runs , If it fails then reach ServiceNow and create Incident. If it gets success then reach ServiceNow and create change ticket.

After this plan in another it needs to pull status of the tickets and send emails to appropriate Folks.

Just want to know any ServiceNow plugin in Bamboo.


Answers:
author: Daniel Santos
body: Hi [@sridhar](/t5/user/viewprofilepage/user-id/3535712)

Thank you for bringing this challenging topic to our community. I'll comment on your comments but a little bit out of order. ?
> *Just want to know any ServiceNow plugin in Bamboo.*

As far as I can tell Bamboo does not have any out of the box integration with ServiceNow. It is possible that a developer out there has created a ServiceNow plugin (not in our marketplace), but doubt it would do all of what you want.

Let me share with you what I have and you can investigate how to move forward:
> Usecase: Once bamboo plan runs , If it fails then reach ServiceNow and create Incident. If it gets success then reach ServiceNow and create change ticket.

1. Check how to create and change a ticket in ServiceNow through REST API  
   [REST API \| ServiceNow Developers.](https://developer.servicenow.com/app.do#!/rest_api_doc?v=madrid&id=r_TableAPI-GET)
2. Add the plugin [Pre-Post Build Command Runner \| Atlassian Marketplace](https://marketplace.atlassian.com/apps/5581/pre-post-build-command-runner?hosting=server&tab=overview) in Bamboo. It will allow you to call a command (or script) when a build fails.
3. Add a command to call the REST API you tested when the build fails.

> After this plan in another it needs to pull status of the tickets and send emails to appropriate Folks.

1. Check how to pull status of tickets in ServiceNow through REST API  
   [REST API \| ServiceNow Developers.](https://developer.servicenow.com/app.do#!/rest_api_doc?v=madrid&id=r_TableAPI-GET)
2. Create a script task to call the REST calls you investigated in step 1.
3. Check this article to see an alternative on how to send emails through a script task:  
   [Solved: Bamboo - Send email notifications to list generated by a job.](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-Send-email-notifications-to-list-generated-by-job/qaq-p/1032755?utm_source=atlcomm&utm_medium=email&utm_campaign=kudos_answer&utm_content=topic)  
   Bamboo does not have a custom task to send mail notifications. It sends multiple predefined notifications, but not in the middle of a build. There is a feature request for this at: [\[BAM-17085\] Send customized email via Bamboo Task.](https://jira.atlassian.com/browse/BAM-17085?_ga=2.56942505.2098661228.1566825244-1655730220.1552917293)

I hope this clarifies your request and give you enough information to allow you moving forward.

comments: author: sridhar
body: Thanks for Guidance , will move forward to achieve Goal


author: Daniel Santos
body: I'm glad to hear that!  
You are welcome!


Tags: integration

servicenow
Created dashboard is not showing for the shared users or even when updated as My Organization
Asked by Sharan Kumar Sagi:

**Unfortunately, one or more of your preferences are now unavailable. Please update your preferences, or remove gadget by clicking delete from the title bar above.**

* An error occurred while generating the response.


Answers:
author: Valerie Knapp
body: Hi [@Sharan Kumar Sagi](/t5/user/viewprofilepage/user-id/5510281) , welcome to the Atlassian Community and thanks for your question.

Please can you share a screen of the dashboard? An anonymised version is fine.

Are many dashboards impacted? Do you have a suspicion about which gadget is causing the issue? Have you tried removing one and republishing?

Please share your feedback so we can assist you

comments: author: Sharan Kumar Sagi
body: ![image (32).png](https://community.atlassian.com/t5/image/serverpage/image-id/327303i96F67B441D29F66C/image-size/large?v=v2&px=999 "image (32).png")

Used Pie chart here but still even for the filtered list on dashboard as well, its showing the same when shared to others.

Permissions also given from "Rename or share".


author: Valerie Knapp
body: Hi [@Sharan Kumar Sagi](/t5/user/viewprofilepage/user-id/5510281) , thanks for your feedback. Please can you verify if any workflows have been recently modified? This sounds to me like the gadget is searching for a status, for example, that perhaps has been removed


author: Sharan Kumar Sagi
body: [@Valerie Knapp](/t5/user/viewprofilepage/user-id/5502128) But the same dashboard is coming all fine for me without any changes.

To the organization or to the members whom I shared and given permissions on "Rename and Share" - Its not reflecting.


author: Valerie Knapp
body: Hi [@Sharan Kumar Sagi](/t5/user/viewprofilepage/user-id/5510281) , ok, do these people have JSM licenses or permission to view the filters for the gadgets?


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Custom Field just won't show up!
Asked by Vincent Luckmann:

Dear Community,

I have been trying to simply add a custom field to one type of issue.

The field is called "Office Location", it's a select list (single choice) and should only be visible in the type of issue called "Request new user".

Now what I have tried :

I have the correct screen selected.

I have the correct context selected (This field will be available on issues of any type in all projects)

I have checked the screens and saw that it is showing up and that it is beneath the correct tab.

I have even compared it to a different field and everything seems to be the exact same

But when I go and try to create a new ticket. It does not appear.

Can anyone please help me out? Been loosing my head over this for 2 days now..


Answers:
author: Mikael Sandberg
body: Hi [@Vincent Luckmann](/t5/user/viewprofilepage/user-id/5510230),

Welcome to Atlassian Community!

Is the field on the request form for the request (project settings \> request types)? Have you also checked the field configuration to make sure the field is not hidden?

comments: author: Vincent Luckmann
body: Mikael Sandberg.

You are a hero, a god.

It was the request type!!! I did not know about this setting and did'nt pull the Location button to the right position.

Thank you so much for your help celestial being.

I will forever be in your debt.


Tags: cloud

jira-service-management

jira-service-management-cloud
Need to change Jira Service Management form field UI
Asked by BALAMURUGAN KARMEGAM:

Hi, I want to change the UI of Jira service management screen Is it possible to customize the default form field UI?


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

Probably not, but that depends on what you are wanting to change. Can you be more specific?


author: Klaudia Sch?n_Deviniti_
body: Hi [@BALAMURUGAN KARMEGAM](/t5/user/viewprofilepage/user-id/5510055) ,

what exactly you mean by changing UI? Would you like to present fields in another order, or maybe show the custom fields in columns, or anything else?


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
How do I change the account of resolved issues in Jira?
Asked by Rebekka Krist?n:

We use "accounts" in Jira to distinguish between Run - Grow - Transform projects. Some of the projects have been incorrectly classified as Run when they should have been Grow. I?ve changed it now and all the logged hours in Tempo are correct from the date we made the change but can I change it retrospectively for all logged hours from the beginning of the year?


Answers:
author: Rudy Holtkamp
body: Hi [@Rebekka Krist?n](/t5/user/viewprofilepage/user-id/5510026) ,

Yes you can, but you need to be sure that if you have synced the logged hours to other systems that you re-sync these hours.

From a Tempo perspective it is no issue.

comments: author: emma_allan
body: how do you do this please?


author: Rudy Holtkamp
body: hi [@emma_allan](/t5/user/viewprofilepage/user-id/5533332) ,

You either do this by hand (change it for every worklog) or you can create a (e.g. Python) script which uses the Tempo [api](https://apidocs.tempo.io/#tag/Worklogs/operation/updateWorklog).


Tags: cloud

jira-service-management

jira-service-management-cloud
Can we add Character limit and Disclaimer to the text field while creating a ticket through agent vi
Asked by shivani shirguppi:

Can we add Character limit and Disclaimer to the text field while creating a ticket through agent view??

Kindly help with steps if possible.


Answers:
author: Trudy Claspill
body: Hello [@shivani shirguppi](/t5/user/viewprofilepage/user-id/5241115)

Can you provide more information about your request? Are you trying to add default text into a field? Or are you trying to add hint help?

Could you provide a screen image/mock up showing what you want to achieve?

comments: author: shivani shirguppi
body: [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

I want to add the character limit to the text type field in jira.


author: Trudy Claspill
body: I am still not clear on what you are trying to accomplish.

If you were able to implement this what would be the end result? How would the functionality be different? How would the display be different?


Tags: cloud

jira-service-management

jira-service-management-cloud
Can we. assign SLA target based on Assignee's time zone
Asked by Mihir Vibhu:

Hi team,

We have been trying implement SLAs at team managed project and our team works across many timezones. Is there a possiblity to trigger SLA for eg: 24 hr based on Assignee's timezone ?

i.e if Assignee is in GMT +1 has accordingly assigned SLA, while for someone from GMT +5:30 has a different SLA time required


Answers:
author: Vitaly_Berezovsky_SaaSJet
body: Hi [@Mihir Vibhu](/t5/user/viewprofilepage/user-id/5464869)   
It sounds like you're looking to implement SLAs in your team-managed project with considerations for different time zones. I recommend trying our "[SLA Time and Report for Jira](https://marketplace.atlassian.com/apps/1220741/?utm_source=Atlassian_Community&utm_medium=refferal&utm_campaign=Comment_Can-we-assign-SLA-target-based-on-Assignee-s-time-zone_20240603)" add-on, which can address this issue effectively.

How Our Addon Solves Your Problem:  
Configurable SLA Profiles: You can create separate SLA configurations for different time zones. For example, one for GMT +1 and another for GMT +5:30. This ensures the SLA starts based on the local time of the assignee.

Timezone-Specific Calendars: Each SLA configuration is linked to a calendar that matches the relevant time zone, accounting for local working hours and holidays.

Automatic Application: Our addon automatically applies the correct SLA configuration based on the assignee's time zone, eliminating the need for manual adjustments.

Did I understand your need correctly?


author: Rudy Holtkamp
body: Hi [@Mihir Vibhu](/t5/user/viewprofilepage/user-id/5464869) ,

With Automation for Jira you can use the smart value {{issue.reporter.timeZone}} to determine the TZ. You can use this to populate a Jira field, which you can use in the JQL of your SLA.

I hope this helps.

Rudy

comments: author: Mihir Vibhu
body: Thank you [@Rudy Holtkamp](/t5/user/viewprofilepage/user-id/636802) ,

We are trying to have SLA based on assignee's timezone so it means I can use {{issue.assignee.timeZone}} and populate TZ when ticket is assigned.

And based on that have appropriate Calendar chosen? Not sure if I understand the 2nd part about using JQL . can you kindly give me an example?


author: Duc Thang TRAN
body: Hello [@Mihir Vibhu](/t5/user/viewprofilepage/user-id/5464869)

I'm not using a team-managed project, but I have a similar need for my project in Jira Service Management.

I created two calendars for two teams in two different countries:

* **Calendar Team 1**: 09:00 - 17:00
* **Calendar Team 2**: 12:00 - 20:00

In my SLA rule, I made two JQL queries:

* Assignee in (Team1) mapped with Calendar Team 1
* Assignee in (Team2) mapped with Calendar Team 2

You can try this approach if a team-managed project has the capability to include multiple conditions in the same SLA and allows the creation and mapping of a calendar.


Tags: cloud

jira-service-management

jira-service-management-cloud
Cron Expression - Mon-Fri - 9am to 6pm HKT
Asked by Emery Manayan:

Hello,

Anyone to help me, I need cron expression for Monday to Friday - 9am to 6pm (HKT) for my automation follow up to customer:

Not sure if this is right - 0 9-18 \* \* 1-5

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


Answers:
author: Marc Jason Mutuc
body: You can use this

<https://www.freeformatter.com/cron-expression-generator-quartz.html>


author: John Funk
body: Hi Emory - How often should the rule run during the 9-6 time period? Every hour? Every minute? Just once?


author: Mihai Schwarz
body: Hi [@Emery Manayan](/t5/user/viewprofilepage/user-id/4908323) ,

You can use an online CRON generator <https://www.freeformatter.com/cron-expression-generator-quartz.html>

Or you can validate your existing one using this [https://crontab.guru/#5_4_\*_\*_1](https://crontab.guru/#5_4_*_*_1)   

PS. Your CRON expression means from Monday to Friday from 9-6


Tags: cloud

jira-service-management

jira-service-management-cloud
Error creating request
Asked by Alexander:

Hello!

An error occurs when creating a request - **It's impossible to create a problem right now. this may be because requirements have been introduced in one or more areas that are not mandatory. If this issue persists, contact your administrator who may have access to more detailed information from the log file.**

It is impossible to find this task in the logging log without a **communication channel**

![?????? ?????? 2024-05-31 153458.png](/t5/image/serverpage/image-id/327128i44921CE657E65225/image-size/large?v=v2&px=999 "?????? ?????? 2024-05-31 153458.png")


Answers:
author: Alexander
body: Solved

comments: author: John Funk
body: Hi Alexander,

I am glad you got the issue resolved. Can you share what it was and your solution?


author: Alexander
body: The problem was a modified business process that did not support a certain field. Which field did I not understand, I simply changed the business process diagram


Tags: data-center

jira-service-management

jira-service-management-data-center
Issue creation in Automation doesnt work
Asked by scherdin:

I've been trying to create an Automation that creates subtasks for a specific Process in our company. But whenever I run it I get this error code which translates to ,,The parent process does not belong to the corresponding hierarchy".  

![2024-05-31 09_49_53-Audit log - Automation - Jira.png](/t5/image/serverpage/image-id/327142iFD990C07670035BE/image-size/large?v=v2&px=999 "2024-05-31 09_49_53-Audit log - Automation - Jira.png")


Answers:
author: John Funk
body: Hi Scherdin,

Can you share your rule that you have here? That will help us to better check it.

comments: author: scherdin
body: ![2024-06-03 07_53_40-Rule builder - Automation - IT Hilfe - Jira.png](https://community.atlassian.com/t5/image/serverpage/image-id/327428i043D3E877C918FC8/image-size/large?v=v2&px=999 "2024-06-03 07_53_40-Rule builder - Automation - IT Hilfe - Jira.png")


author: John Funk
body: Thank you for that. Can you now show us the details of the Create Issue action?


author: scherdin
body: Sure  

![2024-06-03 14_29_53-Rule builder - Automation - IT Hilfe - Jira.png](https://community.atlassian.com/t5/image/serverpage/image-id/327517i9408BBD672B42429/image-size/large?v=v2&px=999 "2024-06-03 14_29_53-Rule builder - Automation - IT Hilfe - Jira.png")


author: John Funk
body: Thanks. What issue type is the issue being created?

And what is your Issue Type Hierarchy?


author: scherdin
body: A service-request is created, where can i check the Hierarchy?


author: John Funk
body: Go to Settings \> Issues \> Issue Type Hierarchy

But I don't think you will find set up will support what you are trying to do. You are trying to make a service-request issue the parent of a task issue.

You probably should not populate the Parent field on the create - get rid of that field.

Then after your create action, add an action to Link Issues.


author: mike stamp
body: Hello,@scherdin [Receiptify Music](https://www.receiptify.net)

The error "The parent process does not belong to the corresponding hierarchy" usually means that the subtasks you're trying to create don't align correctly with the parent task's structure or category. Here's how to fix it:

Check Parent Task: Ensure that the parent task is correctly set up within the appropriate process and hierarchy.

<br />

Verify Subtasks: Confirm that the subtasks you're creating are allowed within the parent task's process.

<br />

Hierarchy Settings: Double-check the hierarchy settings to make sure the parent task and subtasks belong to the same process flow.

<br />

Automation Rules: Review the automation rules to ensure they are correctly configured to target the appropriate parent task.

<br />

Adjusting these settings should resolve the error and allow your automation to create subtasks correctly.

I hope the answer wil help you

Regards

mike stamp


Tags: cloud

jira-service-management

jira-service-management-cloud
How a costumer can see a ticket without being request participant
Asked by Arnau Barbecho Barrado:

Hello!

I need to share the content of tickets with the costumers of my organisation, but i don't want to put it as request participants of the ticket.

It's possible in another way?

Thank's!


Answers:
author: Klaudia Sch?n_Deviniti_
body: Hi [@Arnau Barbecho Barrado](/t5/user/viewprofilepage/user-id/5509872)

If all the customers you'd like to share the ticket with, are a part of your organization, the only thing you need to remember is to include this info in the settings - here you may find more information: <https://confluence.atlassian.com/jirakb/requests-automatically-shared-with-organization-1107626894.html>

If the described option is being enabled, you don't need to remember to add all the people one by one to the support ticket :)

comments: author: Arnau Barbecho Barrado
body: Thank's [@Klaudia Sch?n_Deviniti_](/t5/user/viewprofilepage/user-id/1229950)for the support!


Tags: cloud

jira-service-management

jira-service-management-cloud
Need help again - internal notes visibility only for Agents by default - how? :)
Asked by Emilia KASPRZYK:

Hi,

I am brand new to JSM and need help. Based on my experience with Jira Software, I have created a project where I have the ability to add internal comments and customer comments. However, I can't find how to set internal comments to be visible only to Service Desk Agents.

Please help

![2024-05-31 08h21_06_\[TC-1\]dasdasd-CentrumWsparciaGrupyMuszkieter?w-GoogleChrome.png](/t5/image/serverpage/image-id/327126iB4EA8DFB152D5D75/image-size/large?v=v2&px=999 "2024-05-31 08h21_06_[TC-1]dasdasd-CentrumWsparciaGrupyMuszkieter?w-GoogleChrome.png")


Answers:
author: Matthias Gaiser _K15t_
body: Hi [@Emilia KASPRZYK](/t5/user/viewprofilepage/user-id/3658553)

it seems that you've used in the past comment restrictions via the "lock icon button" at the comment to restrict visibility to certain team members. This is not needed in JSM anymore.

As [@Duc Thang TRAN](/t5/user/viewprofilepage/user-id/5371199) pointed out, you can simply write either

* comments via "add internal note" which is NOT visible to your JSM customers, only to your agents and possibly other collaborators
* or comments via "reply to customer" which are then also visible to your JSM customers.

Cheers,  
Matthias.

comments: author: Emilia KASPRZYK
body: Thank you, works perfectly!


author: Duc Thang TRAN
body: Hello [@Emilia KASPRZYK](/t5/user/viewprofilepage/user-id/3658553)

For me you are on internal comment mode

![2024-05-31 09_02_36-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/327135iCEDC520A6C970A9A/image-size/large?v=v2&px=999 "2024-05-31 09_02_36-Window.png")

You able to see be cause you have a license et work a service desk Team  
Normaly via portal, theses comments is invisible

comments: author: Emilia KASPRZYK
body: Extra, it actually works by itself, without setting.

I sincerely thank you.


Tags: cloud

jira-service-management

jira-service-management-cloud