youngmon/atlassian-qna huggingface dataset:
Plan to run other plans with customised build
Asked by Junia Porto:

Hello,

I have several plans, each one run manually as "customised build", where we can select which stages we are going to run.

I need to create another plan, that will run all these plans with an specific stage (this must be a parameter, chosen by the user during a manual run).

[This plugin](https://bobswift.atlassian.net/wiki/spaces/BCLIP/overview) was recommended in a thread, however I didn't find a way to pass a specific stage.

Is there a way to achieve this with Bamboo?


Answers:
author: rsperafico
body: Hi [@Junia Porto](/t5/user/viewprofilepage/user-id/1884789),

Thank you for your inquire.
> I need to create another plan, that will run all these plans with an specific stage (this must be a parameter, chosen by the user during a manual run).

Based on the description provided, this is not a straightforward thing to accomplish, and the reason for that relates to ...***with an specific stage***...

Lets say you have PROJ-PLAN with the following configuration:

* Default Stage
* Stage Two (*Manual*)
* Stage Three (*Manual*)
* Stage Four

When you select **Run customized...** by selecting **Stage Three** , this will automatically select **Stage Two** to be executed, and this behavior will be the same when making use of [Bamboo REST API.](https://docs.atlassian.com/atlassian-bamboo/REST/6.6.2/ "Bamboo REST API")

(*POST* */queue/{projectKey}-{buildKey}?stage\&executeAllStages\&customRevision*):

With the above said, lets say you created a PROJ-TRIGGER that will be used to trigger PROJ-PLAN. Then, you should add an **Script** task on PROJ-TRIGGER with:

```
curl -k -u BAMBOO_USERNAME:BAMBOO_PASSWORD \
???? -H "X-Atlassian-Token: no-check" \
?? ? -d "bamboo.variableKey=variableValue" \
???? -X POST "http://localhost:8085/rest/api/latest/queue/PROJ-PLAN?executeAllStages=false&stage=Stage+Two"
```

In the example above, you would have:

* cURL command triggering a new build in PROJ-PLAN
* custom variable passed (bamboo.variableKey=variableValue)
* **not**all stages will be triggered (executeAllStages=false)
* stage to be triggered (stage=Stage+Two), you could replace Stage+Two with a [Bamboo Variable](https://confluence.atlassian.com/x/nwQ_EQ "Bamboo Variable") automating the Stage to be triggered, instead of hard-coded.

Hope the above finds you well.

Kind regards,

Rafael

comments: author: Junia Porto
body: Thank you, we are going to test this!
How to access bamboo components from event listener ?
Asked by Samuel Chow:

I'm trying to have some work be done after a failure on a build has occurred. I need access to the build manager but can't find a way to do so.  

The documentation I found seems to be deprecated:

<https://developer.atlassian.com/server/bamboo/accessing-bamboo-components-from-plugin-modules/>  

How can I access the build manager in an event listener so I can search for a specific build?


Answers:
author: Samuel Chow
body: Found the solution.  

Using the deprecated document:

<https://developer.atlassian.com/server/bamboo/accessing-bamboo-components-from-plugin-modules/>

Along with the information from here:

<https://bitbucket.org/atlassian/atlassian-spring-scanner?_ga=2.200096935.827920754.1537203458-197927870.1530309398>  

I was able to use bamboo components in my plugin module.  

Example:

@Scanned  
public class SomeEventListener{  
@ComponentImport  
private final ResultsSummaryManager resultsSummaryManager;

@ComponentImport  
private final CachedPlanManager planManager;

public FailedPlanEventListener(ResultsSummaryManager resultsSummaryManager,  
CachedPlanManager planManager)  
{  
this.resultsSummaryManager = resultsSummaryManager;  
this.planManager = planManager;  
}  

Note the @Scanned and @ComponentImport annotations are essential.
How to properly set branch plan trigger for Pull Request?
Asked by Luiz Saggioro:

I have a Project on Bamboo, let's call it A. Within A, I have 2 Build plans:

* Master Build Plan
* PR Build Plan

Both build plans have the same repository and with master branch being the default branch.

Master Build Plan plan branch option is set to Manually so it never creates other branch plans and the trigger is set to repository change.

PR Build Plan plan branch option is set to 'When pull request is created', so it only create branches related to PRs.

If on PR Build Plan, I disable the repository trigger, if I update my PR, it doesn't trigger a new build. If I enable it, it triggers when PR is updated but after merging the PR into master branch, PR Build Plan runs on the master branch, that is the default branch of the repository, which is not desirable.

Is there a way to keep the PR Build Plan triggering when the PR is updated without running for master branch when master gets updated?


Answers:
author: Jeremy Owen
body: Hey Luiz,

Try disabling the "master" of your PR Build Plan from **Plan Configuration \>\> Actions \>\> Disable Plan**.

Branch / Pull Request detection and triggering still works even if the master plan configuration is disabled, but master won't trigger. :)

Hope this helps.

Cheers,

Jeremy

comments: author: luizfzs
body: Thank you.

This option should be set by default when 'create plan branch' is set to 'When pull request is created', though.
Bamboo doesn't show any unit tests for .NET Core 2.1 Project
Asked by HNITC:

Hi,

I am currently blocked by an issue in Bamboo. Bamboo will not show any available Tests in the web gui table.

I ran the test with the following command...

# display all available unit tests in test project  
dotnet test ${bamboo.sourceTestProjectFile} -t  

# run unit tests and log results to trx file  
dotnet test ${bamboo.sourceTestProjectFile} -l:"trx;LogFileName=testresults.trx"

I read somewhere on the Internet, that I have to run msparse on the the testresult file testresult.trx. But everytime my build fails as no testresult could be found?! But they are there.

What do I have to do to run Tests in Bamboo so that it will be displayed on the web gui screen list...


Answers:
author: Gonchik Tsymzhitov
body: Hi!

e.g.

You need export as xml for Junit format,

then set into your plan final task Junit4 parser, after that you will see result on the panel.

Cheers,

Gonchik Tsymzhitov
Log Work - with just "Time Spent"
Asked by Kee Hong Sheng:

Hi everyone,

I'm configuring my workflow transition to "Done" and I want users to set both the Resolution and ++Time Spent++ fields. However, it seems that the ++Time Spent++ field is nested under the ++Log Work++ field.

When I associate the ++Log Work++ field with my screen, all three fields (Time Spent, Date Started, Remaining Estimate) appear. Is there a way for me to only associate the Time Spent field?

I know that workflow transitions rely on screens rather than request view/issue view/form. I've explored this direction and found that the Time Spent system field is available, but when added to the issue view, nothing happens. Is this a bug or an incomplete feature?

Any insights would be greatly appreciated!

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


Answers:
author: Ste Wright
body: Hi [@Kee Hong Sheng](/t5/user/viewprofilepage/user-id/5333231)

Not that I know of; these fields come as a bundle.

Ste

comments: author: Kee Hong Sheng
body: thanks for the info!


author: Ste Wright
body: No worries!

If this helped answer your question, could you accept this answer? It's helpful for others who find this question in future :)

Ste


Tags: cloud

jira-service-management

jira-service-management-cloud
OpsGenie Service Relationships - What is the difference between Depends On and Contains
Asked by Michael Colling:

I am building relationships between Services in OpsGenie, I cam across an error message when adding Contains to the same Service:

"We couldn't create the service relationship  
Your target service is already contained by another service."  
Am I reading this wrong? To me Contains can mean a connection vs Depends On which is more substantial.  
Is there a definition on relationship types?  
Also, in my research I cam across a link that advised incidents can be created based on relationships, is this true?  
Thank you  
-----Update Apr 16----  
Response from support if anyone is interested:

From the description, I understand you would like more details about service relationships, right?

Information  
So, the service relationships are just for visibility, there's no aggregated feature in incident management when you have them. For example, if you create an incident for a service with other related services, OpsGenie will not create incidents for them.

The idea is to help you identify the dependent services (on the service's page) when you have an open incident with a service.

**Regarding the error you saw, it happened because the "Contains" is like an umbrella. One service cannot be under multiple services but under only one. On the other hand, "Depends on" is like a link between two services. A service can be linked to multiple services.**

there's a definition for them:

A relationship can be set up between a minimum of 2 services, up to 20 services for each relationship type. They can be a dependency between services (Service A - Service B) or containment of services (Service A = Service B + Service C)


Answers:
author: Michael Colling
body: I posted answer from support in original post text \^\^


Tags: cloud

jira-service-management

jira-service-management-cloud
Automation add request type
Asked by ADIGADOU Jean-Christophe:

Hello,  
I haven't found any specific answers to my problem.

<br />

I'd like to program a monthly show and assign it to a request type:

My automation below :

<br />

When: Scheduled  
- Every week on Monday at 9 a.m.

<br />

Then: Create a new number  
- Project: My project  
- Problem type: \[System\] - Service request  
- Components : Secu  
- Tags : MyLabel  
- Organizations: MyOrga

<br />

And, I try a lot of things without finding to insert "Request type: Regular check".  
When I go to the service request configuration, my request type is linked to my problem type.

<br />

Thank you for your help.  
JC


Answers:
author: ADIGADOU Jean-Christophe
body: Hi [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367)

This solutin works, but I could not add :

* Components
* Labels
* Priority
* Organizations
* ...

If I add another "Action", like "Edit issue fields" with fields above, It does'nt works.

![Rules.png](https://community.atlassian.com/t5/image/serverpage/image-id/318339i11DCE57C50DD3245/image-size/large?v=v2&px=999 "Rules.png")![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/318341iDF0AA7CF7EB3D568/image-size/large?v=v2&px=999 "2.png")![3.png](https://community.atlassian.com/t5/image/serverpage/image-id/318343i1836771178B3D3A8/image-size/large?v=v2&px=999 "3.png")

comments: author: Kris Dewachter
body: Hi [@ADIGADOU Jean-Christophe](/t5/user/viewprofilepage/user-id/5476235) ,

The automation rule doesn't know which issue it need to edit.

You need to add a branch on the "Most recently created Issue" in the automation rule, and put the "Edit" action in that branch.

![Screenshot 2024-04-15 at 17.33.12.png](https://community.atlassian.com/t5/image/serverpage/image-id/318380i04D47CF67A6C5AB7/image-size/large?v=v2&px=999 "Screenshot 2024-04-15 at 17.33.12.png")

Best regards,

Kris


author: ADIGADOU Jean-Christophe
body: Hi [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367),

I don't understand the logic of it (I'm new to th Jira world).

Nevertheless, it works correctly.

Thanks,

JC


author: Kris Dewachter
body: Hi [@ADIGADOU Jean-Christophe](/t5/user/viewprofilepage/user-id/5476235) ,

Welcome to the Community.

To create the issue in your automation rule ... are you using the "**Create issue with a request type**" action ?

![Screenshot 2024-04-15 at 15.48.06.png](https://community.atlassian.com/t5/image/serverpage/image-id/318333iD57E57CD1667A708/image-size/large?v=v2&px=999 "Screenshot 2024-04-15 at 15.48.06.png")

Best regards,

kris


Tags: cloud

jira-service-management

jira-service-management-cloud
Can I link issue key to a field in forms?
Asked by Nik Seibold:

If yes how can I add it here?

![Screenshot 2024-04-15 151632d.png](/t5/image/serverpage/image-id/318328iDFD4BFDD83605A43/image-size/large?v=v2&px=999 "Screenshot 2024-04-15 151632d.png")


Answers:
author: Andy Thelen
body: [@Nik Seibold](/t5/user/viewprofilepage/user-id/5458903) I don't think it's possible to link the issue key since the issue key doesn't get generated until after the issue is submitted.

I had this same issue. My solution was:

1. Create a custom field and link it to a field on the form.
2. Create an automation rule that
   1. when a new issue is created matching the Issue type,
   2. re-fetch the issue data,
   3. then update my custom field to {{issue.key}}

Works like a charm :)


author: Ste Wright
body: Hi [@Nik Seibold](/t5/user/viewprofilepage/user-id/5458903)

As in, to generate an issue key based on a form value? If yes, this isn't possible - issue keys are system generated based on the project key, and the next sequential number based on the number of issues created up to that point.

Or are you looking to do something else with this list of keys?

Ste

comments: author: Nik Seibold
body: Hi [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470)   

Thank you for your response.  

I'd like to include the issue key of a ticket in this form field.

Best Regards  
Nik


author: Ste Wright
body: Hi [@Nik Seibold](/t5/user/viewprofilepage/user-id/5458903)

The Issue Key of which ticket?

If you could explain the specific need in more detail, that would be great - perhaps an example would also help here :)

Ste


author: Nik Seibold
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) issues from my service project

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


author: Nik Seibold
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) Do you know what I mean?


author: Ste Wright
body: Hi [@Nik Seibold](/t5/user/viewprofilepage/user-id/5458903)

Still not sure what you mean - can you explain exactly what the field will do?

Trying to understand the scenario :)

Ste


author: Nik Seibold
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) The field in forms should just show the key from the issue.


author: Nik Seibold
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) Do you know if it is possible?


