youngmon/atlassian-qna huggingface dataset:
Having a hard time to connect remote agent to the Bamboo server - SSL issue
Asked by Khalid Bencherifa:

Hello,

I am new to Bamboo, I managed to install a Bamboo server (self-signed certificate) on AWS with the following URL "<https://54.154.131.146/>"

When I try to install a remote agent, I get the following error in the agent machine!

INFO \| jvm 5 \| 2019/03/20 11:20:56 \| Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

![Screenshot 2019-03-20 at 12.27.05.png](/t5/image/serverpage/image-id/49160i35D391C9D0872FCC/image-size/large?v=v2&px=999 "Screenshot 2019-03-20 at 12.27.05.png")

It is clearly a certification issue since the agent cannot trust the server I guess!

Is there any "easy to follow" tutorial that could help in fixing this issue?

Thanks in advance!

/Khalid


Answers:
author: Foong
body: [How to import a public SSL certificate into a JVM](https://confluence.atlassian.com/kb/how-to-import-a-public-ssl-certificate-into-a-jvm-867025849.html)
xcode ** EXPORT FAILED ** as there is no option to pass exportOptionsPlist
Asked by Abhay kumar singh:

When I am trying to build to export ipa, it throws error - requires a provisioning profile with the Access WiFi Information and Push Notifications features.

when I pass exportOptionsPlist in Custom parameters, it says you can not pass without archivePath and exportPath but exportpath can not be passed without -exportArchive which you can not pass with scheme options. so how do we pass exportOptionsPlist


Answers:
author: Daniel Santos
body: Hi [@Abhay kumar singh](/t5/user/viewprofilepage/user-id/2894807)

Are you able to build your application using just OSX tools? I mean, outside Bamboo?

What I got from your request is that you are experiencing problems to build an OSX app using Bamboo.   

If you can explain to me what features/tasks you are using and where do you think they are failing I might be able to give you some tips so you can move forward. Please keep in mind that I have no experience in Apple development tools.
Bamboo Job fails: 'cmd' is not recognized as an internal or external command
Asked by VENKATA RATNAKAR BABU KOMMISETTY:

We have a bamboo build which has 4 tasks running on a windows server 2016 VM.

Each task has cd command to go to repository and then mvn compile .......command

Once the maven compilation is done, we see this error on all the four tasks

All my PATH variables in window server are correctly (JAVA_HOME,MAVEN_HOME) and also "C:\\Windows\\system32" and "C:\\Windows\\system32\\cmd.exe"

To avoid confusion, i appended path variables of user admin to system PATH and deleted the user path.

Nothing seem to work, i have spent enough time debugging and ran out of options now.

Any help is highly appreciated.


Answers:
author: VENKATA RATNAKAR BABU KOMMISETTY
body: I figured out why that cmd error is coming .

I logged into the windows VM which is run by the bamboo build .

In the services, identity the agent that is being installed .

Right click on Agent and then do agent properties and in Log On tab, I changed the user type from local system account to the admin account that i am logged in VM.

Now all path variables are respected and maven commands now work without path.

So the user Log On type and VM login type should match


author: Automation Evaluation
body: I am facing issue :

```
'mvn' is not recognized as an internal or external command,error 17-Sep-2019 18:09:10 operable program or batch file.
```

When tried the mvn verify on cmd it works , where as from bamboo it doesnt.please help


author: Foong
body: Is the build run by local or remote agent?
Can a Bamboo task generate a Kerberos/NTLM/SPNEGO token for the user who manually runs the plan?
Asked by David Pimentel:

What we are seeking to do is have a Bamboo task in a Build Plan or Deployment Project authenticate using the credentials of the user who manually triggered the plan, without them having to enter their password manually into Bamboo.

Is there some way to take advantage of Integrated Windows Authentication for such a purpose?


Answers:
author: Gonchik Tsymzhitov
body: I used that app to do the similar use case.

[https://marketplace.atlassian.com/apps/1215262/k-sso-saml-kerberos-oauth-for-bamboo?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1215262/k-sso-saml-kerberos-oauth-for-bamboo?hosting=server&tab=overview)


Tags: authentication

kerberos

ntlm
Attach a an existing Bamboo Build to a Jira Version (Release) from Groovy Script
Asked by Abdulkarim Itani:

I reached to a deadend while looking for a solution in Jira Class APi and Bamboo Rest API

I trigger a bamboo build through Bamboo Rest API and the API returns a Build Number, which gets stored in a custom field in an Issue in Jira.

After getting this build number, I would like to attach the build reference to a version in Jira using Groovy.

There is a way to do it through the GUI, which can be done through the below guide

<https://confluence.atlassian.com/jirasoftwarecloud/running-a-bamboo-build-when-releasing-a-version-764478184.html>

Is there a way to do the above from Groovy or Jira Rest API or Bamboo API?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

What about through webhook and rest api ?

I used that one for the same task

<https://pypi.org/project/atlassian-python-api/>


Tags: groovy

jira-server

jira-software

jira-software-server

release

version
Bamboo / Jira deploy flow permission integration
Asked by Svante Vinther:

Hi Atlassian community.

We have BitBucket, Bamboo and Jira.

Everything works fine. But as we were looking at our work flows, we noticed that you can limit the transition from one state, to another, to certain users. Like for product owners, who need to approve certain steps of the work flow.

We would like that the deployment to a production server, is limited by what state the task(s) associated with the build is in. So if a commit has been tagged with myproject-227, then this task need to be in "Tested and approved for production" state, before it is allowed to be deployed. Likewise, commits with no tags would never be deployable.

I realize that a given commit would potentially be able to point to a random task in the right state, unless of course you have a solution for the above, as well as this potential pitfall.

Br,

Svante


Answers:
author: Timothy
body: That functionality does not exist in Bamboo at the moment. You can however write a custom app for Bamboo that does that using the Pre-Build Action module that fails the build:

* <https://developer.atlassian.com/server/bamboo/pre-build-action-module/>

There are other "before" modules that you can take a look too:

* <https://developer.atlassian.com/server/bamboo/bamboo-plugin-module-types/>

comments: author: Svante Vinther
body: Hi Timothy.

Thank you for the swift answer. I guess we are not looking for pre-build trigger, but rather for pre-deploy trigger. This way we can build and deploy to our testserver, and then we could potentially trigger a pre-deploy script before deploy on production server.

Do you see any possibilities for this?


Tags: deployment

jira

permission
Bamboo Java Specs with Multiple Plans
Asked by Ryan Dykstra:

We are starting to use Java specs and want to define all the projects and plans in a single repo, but not sure of the best way to setup many plans.

If we have 50 plans to define, are we going to have to create a single line for each plan like below? Is there an easier way to accomplish this?

```
Plan plan1 = new PlanSpec().createPlan1(); 
Plan plan2 = new PlanSpec().createPlan2(); 
Plan plan3 = new PlanSpec().createPlan3();
Plan plan4 = new PlanSpec().createPlan4();
Plan plan5 = new PlanSpec().createPlan5(); 
etc...

bambooServer.publish(plan1); 
bambooServer.publish(plan2); 
bambooServer.publish(plan3);
bambooServer.publish(plan4);
bambooServer.publish(plan5);
etc...
```


Answers:
author: Alexey Chystoprudov
body: Try this approach

```
List<Plan> plans = new ArrayList<Plan>();
PlanSpec spec = new PlanSpec();
plans.add(spec.createPlan1()); 
plans.add(spec.createPlan2());
plans.add(spec.createPlan3());
plans.add(spec.createPlan4());
plans.add(spec.createPlan5());

plans.forEach(bambooServer::publish);
```


author: Victor Debone
body: Hello [@Ryan Dykstra](/t5/user/viewprofilepage/user-id/1180257)

Yes, this is one of the ways you could do it.

As this is Java, you could also do something like:

```
// This is pseudo-code, it will not work. It's just an insight
Plan createPlan(integer number) {
  return new PlanSpec().createPlan();
}

// Later
for(Plan p : plans) {
  bambooServer.publish(p);
}
```

Did it help?

Victor


Tags: spec
convert a bamboo plan to configuration file
Asked by Monizze IT:

Hello,

for the configuration file of bamboo (<https://docs.atlassian.com/bamboo-specs-docs/latest/>)

is there a way to convert an existing plan to it?

thanks


Answers:
author: Alexey Chystoprudov
body: Sure, go to plan administration and choose View plan as Bamboo Specs action

![Screenshot 2019-03-18 at 14.10.19.png](https://community.atlassian.com/t5/image/serverpage/image-id/48918i28F8969F64B682E4/image-size/large?v=v2&px=999 "Screenshot 2019-03-18 at 14.10.19.png")

comments: author: Monizze IT
body: thanks.

Is there anyway to view it as a yaml file?


author: Alexey Chystoprudov
body: No. As YAML covers only subset of plan configuration it was designed to not provide functionality to export existing plans to YAML.


author: Victor Debone
body: Hello [@Monizze IT](/t5/user/viewprofilepage/user-id/1008085)

Yes, you can convert an existing plan, if you have permission to, at "View plan as Java Specs" on your plan configuration page:

![2019-03-18_14-18-11.png](https://community.atlassian.com/t5/image/serverpage/image-id/48923i82BD832E21930E19/image-dimensions/284x123?v=v2 "2019-03-18_14-18-11.png")

Victor


Tags: bitbucket
How to turn off Autofill on the "Shared With" feature
Asked by Jeremy_Rampe:

Hey Team,   

We are creating a customer facing IT support portal and would like to be able to give them the option to add other people to their ticket if need be. The issue is that I am struggling to figure out how to turn off Autofill on the "shared with" feature. This is exposing other customers information to the masses. Is there anyway to keep this functionality on but eliminate the auto fill?  

Example:  

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


Answers:
author: Vijay Dadi
body: We can't turnoff autofill since that field is a user picker field.


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira - JSM integration and Centralized Reporting
Asked by Subhajit Ghosh:

Our organization is gearing up to integrate Jira Service Management (JSM) into our IT Operations Change Management framework. Up to this point, we've relied on Jira for Change management, but we've encountered its limitations over time. To expedite the adoption of JSM, our leadership has decided to utilize Jira for initiating Change tickets. Upon the creation of a Jira ticket, automated processes will generate corresponding JSM tickets. Once the JSM ticket is generated, the previously created Jira ticket will be locked to prevent further modifications, rendering it inactive.

Now, I have a couple of questions:

1. Has anyone in this community attempted a similar approach? If so, what was the overall experience?
2. Given that each engineering team manages its own projects, how can we implement centralized reporting, ensuring all change requests are consolidated for comprehensive visibility


Answers:
author: Dave Rosenlund _Trundl_
body: Hi, [@Subhajit Ghosh](/t5/user/viewprofilepage/user-id/5486335) ?

I cannot speak to #1, however I have some advice for #2.

To effectively manage a portfolio of projects (aka PPM), you'll want to learn about '[Advanced Roadmaps](https://confluence.atlassian.com/jirasoftwareserver/discover-advanced-roadmaps-for-jira-1044784153.html)' (from Atlassian). This feature of Jira is specifically designed for working across teams/projects.

That said, that feature was designed more for planning than reporting. In my experience, those who use AR find it lacking when it comes to reporting or managing in-flight projects.

Inevitably, those who find it lacking use some combination of [Atlassian Marketplace products](https://marketplace.atlassian.com/addons/app/jira/top-selling?hosting=dataCenter&query=project%20porfolio%20management) to handle their PPM needs. Here are some of them, but that link only searches for PPM. You may want to take a deeper look yourself.

Hope this helps,

-dave

comments: author: Subhajit Ghosh
body: Thanks for your insights [@Dave Rosenlund _Trundl_](/t5/user/viewprofilepage/user-id/1164057) !!


author: Dave Rosenlund _Trundl_
body: Oh! I just noticed on another thread you already use Structure --- one of the apps. that will arise in the "PPM" search I shared. FYI, they (Tempo) have a solution engineering team that may be able to help you out with the objectives you describe above.

Contact [me on LinkedIn](https://linkedin.com/in/dcrosenlund) if you'd like me to share a Tempo contact with you.


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Can I allow specific requesters to only open specific requests ?
Asked by Samuel Habib:

I want allow specific requesters to only open specific requests


Answers:
author: Jack Brickey
body: Hi [@Samuel Habib](/t5/user/viewprofilepage/user-id/5493660) , unfortunately all customers will have access to all Request Types. There is not a means of adding customers to groups/roles and using those groups/roles to restrict access to certain Request Types.

comments: author: Jack Brickey
body: Ah, however, maybe soon...

I recalled there are old requests for this and found the following that seems to indicate delivery this year.

<https://jira.atlassian.com/browse/JSDCLOUD-195>


Tags: cloud

jira-service-management

jira-service-management-cloud
Automatic grouping
Asked by David Mart?nez L?pez:

Hello everyone! ,

A question, does Jira allows the automated grouping of incidents that arrive in Jira via email, so that a single issue is created with a common parameter, which associates all of them?

Thank you very much!


Answers:
author: Annie _DevSamurai
body: Hi [@David Mart?nez L?pez](/t5/user/viewprofilepage/user-id/2000014)

Jira doesn't allow automated grouping of incidents that arrive via email into a single issue. However, you can use Jira Automation rules to link or categorize issues based on common parameters, or configure email handlers in Jira Service Management to add emails as comments to existing issues.


author: Vijay Dadi
body: Hi [@David Mart?nez L?pez](/t5/user/viewprofilepage/user-id/2000014) ,

Hope this documentation helps you.

[Duplicate Jira tickets are created from the same incoming email due to incorrect default time stamp \| Jira \| Atlassian Documentation](https://confluence.atlassian.com/jirakb/duplicate-jira-tickets-are-created-from-the-same-incoming-email-due-to-incorrect-default-time-stamp-1206781761.html#:~:text=To%20fix%20this%20issue%20and%20prevent%20the%20Jira,fix%20the%20default%20value%20for%20this%2Fthese%20fields%20%28s%29)

Vijay


Tags: cloud

jira-service-management

jira-service-management-cloud
Asset value should be update when workflow status is changed
Asked by Chandra Mouli Bollareddy:

Hi,

I have a attribute (Status) in assets.

Attribute Name: Status.

Values: Availability, In use, Recovery.

When my workflow status is changed from **Work in progress** to **Done** . then our asset value is moved from **in use** to **recovery.**

Now:

in Assets: status is **in Use**

in Workflow: status is **Work in progress.**

Requirement:

Update workflow: **Work in progress** to **Done**

Asset should be update: **in use** to **recovery.**

**Using: JSM/JIRA Cloud**


Answers:
author: Vijay Dadi
body: Hello [@Chandra Mouli Bollareddy](/t5/user/viewprofilepage/user-id/5488675) ,

You can make use of automations. Depending on your triggering condition when status changed from WIP to done, have Object update action to update the status to recovery as required.

Hope this helps !

Vijay


Tags: cloud

jira-service-management

jira-service-management-cloud
Show/Hide custom Text Field based on option selected in select field "drop down selection"
Asked by B Sunil Kumar:

Show/Hide custom Text Field based on option selected in select field "drop down selection"


Answers:
author: Vijay Dadi
body: Hello [@B Sunil Kumar](/t5/user/viewprofilepage/user-id/5408778) ,

You do not need any plugins to be installed. You can make forms in Jira to have your dynamic forms designed. Attaching below the documentation. Hope this helps !

[What are forms? \| Jira Service Management Cloud \| Atlassian Support](https://support.atlassian.com/jira-service-management-cloud/docs/what-are-forms/)

Vijay


author: Tuncay Senturk
body: Hi [@B Sunil Kumar](/t5/user/viewprofilepage/user-id/5408778)

In Jira Cloud, directly showing or hiding custom fields based on another field's selection (like a dropdown) isn't supported out of the box.

However, if you are OK with using a plugin, you may achieve this using the Behaviors feature from the ScriptRunner for Jira plugin.

comments: author: B Sunil Kumar
body: okay tell me the ScriptRunner for Jira plugin how its works and procedure..


Tags: cloud

jira-service-management

jira-service-management-cloud
Query for creating own email template in Jira service management
Asked by Dinonath Khan:

Hi,

Is it possible to create our own email templates with below details in Jira service management, once user fill the details and send the mail based on that it will create a ticket with below details in Jira service management  

<br />

![Screenshot from 2024-05-09 14-02-25.png](/t5/image/serverpage/image-id/322830iD2FEA630B7881C14/image-size/large?v=v2&px=999 "Screenshot from 2024-05-09 14-02-25.png")


Answers:
author: Victor - Modus Create
body: Hi [@Dinonath Khan](/t5/user/viewprofilepage/user-id/5487871) ,

Hope this is still helpful to you.

Based on my experience, you can find what you're trying to achieve using Notification Assistant for Jira Cloud.

- [https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira-email?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira-email?hosting=cloud&tab=overview)

It allows to create mail templates to be used in notifications.

Hope it helps.  
Cheers,  
Victor


Tags: cloud

jira-service-management

jira-service-management-cloud
Retrieve the date enter while logging work
Asked by Muhammad Moazzam Hassan:

Hi,  

I need a little help, I need to retrieve the Date Started value when anyone logs the work on any issue using the Time Tracking field.  

I need to retrieve via automation rule like we can access the time spent by using the smart value {{{worklog.timeSpentSeconds}}.

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


Answers:
author: Vikrant Yadav
body: Hi [@Muhammad Moazzam Hassan](/t5/user/viewprofilepage/user-id/5063240) You have to use this smartvalue :

**{{worklog.started}}**to get worklog date.

comments: author: Muhammad Moazzam Hassan
body: You are great,   

Even Atlassian Support unable to answer this easy question  

Thank You.


author: Muhammad Moazzam Hassan
body: I have one more question, if you may answer.  

Can we retrieve the old value of Time Spent and Date Started if someone Edit the worklog and change the timespent and Date Started?


author: Vikrant Yadav
body: [@Muhammad Moazzam Hassan](/t5/user/viewprofilepage/user-id/5063240) Glad to hear I am able to help you!

I am not sure any smart value can retrieve old value for worklog. For other field we can get old value using changelog, but for worklog it won't work. You can use REST API to get worklog initially create date and current date.

<https://abc.atlassian.net/rest/api/3/issue/{{issueId}}/worklog/{{worklogid>}}

{worklog}} {#toc-hId--377414736}
--------------------------------

* **Used with:** the [**Work logged**](https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Jiraautomationtriggers-Worklogged) trigger

Accesses information for a worklog entry that has just been logged against an issue.

### Available properties {#toc-hId-313146738}

* {{worklog.comment}}

* {{worklog.started}}

* {{worklog.timeSpentSeconds}}

* {{worklog.timeSpent}}

* {{worklog.visibility}} - available when the worklog is restricted

* {{worklog.visibility.type}} - available when the worklog is restricted

* {{worklog.visibility.value}} - available when the worklog is restricted

<https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--changelog-->


author: Muhammad Moazzam Hassan
body: Thank You.


Tags: cloud

jira-service-management

jira-service-management-cloud
Remove/Hide Transition Labels
Asked by Raymart Cruz:

Is it possible to hide/remove the transition labels?

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


Answers:
author: Fernando Eug?nio da Silva
body: [@Raymart Cruz](/t5/user/viewprofilepage/user-id/5014483)

The only way to show only statuses and not the transition names while you're make some transition in your Jira is build your workflow as an 'Open' workflow.

Generally you really have custom transitions allowing your issues to be transitioned from your statuses, but if you have an open workflow, you'll have only one single reference from each status.

In short, an open flow is when all statuses have a single 'all' transition allowing that regardless of where the issue is, it can go to any of the statuses freely. See example below.

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

Note that I don't have any transitions linking the statuses directly. All statuses have a single "All" transition

And this is how it will be displayed when changing the status.

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

The "All" transition carries exactly the status name. The transition name can be changed, but by default when you create an 'All' transition it will be created with the status name.

To create an All status transition, simply go to your workflow edit \> Click on the status and select the option "**Allow all statuses to transition to this one**"

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

Hope this helps you :)

Regards,

Fernando


Tags: cloud

jira-service-management

jira-service-management-cloud

transition