youngmon/atlassian-qna huggingface dataset:
Bamboo yaml specs - polling via cron expression
Asked by Aske Jenstrup Olsson:

Hi,

How do I configure my yaml spec to do cron based polling? Form the reference it seems to be:

    ---version: 2triggers:  - cron: 0 0 0 ? * *

However this configures cron based scheduling, which in the documentation also is configured as:

    ---version: 2#short syntaxtriggers:  - cron: 0 * * * ? *

    ---version: 2#long syntaxtriggers:  - cron:      expression: 0 0 * * ? *

Regards,


Answers:
author: Alexey Chystoprudov
body: It's a bug in documentation. YAML Specs doesn't support cron expression for polling trigger. Created <https://jira.atlassian.com/browse/BAM-20953> to track it

comments: author: Aske Jenstrup Olsson
body: Thanks


Tags: yaml
how to remove this signup window in the login screen
Asked by Manjunatha NS:

Hi team ,

each log out and log in bamboo home screen dashboard shows the signup window, I wanted to remove the signup window because we already integrated with JIRA for login source


Answers:
author: irshad
body: Click the icon in the Bamboo header and choose Overview.  
Click Security Settings (under 'Security') in the left navigation panel to open the 'Global Security and Permission Properties' page.  
Click Edit on this page.  
Select, (or clear) the Enable Signup? check box.  
Select Enable Captcha On Signup if you require an additional security measure to prevent brute force attacks.  
Click Save.  
Log out of Bamboo and verify that the top menu bar now contains (or does not contain) a Signup link.![SecurityPermissionsSettings.png](https://community.atlassian.com/t5/image/serverpage/image-id/95174i507792971E56CC1C/image-size/large?v=v2&px=999 "SecurityPermissionsSettings.png")

comments: author: Manjunatha NS
body: I have already disabled it, but still it is showing the sign up dashboard,

Which was worked fine before but not working after upgrading to latest version

Please advise


author: Alexey Chystoprudov
body: Please report at support.atlassian.com, it might be a bug


author: Manjunatha NS
body: support team helped with the fix
How do I specify JRE when creating a sidekick agent for per-build-container plug-in?
Asked by Jason Templeman:

Trying to get the sidekick image built and having some issues. Is there any documentation other than the README.md file?

My current problem is with getting the JRE requirement working but there are others. The page says "download Oracle JRE and place it inside the working directory. Optionally if you have a company wide distribution url, use that one at a later step." and the help says "Java (JRE) download url or path inside working directory". Have not been able to get this to work.  

1. I went to the JRE link provided and was presented with options to download a rpm file or a tar.gz file. Which is expected (was unable to get either one working)?

2. It says to place the file in the "working directory" but not sure where exactly. Tried in sidekick folder and in sidekick/jre both without success no matter what I used after the -j command. Is this just the path or should the filename be included as well? Can I get an example?

3. I'm running this script using my login but noticed the output folder is being created with root user and group. I see no indication that this should be run with sudo. What is the correct way to run this script?

4. Using debug, I see the function "download if not cached". Can I save these files (JRE, Bamboo jar file, etc.) somewhere so I don't have to worry about downloading them? If so, where should they go? Looks like I might have a problem with the wget to d/l the jar file so would like to just be able to place all these in a folder and be done with it.


Answers:
author: Jason Templeman
body: It looks like the major problem is the script didn't clean up after itself if it fails. I believe the first time it failed caused the subsequent issues as the output folder was already there. Removing this directory between each attempt help.

As for the -j JRE option, I manually downloaded the JRE and placed in a folder called per-build-container/sidekick/stuff/. For the command line it is not just the path but the file name as well (the tar.gz and not the RPM). For my case it was

    -j stuff/jre-8u251-linux-x64.tar.gz

Note I also ran the script as sudo. Wasn't stated but seemed to work OK.

Another issue I ran into was the download of the agent jar file. There is a redirect in the wget file that was not working for us. I ended up editing the script and replacing the Altassian based url with the redirected one.

This addresses all the issues I ran into with the initial question.
Is there anyway to log script changes in Bamboo jobs? or log any other job changes?
Asked by Chitrarth Sahai:

I know that audit logs can track plan changes and plan configuration changes and overall bamboo configuration changes, but is there anyway to log the script file changes or commandline changes in the bamboo jobs??

This is very crucial in resolving on the fly issues and be more compliant internally.

e.g. changes in this tab's script is not logged. anyway to log this as well??

![script task.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/95006i59952CA66CD9185A/image-size/large?v=v2&px=999 "script task.PNG")


Answers:
author: Jeyanthan I
body: Hi [@Chitrarth Sahai](/t5/user/viewprofilepage/user-id/3923064) ,

There is no straight forward option to make Bamboo to email you for changes happened in a script task.

I can think of 2 possible ways:

**Option 1:**The content of the script is stored in BUILD_DEFINITION table under XML_DEFINITION_DATA column. You may write a script to monitor for changes happening in this table for this plan.

**Option 2:** Use [Repository Stored Specs](https://confluence.atlassian.com/bamboo/tutorial-bamboo-java-specs-stored-in-bitbucket-server-938641946.html) for managing your plan. This way, you can monitor for any changes happened in this RSS repository that includes changes to your script task as well.

Hope that helps.

Cheers,  
Jey

comments: author: Jimmy Seddon
body: Hey [@Chitrarth Sahai](/t5/user/viewprofilepage/user-id/3923064),

As an addition to the great option [@Jeyanthan I](/t5/user/viewprofilepage/user-id/1124775) provided I got in the habit of not using inline scripts but adding anything that would be an inline script to the repository that will be checked out as a part of the build process and calling that local script using the file location option in the script task.

Which this will cause a build to happen when you check in changes to that script, it's probably something that should happen anyway since you are changing a part of the build process.

I hope that helps!

-Jimmy


Tags: audit-log

compliance

job

log

script
Bamboo Specs: Miscellaneous Plugins: How to use Pattern Match Labelling
Asked by Reggie:

I am using the **Bamboo Specs** feature on Bamboo Server (7.0.3) and I would like to be able to use the "**Pattern Match Labelling** " option normally available at the **job** level on the "**Other**" tab.

I am already using another similar option for "Miscellaneous Plugins" in YAML, named "Clean working directory after each build" which "Removes the source directory after each build. This may increase build times but save disk space". This one is at least partially documented [here](https://docs.atlassian.com/bamboo-specs-docs/7.0.3/specs.html?yaml#miscellaneous-plugins). It looks like:

    version: 2Build:  ...  other:    clean-working-dir: true

That works great.

But I would also like yet **another** option (on top of it), something like:

    version: 2Build:  ...  other:    pattern-match-labelling: true

But I just cannot find any documentation on how to enable this "other: pattern-match-labelling: true" option in YAML (if even it is available).

Aside from the very scarce info in the specs I already mentioned in the link above of course, **has anybody found *any* docs on the Miscellaneous Plugins section?**


Answers:
author: Alexey Chystoprudov
body: Hello,

All available options are described at documentation you mentioned. Other plugins support is not implemented for YAML Specs yet. We're working to add support of some plugins at next versions of Bamboo.
How to change maven build artifact install path
Asked by Vamsi:

I am building a project on Bamboo with remote agent, during the deployment it is installing artifact to C:\\Users\\k\\.m2\\repository and getting following error

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project sampleproject: Failed to retrieve remote metadata com.myproject:sampleproject:1.0.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata com.myproject:sampleproject:1.0.0-SNAPSHOT/maven-metadata.xml from/to snapshots \<<https://mycompany.artifactory.com/artifactory/MuleSoft>) mycompany.artifactory.com Unknown host

User k is not accessible to artifactory need to change the install path from C:\\Users\\K\\.m2\\repository to E:\\Tools\\.m2\\repository

How can I change the path?

TIA


Answers:
author: Vamsi
body: Actual issue was Build server doesn't know the artifactory host. Added artifactory to build server hosts and it fixed the error.
How to enable "Clean working directory after each build" through API ?
Asked by naresh907:

I want to **enable** "Clean working directory after each build" in **each jobs** through some automation process or REST API call . Is there a way to do this or even is it possible to do without manually changing this in UI ?


Answers:
author: Ameeth Thatipalli
body: [@naresh907](/t5/user/viewprofilepage/user-id/3921397) [@Francisco Belchior](/t5/user/viewprofilepage/user-id/4176279) Did you get this work somehow? I have a similar situation, where I need to enable this for all the plans(maybe in 1000's) and I don't see any REST API available. Let me know if you have a solution for this.


author: Francisco Belchior
body: Also looking for the same. I would like to first get the status (disabled or enabled) of this feature per job and after that enable those that are disabled.

I've been browsing the existing rest api endpoints but no luck so far.
Using Automation to populate an Assets field with values of attributes from another Assets fields
Asked by Andrew Januszak:

I have two object types in Assets:

1. Software
2. Location

Software has an attribute called Locations, which pulls from/refers to the objects in Location.

I have two Assets custom fields:

1. "Software title" - pulls from the Software object type
2. "Software locations" - pulls from the Location object type

Via Automations and ignoring triggers, when the "Software title" custom field is populated with an object, how can I take the value(s) from the Locations attribute of that object and copy them into the "Software locations" custom field?


Answers:
author: Andrew Januszak
body: Figured it out; it was as simple as using the Edit issue action (setting the value for the Software locations field) and inserting an AQL query like so:

```
objectType = Location AND object having inR(Key IN ({{issue.Software title}}))
```


author: Cael Metcalfe
body: You must have the actual Asset referenced in the Asset Custom Field for this to work.

If you do, then you can use smart values to access the Attributes of an Object stored in an Asset Custom Field on an issue.

Eg: {{issue.fields."Software title"."Some Attribute"}}

And if the Attribute on the Asset is an Object type, then you can dot reference its attributes too.

Eg: {{issue.fields."Software title"."Locations"."Attribute In Linked Location Object"}}

You can then use the "Edit issue" action to set the required Issue field with the value returned from the Asset, using this smart value.

If the field is not available from the drop down list on the Edit issue action, you may need to use the Advanced field editing options.

See here: \[<https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Edit-issue>\]

comments: author: Andrew Januszak
body: Thanks Cael,

I didn't realize you could chain like that. Unfortunately, this is the response I get in the Audit Log when I try that method:  

```
An error occurred while requesting remote information

Bad Request
```

```
No fields or field values to edit for issues (could be due to some field values not existing in a given project):
```

The "Software Locations" Assets custom field is available from the drop down list, is on the appropriate screens, and can be edited by the actor of the automation rule.

I logged the values that {{issue.fields."Software title"."Location"."Attribute In Linked Location Object"}} returns (which are correct), and this is how they're presented:

```
[location_a, location_b]
```


Tags: assets

cloud

cloud-automation

custom-field

jira-service-management

jira-service-management-cloud
How the marketing team uses JIRA?
Asked by Youmna Alomari:

Can you advise on the best way to create a company-managed project for the Marketing team to assist in tracking their tickets? Are there specific functions or features that can be added to help organize the board?

Thank you!


Answers:
author: John Funk
body: Hi Youmna,

You can use pretty much any template you want because you will probably customize the first one anyway. I would suggest a Jira Business project for Marketing work (Work Management).

comments: author: Youmna Alomari
body: Thank you!


author: John Funk
body: You are welcome!


author: Lisa Forstberg
body: Hi [@Youmna Alomari](/t5/user/viewprofilepage/user-id/5434290) !

A good start is to create a Work Management project for the team. There are plenty of templates there for different kinds of business teams and you can configure these to suit the needs of that particular team too.

I have had Marketing teams using Jira software and planning their work in Epics, sprints and releases also, but the work management projects type has a lot more features that these teams normally like: Board,List,Calendar, Timeline.

all the best,

Lisa


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software
Issues opened via email getting rejected due to auto reply.
Asked by Tyler Giles:

Good afternoon!  

Please see screenshot. I currently trying to use my current ITSM (not jira) to email and open a duplicate issue in jira for further testing and so on.  

The emails are getting REECTED with "Auto-reply mail" as the detail.  

How can I temporarily allow these auto-reply emails?  

And what specifically is triggering Jira to flag these?  

Thank you!  

![2024-07-02_14-13-24.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/333097i7FCEB506D416FC60/image-size/large?v=v2&px=999 "2024-07-02_14-13-24.jpg")


Answers:
author: Laurie Sciutti
body: Hello [@Tyler Giles](/t5/user/viewprofilepage/user-id/5525501) \~ maybe this will help? <https://community.atlassian.com/t5/Jira-Service-Management/few-incomings-emails-getting-rejected-by-JIRA-service-desk-as/qaq-p/1240443>

comments: author: Tyler Giles
body: This did fix, thank you!!


author: Kristj?n Geir Mathiesen
body: Hi [@Tyler Giles](/t5/user/viewprofilepage/user-id/5525501)

My guess is that the email has some flag/code in it's header that is causing Jira to reject it, in order to prevent an email/issue creation storm. I've heard something about that before but sorry, I don't have the expertise to give you more info on that.

HTH,  
KGM


Tags: cloud

jira-service-management

jira-service-management-cloud
Is it possible to configure your own domain in Jira service management?
Asked by Rodrigo Buch:

Is it possible to configure your own domain in Jira service management? example: mycompany.com/servicedesk/customer/portals


Answers:
author: Rodrigo Buch
body: Here is the solution.

<https://support.atlassian.com/organization-administration/docs/add-a-custom-domain/>


author: Michel Neeser
body: Hi [@Rodrigo Buch](/t5/user/viewprofilepage/user-id/2150975)

Yes, this is possible now with some limitations (for example, you have to use a two-level subdomain). You can find more information on these pages:

* <https://support.atlassian.com/organization-administration/docs/add-a-custom-domain/>
* <https://support.atlassian.com/organization-administration/docs/can-i-change-the-url-used-to-access-a-product/>
* <https://community.atlassian.com/t5/Jira-Service-Management-articles/Custom-Domains-in-Jira-Service-Management-Help-Center/ba-p/2433175>

Hope this helps!

comments: author: Rodrigo Buch
body: [@Michel Neeser](/t5/user/viewprofilepage/user-id/1828853)

Hello, I managed to configure the custon DNS for my Jira products, but the portal for my customers to open tickets is still working with the Atlassiam address

Is the domain already active? Is there still any configuration left?


author: Michel Neeser
body: [@Rodrigo Buch](/t5/user/viewprofilepage/user-id/2150975) New DNS records may need a few hours to fully populate, so you should try again in a couple of hours. If it still doesn't work, it may be a good idea to create a ticket with [Atlassian Support](https://support.atlassian.com/contact/) in this case.


Tags: cloud

jira-service-management

jira-service-management-cloud
Reports on most common issues and most used solutions
Asked by Aaron Geister:

We have a client that is asking to find the most common issues and most used solutions.   

I have been using JSM for years and this is one of the reports or dashboards that are hard to find out of box reports or even with an add-on.   

I am trying to solution some of this for a client and just puzzled and need another opinion to help understand how to build this type of report.   

I typically have used Custom Charts for this type of work but I am not sure "most used solutions" is something we can find.   
Report on most common issues seems easy to do with most common requests.   

Please help!


Answers:
author: Darryl Lee
body: Hey [@Aaron Geister](/t5/user/viewprofilepage/user-id/4585692) - maybe this report is a good starting point?
>
> Requests deflected {#toc-hId--353425354}
> ----------------------------------------
>
> When a customer goes to raise a request in the portal and starts entering a summary, articles are suggested to them based on the labels specified the article. If the customer selects the suggested article while raising a request and votes it as helpful, it is counted as a request deflected in the portal.

<https://support.atlassian.com/jira-service-management-cloud/docs/how-are-my-knowledge-base-articles-performing/>

comments: author: Aaron Geister
body: I think this would be helpful for them and I was looking at request deflected but I think they are looking at this from inside a Jira request.   

I will point this one out again to see if this will help facilitate their need.


author: Kevin Patterson
body: Hi Aaron,

Is your client referring to "most used solutions" as an agent or requestor using an existing knowledge base article to solve the issue? Or are they using something like a resolution code/detail field completed by the agent to track this?

comments: author: Aaron Geister
body: I believe they are referring to "most used solution" from the agents side. So they can understand what articles should be suggested and keep track and report on the most used solution.   
I think they are wanting a chart or report but I will check back for more details.


Tags: cloud

jira-service-management

jira-service-management-cloud
Hidden Character in Smart Value shortDateTime
Asked by Jesse Ortega Jr:

I have been using the smart value of shortDateTime in Jira triggered emails to launch another automation. Since the update made on June 17th a hidden character is now showing between the time number and the AM/PM. Is there another value that can be used to avoid this hidden character?

Shown in email:

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

Shown in Notepadd ++ with hidden character. ![Notepad.png](/t5/image/serverpage/image-id/333108i181BC63A50598730/image-size/large?v=v2&px=999 "Notepad.png")


Answers:
author: Andy Heinzer
body: Hi [@Jesse Ortega Jr](/t5/user/viewprofilepage/user-id/3558849)

This change is expected as we have updated the unicode package being used by Automation. There are more details about this change noted in <https://community.atlassian.com/t5/Automation-articles/Upcoming-backend-changes-to-Automation-platform/ba-p/2700771>

There appears to be a workaroud, if your smart value was previous using a value such as {{now}} you could adjust this to force a specific format:

```
{{now.format("dd/MM/yy h:mm a")}}
```

If this doesn't provide the same as the old response, then it might be more helpful to create a support request so that we can better understand how this change would effect your environment.

Andy

comments: author: Jesse Ortega Jr
body: woohoo!!! That worked. You guys are awesome. Thanks.


author: Ciara TN
body: Hi Jesse,

Here is a list of the smart values for automation: <https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/>

This seems like a bug though so perhaps you can raise this directly with Atlassian [here](https://support.atlassian.com/contact/#/).

-Ciara


Tags: cloud

jira-service-management

jira-service-management-cloud
Is it possible to hide the QR CODE GENERATOR button on Jira dashboard and projects?
Asked by Jason Steele:

Upgrading to 9.15.2 and a new QR Code Generator button as appeared. We would like to hide this button.


Answers:
author: Joseph Chung Yin
body: [@Jason Steele](/t5/user/viewprofilepage/user-id/4925810) -

Can you check if you have disabled both "Jira Mobile" and "Mobile Plugin for Jira Data Center" against your env since your company doesn't support mobile access?

Administration \>\> Manage apps and locate the apps under the "System apps" section.

Hope this helps.

Best, Joseph

comments: author: Jason Steele
body: thanks and I appreciate the quick replies. Showing it isn't a deal breaker, I was just curious.


author: Jason Steele
body: That worked! Thanks so much.


author: Joseph Chung Yin
body: [@Jason Steele](/t5/user/viewprofilepage/user-id/4925810) -

Great my suggestion helped. Please click on "Accept answer" when you can, so others with similar asks will see this posting as an answered one in the community.

Best, Joseph


author: Bibek Behera
body: [@Jason Steele](/t5/user/viewprofilepage/user-id/4925810) [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739)

Is this what you are after?

<https://jira.atlassian.com/browse/JSDSERVER-11160>

comments: author: Jason Steele
body: Yes! thank you


author: Joseph Chung Yin
body: [@Jason Steele](/t5/user/viewprofilepage/user-id/4925810) -

Are you referring to Assets as regarding to QR Code Generator?

Please advise, so we can assist you better.

Best, Joseph Chung Yin

comments: author: Jason Steele
body: Hello, I am referring to the button on the Jira Data Center dashboard or project board that reads "QR CODE GENERATOR". Bibek noted it above.  
We wanted to hide it of possible since our company does not support Jira Mobile.   

<br />

![Screenshot 2024-07-02 at 1.34.45?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/333098iC6D411BCF8E97025/image-size/large?v=v2&px=999 "Screenshot 2024-07-02 at 1.34.45?PM.png")


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Error Customised subdomain for Service Desk
Asked by Shripriya Arumugam:

We have a subdomain - support.hqmena.com which is configured and pointed to hqmena.atlassian.net in DNS but the URL -

<https://support.hqmena.com/> is inaccessible.

Please advise on how to fix the issue


Answers:
author: Nadhila Savira
body: Hi Shripriya,

This is Nadhila from Atlassian.

First and foremost, I advice that you might want to keep your site URL and redirecting URL hidden, as community posts are public and can be found through search engines.

Furthermore, onto the issue at hand, I can see there is an error saying:

NET::ERR_CERT_COMMON_NAME_INVALID

Most likely, the redirecting URL is not yet valid, and thus it is unable to redirect to your Atlassian site. Please ensure that your SSL certificate is up to date.


Tags: cloud

jira-cloud-administration

jira-service-management

jira-service-management-cloud

not-applicable