author: Abduvokhid Abduvokhidov
body: Hi [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) i have to these type of problem let me explain i create the form in proForms and i want to add field that will show the issue key(number of ticket) if you know can you please explain or whow how to add. Issue key should be shown while we are downloading form file like PDF. Thank you.


author: Abduvokhid Abduvokhidov
body: [@Nik Seibold](/t5/user/viewprofilepage/user-id/5458903) did you solve this problem? If you solve can you share pls.

Thank you.


Tags: cloud

forms

issue-key

jira-service-management

jira-service-management-cloud
JIRA SERVER takes long time to boot.
Asked by Sandeep Vellore:

Hi All,

The JIRA Alpha \& Omega servers take long time to boot. Kindly let us know why? What needs to be checked.


Answers:
author: Mirek
body: Hi [@Sandeep Vellore](/t5/user/viewprofilepage/user-id/4393871)

It is hard to say what might be the cause without getting more information..

Overall first we should check the logs files. Is there anything suspicious?

By saying "long time" what time exactly do you mean?

Does it finally successfully loads and you are able to log in?

Have you recently changed something that suddenly could made this instance slow? Any upgrade?


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Populating a select list with options from an external database
Asked by alison_perez:

Hi Jira community!

I have a select list field in one of our Jira forms but instead hard-coding the values for the options, I wanted to fetch the values from an external MySQL database. I can pull these information via an endpoint script but I am looking for ways to push this information to the select list.   

