youngmon/atlassian-qna huggingface dataset:
How can I get the comments from a GIT commit from my Bamboo job
Asked by Bruce Strickland:

This is the scenario I would like to use. Our developer enters a control number(example AB123) in the commit message when he does a commit/push to Stash GIT from SourcerTree. Bamboo then would run a plan that executes a job that compiles the code and places the resulting exe/dll into the artifacts. I would then have a job that will run a script that builds a path including a folder named after the control number AB123 mentioned above. I would then copy the resulting artifact(exe or dll) to that \\\\path\\folder. My question is: how do I access the value from the commit message from my Bamboo task/job? I've read the variable section of the Bamboo documentation and I've looked into other topics that I thought might work but I haven't been able to piece it together. I'm sure the GIT commit message can be read from Bamboo, right? Is there a better way to get a custom value from GIT over to Bamboo? I'm brand new to both of these products. Thanks!


Answers:
author: cbenard1
body: Hi Bruce,

Unfortunately commit messages aren't exposed as variables, here is the bug report for this <https://jira.atlassian.com/browse/BAM-11958>

For the time being the best workaround (outside of writing your own inject variable plugin) is to run a git command to grab that data from within the script. You'll want something like

```
git log -1 --format=%s%n%b &lt;commit hash&gt;
```

where the commit hash can pulled via the variable

```
bamboo.planRepository.&lt;position&gt;.revision
```

The only caveat here is that you may need to upload your keys used to connect to Git to the remote agent servers in order to properly run the git commands agains the repository.

Thanks!

Turner


Tags: bamboo-administration
Elastic Bamboo and Slack
Asked by Oliver Hagel-Doll:

Is there any possibility to get Slack notifications from an Elastic Bamboo instance? Especially if the build broke and you are the responsible one?


Answers:
author: Steffen Opel _Utoolity_
body: There are two Slack notification add-ons available in the Atlassian Marketplace, which address these requirements for Bamboo Server scenarios (I realize that you are on Bamboo Cloud, see below):

* [Slack Bamboo Plugin](https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugins.bamboo-slack) (free)
* [Slack Notifications for Bamboo](https://marketplace.atlassian.com/plugins/com.cleverflame.bamboo.slacknotify) (commercial)

Unfortunately 3rd party add-ons are not available for Bamboo Cloud yet, please vote/watch/comment on the following issue to raise Atlassian's priority for addressing this notable gap in their Cloud offerings:

* <https://ecosystem.atlassian.net/browse/AC-1193>

### Missing Workaround via Webhook {#toc-hId-1425941619}

Nowadays one would expect being able to at least work around such limitations via a webhook based automation solution, but unfortunately Bamboo still does not offer webhooks as of today either, please vote/watch/comment on the resp. feature request <https://jira.atlassian.com/browse/BAM-14321> to raise awareness for this surprising limitation (given webhooks are meanwhile first class features and powerful extension points in [JIRA](https://confluence.atlassian.com/display/JIRA/Managing+Webhooks) and [Stash](https://confluence.atlassian.com/display/STASH/POST+service+webhook+for+Stash) for example, and have recently seen significant improvements in [Bitbucket](https://blog.bitbucket.org/2015/06/24/the-new-bitbucket-webhooks/) as well).

### Possible Workaround via Notification {#toc-hId--1126215342}

Depending on your specific requirements, you might be able to piggy back a custom automation solution on top of the existing [Notifications](https://confluence.atlassian.com/bamboo/notifications-289276969.html) channels, for example with a dedicated email address or HipChat room, and generate a slack notification from there.

* the most natural channel for integration scenarios would usually be RSS, but unfortunately [RSS Subscriptions](https://confluence.atlassian.com/bamboo/subscribing-to-rss-feeds-289276970.html) lack the flexible and granular [Notification Configuration](https://confluence.atlassian.com/bamboo/configuring-notifications-for-a-plan-and-its-jobs-289276973.html) for the other channels in turn


Tags: cloud
bamboo variable value contains variable
Asked by Jay Chang:

Can I define bamboo plan variable value contains other variables? e.g.,

variable name value  
=========== ========  
version 1.0.0  
build 2  
release ${bamboo.version}.${bamboo.build} \<-- is this valid?

Thanks!


Answers:
author: Steffen Opel _Utoolity_
body: Even though this is an often requested feature since early 2011, and labelled as a *small improvement* only, such nested/recursive expansion of variables is still not available in Bamboo as of today, so you might want to watch/vote/comment on the resp. issue accordingly:

* <https://jira.atlassian.com/browse/BAM-8266>

Depending on your specific scenario, you *might* be able to address your use case with the (commercial) [Nested Variables for Bamboo](https://marketplace.atlassian.com/plugins/net.collabsoft.plugins.bamboo.nestedVariables) add-on, which allows to *Re-use variables* and *Unlimited nesting of variables*:
> There is no limit to the nesting of variables. The add-on will continue to replace nested variables until it can no longer find a correct value. \[...\]

However, as already mentioned in the issue, this add-on is only available for Bamboo Server due to 3rd party add-ons not being supported in Bamboo Cloud yet either.
Forms Data in JIRA
Asked by Janvi Kapoor:

Is there anyway where we can send the data from Google Forms or Smart Forms or MS Forms directly to JIRA

We basically need JIRA to be our Project Management tool but need the data to be automatically fed in to move it through pipeline


Answers:
author: Kris Dewachter
body: Hi [@Janvi Kapoor](/t5/user/viewprofilepage/user-id/5270164) ,

Not by default. You will need to create some custom integration or script. There is also no AddOn that would allow you to do this.

Here are some examples of previous attempts:

* <https://medium.com/@gaurav1katiyar2011/jira-integration-with-google-form-4fddfddc7fc1>
* <https://community.atlassian.com/t5/Jira-Content-Archive-questions/Using-a-google-form-to-create-ticket/qaq-p/2336295>

Also, in Jira Service management you can create forms, that result into a Jira ticket.

* <https://support.atlassian.com/jira-service-management-cloud/docs/use-forms-in-jira-service-management/>

Best regards,

Kris


Tags: cloud

jira-service-management

jira-service-management-cloud
Issue transfer and customer response
Asked by ???_??_:

1. Customer creates ticket A.  
2. Sarah submitted issue A.  
3. To request help from another department, Sarah created Issue B from that department's project and linked it to Issue A. She and she designated Tom as their contact person.  
4. In issue B, you wrote a response to customer Tom.  
5. However, the written response to issue B was not communicated to the customer.  
6. Sarah copied Tom's answer from Problem B and pasted it into Problem A.

Sarah wanted Tom's answer to Problem B to be delivered directly to the customer.  
She also wanted the reply written in B to be replicated in issue A.


Answers:
author: Asha Goyal
body: Hello [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

Please use the automation to copy the comment from ticket B to Ticket A.

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

You can use smart value as well: {{triggerissue.comment.last.body}}

Hope this helps.

Kindly Accept the ans if so.

Thanks

Asha

comments: author: ???_??_
body: Hi [@Asha Goyal](/t5/user/viewprofilepage/user-id/4891126)   

If a copy is made from B to A, will the customer receive a reply?


author: Asha Goyal
body: Hello [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

If notification is set on comment added, no matter whether it is added manually or automatically, user should get the notification.

Thanks


author: ???_??_
body: [@Asha Goyal](/t5/user/viewprofilepage/user-id/4891126) Thank you for answer


Tags: cloud

jira-service-management

jira-service-management-cloud
How do I get access to view a jira service project?
Asked by Nate Shankles:

I have access to other projects, but everytime my admin gives me access to a service project, I am still unable to view the service project.


Answers:
author: Asha Goyal
body: Hello [@Nate Shankles](/t5/user/viewprofilepage/user-id/5390126)

For getting the access to the service management project, you need to have Jira service management license. Ask your Jira admin to add you the JSM Product please.

Kindly accept the ans if it helps.

Thanks

Asha


Tags: cloud

jira-service-management

jira-service-management-cloud
Send email to Managers based on Assets results
Asked by Ste404:

Hi there,

I have an automation that extracts users in Assets who has a contract end date within 7 days.

I want to send an email to each persons manager to say they are due to end.

So if I have 5 people with 5 managers there will be 5 emails sent.

I have a lookup objects to extract the information.

I know I need to do a branch somehow but I tried a smart value and that works for the name but when I do {{lookupObjects.user.manager}} I get all 5 manager names in each email.  

How should I structure this loop?

thanks


Answers:
author: Mark Segall
body: Hi [@Ste404](/t5/user/viewprofilepage/user-id/4984517) - If I'm understanding correctly, you're triggering this on a schedule, correct? From there, instead of performing a Lookup Objects, I'd add a "Branch on AQL" component and use whatever AQL you have for the Lookup Objects. This will force it to iterate through the results rather than trying to deal with an aggregate of objects.


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

I agreed with Mark's solution on this question. Question for you is how are you tracking the contract will end in 7 days? Is the end date information tracked in your Assets object as attribute + user's manager info as an attribute?

Please advise.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud
Tempo: Problem Logging Time on Jira Issue
Asked by Jane Ellis:

Hi Atlassian Community

Trying to log time on a Jira issue, the Tempo integration is having problems.

The Subject field is flickering and the rest of the popup box is unusable. I can add time against the close-out status but not the Tempo screen.

This is happening with Chrome and Edge.

The Tempo timesheet app seems to be fine.

Thanks for any feedback.


Answers:
author: Will Schneider
body: Hi

I have the same issue, however when you click cancel 1 time the flickering stops and you can fill in the boxes.

comments: author: Sam Yan
body: If you have the time blocks on the left expanded, try collapsing it when its flickering.

There is 2 of the same popups showing stacked and overlapping. Its whats causing the flickering, for me at least, when its trying to switch between the 2 of the same popup.

Clicking cancel once closes 1 of the popups, which stops the flickering.


author: Marc - Devoteam
body: Hi [@Jane Ellis](/t5/user/viewprofilepage/user-id/613407)

I would raise this topic at [Tempo support](https://tempo-io.atlassian.net/servicedesk/customer/portal/6/).

If more people encounter this it could be an issue in the app.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to combine two projects into a single project when one project is from another company?
Asked by Victoria Bak:

We've acquired a small company and would to add their cloud based JIRA projects/tickets to our cloud based instance.

I've look through the Atlassian community and I see that there appear to marketplace apps that might help. I'd like to be able to do it without an app.


Answers:
author: Joseph Chung Yin
body: [@Victoria Bak](/t5/user/viewprofilepage/user-id/4004409) -

To supplement what [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) recommended, you also should conduct the necessary analysis on your acquired company's project setup configurations (i.e. WFs, Fields, Screens schemes) especially if those projects are "Company Managed" project type projects to ensure they confirm with your organization's standards and continue to make your existing site management from being unmanageable.

Hope this suggestion also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Brant Schroeder
body: [@Victoria Bak](/t5/user/viewprofilepage/user-id/4004409) Have you looked at Atlassian's documentation on cloud to cloud migrations? It can be found here: <https://support.atlassian.com/migration/docs/cloud-to-cloud-migration/>


Tags: cloud

jira-service-management

jira-service-management-cloud
Discription field content search does not work
Asked by Alexandr:

Hi, there is a problem with search on servicedesk portal, help me please. i open my requests tab and i want to find task by content from description field but search doesn't work, search for requests field doesn't respond to description field content. JSM version 9.11.2![image.png](/t5/image/serverpage/image-id/297421i7015B07D7718D155/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/297423i40A778A137E1DDFF/image-size/large?v=v2&px=999 "image.png")


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

The description field is intended for human text, and hence the search for it is quite "fuzzy" (as humans often make slepping mistakes or use synonyms). There is no exact search for it (yet)

The fuzzy search ignores non-human language and that can actually confuse it. Start by removing the "+" from the text you are looking for - it's being ignored at best.

comments: author: Alexandr
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) , Removing "+" from the searched text does not give a result, searching on the portal in the Requests tab also does not work, in this format, text \~ "help mi" also does not work. It turns out that at the moment the JSM functionality does not include a search on the portal based on content from the Description field, and I can't do anything about it?


author: Marc - Devoteam
body: HI [@Alexandr](/t5/user/viewprofilepage/user-id/5389682)

Welcome to the community.

I do agree with Nick.

Text fields don't have an exact search option, you can look at the current options in the documentation [here](https://confluence.atlassian.com/jirasoftwareserver/search-syntax-for-text-fields-939938747.html)
Exporting Original Estimate Field
Asked by Diatta Harris:

Hello,

My team uses the original estimate and remaining estimate fields but when we export in .csv and save to .xls it converts the minutes, hours, days and weeks into seconds. How can we configure those fields to export in the viewable factors and not in seconds?


Answers:
author: Jehan Bhathena
body: Hi [@Diatta Harris](/t5/user/viewprofilepage/user-id/4991828) ,

While I don't have an exact answer to your question, I'll provide the workaround that I use for this scenario.

After downloading the CSV/xls file, I select the row that has the Seconds duration and change the Formatting to hh:mm, this way I get a more defined view that I need.

<https://excelchamps.com/formulas/seconds-to-hours-minutes/#Convert_Seconds_into_Hours_hhmmss>

Hope this helps. :-)


author: Hannes Obweger - JXL for Jira
body: Hi [@Diatta Harris](/t5/user/viewprofilepage/user-id/4991828)

just to add to that: If you're open to solutions from the [Atlassian Marketplace](https://marketplace.atlassian.com/), you'll find a number of options there.

Just as one example, this would work as expected using the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2563080), where the export would use whatever time format you configured in Jira (but you can also override it in JXL, if you prefer to do so). This is how this looks in action:

![estimate-format-export.gif](https://community.atlassian.com/t5/image/serverpage/image-id/297650i8E1CB31655A139B4/image-size/large?v=v2&px=999 "estimate-format-export.gif")

This is really just one example; there's a number of export-focused apps available. If a Marketplace app is an option for you, perhaps try a few and see which one works best for you.

Best,

Hannes


author: David Bakkers
body: Hello [@Diatta Harris](/t5/user/viewprofilepage/user-id/4991828)
> How can we configure those fields to export in the viewable factors and not in seconds?

In short, you can't.

Google *'Jira export CSV time in seconds'* to see where this question has been asked many times before.


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
How to automate same issues into one ticket
Asked by laura_magudha:

How do i merge same issue to view as one ticket ,  


Answers:
author: Dan Breyen
body: Hi [@laura_magudha](/t5/user/viewprofilepage/user-id/5389883) welcome to the community. In the delivered application, I'm not aware of a way to merge tickets. I decided I wouldn't want to merge the tickets on my site anyway, especially if they were reported from multiple people. I'm just picking one and running with that, linking the two together for tracking purposes, and then Resolving the other.

There might be some add on App that would let you do that, but I'm not sure.

Hope that helps.

comments: author: ahmad hassan
body: sure


Tags: ai-post

cloud

jira-service-management

jira-service-management-cloud

spam
Comm100 integration with Jira Service Management
Asked by Zeerak Khurshid:

Hello,

Our organization is looking to integrate Comm100 chat bot to our Jira Service Management (Data Center) instance.

This will be a one way incoming connection since we only want Comm100 to read Jira's data.

We are having a hard time setting up the OAuth2.0 connection.

Has anyone else been able to establish a successful connection yet to Comm100 via JSM?


Answers:
author: eugenio_onofre
body: Hi [@Zeerak Khurshid](/t5/user/viewprofilepage/user-id/5211701)

There is no direct connection between both. Unfortunately, with the level of information provided, we are not able to see where the issue may be. I have successfully setup an Oauth2.0 connection with no issues.

Please refer to below official guide:  
<https://confluence.atlassian.com/jiracore/setting-up-oauth-2-0-integration-1005784173.html>

Please do not forget to accept this answer in case it helps you resolve your issue as it may help other community members in the future.

Regards,  
Eugenio

comments: author: Zeerak Khurshid
body: Hello Eugenio,

Thank you for your answer.

The link you have provided includes deprecated steps to set up a mail server.

I followed this link: <https://confluence.atlassian.com/adminjiraserver/link-to-other-applications-938846918.html> and through that link, I followed these steps to configure an incoming link: <https://confluence.atlassian.com/adminjiraserver/configure-an-incoming-link-1115659067.html>

I'm confused if I need to do anything else? Does the Comm100 administrator need any other information from Jira's side? I was confused about what to enter for the "Redirect Link" section. We just entered the relative link of the Comm100 page. There aren't any detailed instructions indicating what we need for the redirect link. What did you enter?![Configre incoming link.png](https://community.atlassian.com/t5/image/serverpage/image-id/297777i27E97B3050FC768C/image-size/large?v=v2&px=999 "Configre incoming link.png")


Tags: jira-service-management

jira-service-management-server

server
WF Condition for multiple select Insight /Asset Field
Asked by Bektas Ozan Topkaya:

Hello all

I am trying to write a condition in WF. This is an insight field and I want to write a compare or lookup condition which looks if a certain option is selected.

![Freigegeben - TECH-Umgebung_2023-12-19_16-19-11.png](https://community.atlassian.com/t5/image/serverpage/image-id/297413iBFA0FE69CD6F7C1F/image-size/large?v=v2&px=999 "Freigegeben - TECH-Umgebung_2023-12-19_16-19-11.png")


Answers:
author: eugenio_onofre
body: Hello,

Unfortunately it is not possible to compare Assets field in Jira Workflows.

Regards,  
Eugenio


Tags: jira-service-desk-server

jira-service-management

jira-service-management-server
JSM Data Center: Automated Slack message when Priority is increased
Asked by Ashley Honeycutt:

Hi all!

How can I create automation specifically when the priority of an issue is *increased* (not just changed)?

I'm familiar with how to build project automation that notifies when a value in a specific field changes, but I'm not sure how to capture specific changes without detailing every combination of priority increases.

Thank you!


Answers:
author: Mark Segall
body: Hi [@Ashley Honeycutt](/t5/user/viewprofilepage/user-id/5065838) - You should be able to do this. I just tried it in my test environment and it worked:

* TRIGGER: Field Value Changed (Priority)
* CONDITION (Advanced)
  *

    ```
    {{changelog.Priority.toString}}
    Greater Than
    {{changelog.Priority.fromString}}
    ```


author: Joseph Chung Yin
body: [@Ashley Honeycutt](/t5/user/viewprofilepage/user-id/5065838) -

I confirmed with what [@Mark Segall](/t5/user/viewprofilepage/user-id/4666637) suggested. The condition that you want use is "Advanced compare condition" -

![2023-12-19_14-31-25.png](https://community.atlassian.com/t5/image/serverpage/image-id/297486i57583815C66F4CF5/image-size/large?v=v2&px=999 "2023-12-19_14-31-25.png")

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: jira-software-server

server
Respond to customers
Asked by ASI Technology:

I enter some comments in the ticket and select to Respond to customer. The notification sent to the customer does not contain the comments entered.

Message indicates (Comment Preview is unavailable).

I'm using the Free Plan as a test for now.


Answers:
author: Kris Dewachter
body: Hi [@ASI Technology](/t5/user/viewprofilepage/user-id/5389800) ,

Does the "Comment Added" template contain the comment itself ?

You can check in the project settings under "Customer Notifications".

Best regards,

Kris


Tags: cloud

jira-service-management

jira-service-management-cloud
Problem setting Assets custom field object from Splunk
Asked by Tom Brown:

Hi,

We use the [Splunk Jira Integration](https://ta-jira-service-desk-simple-addon.readthedocs.io/en/stable/userguide.html#jira-custom-fields) to create issues in our JSM from Splunk.

We have noticed that these are now failing where trying to set Assets field in the JSON for custom field setting. The following JSON has worked previously and appears to match the [API documentation](https://confluence.atlassian.com/assetapps/assets-with-jira-rest-api-1168847899.html). Can anyone offer any advice on this?

**"customfield_12345": \[{"key" : "TEST-123"}\]**

Thanks,

Tom


Answers:
author: Tom Brown
body: Update on this. The Splunk app developer has acknowledged a bug in the code which is causing this problem. This will be fixed at next release.


author: Tom Brown
body: Example error:

"Failed to load jira_customfields="{"customfield_12345": \[{"key" : "TEST-123"}\]"}" as a proper formated JSON object with exception="Expecting ',' delimiter: line 1 column 49 (char 48)


Tags: jira-service-management

jira-service-management-server

server