Is this possible and what are the options to do this?   

Thank you


Answers:
author: Sreenivasaraju P
body: Hi [@alison_perez](/t5/user/viewprofilepage/user-id/4036863) ,

As per my knowledge, this is feature is not available out of the box.

You can try third party apps like External Data for Jira Fields

[https://marketplace.atlassian.com/apps/1219994/external-data-for-jira-fields?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1219994/external-data-for-jira-fields?hosting=cloud&tab=overview)

comments: author: alison_perez
body: Thanks for clarifying about its native support. I will check External Data for Jira Fields.


author: Michel Neeser
body: Hi [@alison_perez](/t5/user/viewprofilepage/user-id/4036863)

I've never used it before, but did you try using [Data Connections for Forms](https://confluence.atlassian.com/jirakb/form-s-data-connection-faq-1333990426.html) yet?

Hope this helps!

comments: author: alison_perez
body: Thank you for giving a lead. I will take look at it.


Tags: cloud

jira-service-management

jira-service-management-cloud
we need to restrict customers from seeing SLA
Asked by Sachin Guttala:

we don't want to see customers to see our SLA, how to hide SLA from customer.


Answers:
author: Odd_lynice
body: Hi [@Sachin Guttala](/t5/user/viewprofilepage/user-id/5391725)

I think the issue at hand is the same concern as this community post: [SLAs remove or hide from issue page](https://community.atlassian.com/t5/Jira-Service-Management/SLAs-remove-or-hide-from-issue-page/qaq-p/1431893)

I hope the recommendation mentioned in the post resolves the concern.

Theodore


author: Walter Buggenhout
body: Hi [@Sachin Guttala](/t5/user/viewprofilepage/user-id/5391725),

Can you explain how your customers are seeing the SLA? Unless something changed recently, SLA information can only be shown to customers via marketplace apps or if they have internal access to service desk tickets. See this open feature request: [JSDCLOUD-325](https://jira.atlassian.com/browse/JSDCLOUD-325)


Tags: cloud

jira-service-management

jira-service-management-cloud
How to delete a user group from a customer's portal page?
Asked by System Owner:

Hello all,

I just added a customer into a user group (NOT organization), and in the service portal, the customer can see the user group per clicking "requests".

Is there any way to hide the user group here? As I don't want a customer to be able to see his/her user group(s) in the service portal. Thanks!

![Annotation 2024-04-15 182617.png](/t5/image/serverpage/image-id/318301iD749B1037EF6A03F/image-size/large?v=v2&px=999 "Annotation 2024-04-15 182617.png")


Answers:
author: Ste Wright
body: Hi [@System Owner](/t5/user/viewprofilepage/user-id/5443286)

Are you sure there's not an Organization with that name also?

As far as I know, you can't have Groups display in that menu.

Ste


author: Kai Becker
body: Hi [@System Owner](/t5/user/viewprofilepage/user-id/5443286)

welcome to the community and thank you for your question.

Where did you add the customer to this group? As far as I know only Organizations get displayed there, so I guess an Organization has been created in the background.

comments: author: System Owner
body: I added the groups here, and there is no organization added in my project.

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


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira admin permissions
Asked by Rinat Yaacov:

Hi Everyone,

last week we got an email from Atlassian that there are some changes on the Jira admin permissions and since then me and my colleges lost our permissions and cant get them back.

anyone know how to help us?


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

Can you share the email that you got?


Tags: cloud

jira-service-management

jira-service-management-cloud
Canned Responses posting as 'Respond to Customer' vs 'Internal Note'
Asked by George Neshev:

All my canned responses default as 'Respond to Customer' rather than 'Internal Notes'

This occurs with or without the canned response plug in.

![Screenshot 2024-04-15 091049.png](/t5/image/serverpage/image-id/318266i8F3ADA53C56B6E11/image-size/large?v=v2&px=999 "Screenshot 2024-04-15 091049.png")

Is it possible to change the functionality so they post as Internal Notes?


Answers:
author: Iryna Ihnatiuk _Appfire_
body: Hi [@George Neshev](/t5/user/viewprofilepage/user-id/5475954)

I'm Iryna from Appfire. I can see that you're using our app - Canned Responses Pro.

Currently, all templates work for both tabs and are not connected to internal or public comments. Templates randomly appear on the last tab you used. However, we plan to introduce the setting you mentioned and add a default template tab soon!

Let me know if you want to learn more or have any other feedback on improving the app. I will be happy to chat.

Thank you,  
Iryna

comments: author: rgoodman
body: Hi [@Iryna Ihnatiuk _Appfire_](/t5/user/viewprofilepage/user-id/4073962) ,

It would be great to know when this feature will be release - do you have an ETA or a link I can use to track this?

Being able to specify whether a Canned Reponse defaults to internal or external in the template definition would be extremely useful to prevent accidental external notifications for internal workflow

Thank you,  
Roland


author: Iryna Ihnatiuk _Appfire_
body: Hi [@rgoodman](/t5/user/viewprofilepage/user-id/4928746)

We're already at the "QA" stage! Depending on testing results, the feature should be live within the next week or two.

Regards,  
Iryna


author: Iryna Ihnatiuk _Appfire_
body: Hi Roland [@rgoodman](/t5/user/viewprofilepage/user-id/4928746),

The feature has been released! Feel free to contact our support if you have any additional questions or feedback to share - <https://appfire.atlassian.net/servicedesk/customer/portal/11>

Thanks,  
Iryna


author: Ste Wright
body: Hi [@George Neshev](/t5/user/viewprofilepage/user-id/5475954)

Isn't the "Canned responses" button within the comments section?

So you have to select the comment type before choosing a canned response - if you pick "Add internal note" the canned response shouldn't change it back to replying to a customer when selected.

Or are you activating these from somewhere else?

Ste

comments: author: George Neshev
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) I select one of my favourited responses, which is before I get the opportunity to select Internal/Reply to customer.

Once it loads up, it defaults as reply to customer.

![Screenshot 2024-04-15 093926.png](https://community.atlassian.com/t5/image/serverpage/image-id/318273i5A8086142182D831/image-size/large?v=v2&px=999 "Screenshot 2024-04-15 093926.png")


author: Ste Wright
body: Hi [@George Neshev](/t5/user/viewprofilepage/user-id/5475954)

Interesting; I don't seem to have that option - how did you select it as a favourite?

Ste


Tags: canned-response

cloud

jira-service-management

jira-service-management-cloud