youngmon/atlassian-qna huggingface dataset:
Unable to download artifact Shared artifact
Asked by ehw_supun:

I got following error in my deployment project when executing "Artifact download" task,

```
Unable to download artifact Shared artifact: [xxxxx], pattern: [xxxxx.war] anchored at: [xxxxx/target]
```

```
I can see artifact in <bamboo home dir>/artifacts/plan-393217/shared/build-00007/xxxxx.war
```

```
It also in <bamboo home dir>/xml-data/build-dir/<Job Folder>/xxxxx/target/ folder
```

```
What is missing here ?
```


Answers:
author: Krystian Brazulewicz
body: You might also want to contact our Support: <https://support.atlassian.com/servicedesk/customer/bsp>


author: Przemek Bruski
body: Check the agent logs, maybe they will tell you more.


Tags: bamboo-administration
Bamboo agent hangs PC when network adapter disabled
Asked by Mark de Bont:

last week I had an instance where I had disabled the network adapter on a Windows 10 PC with a Bamboo agent (5.12.x) installed as a service.

I noticed the PC became very unresponsive until I finally managed to stop the service / re-enabled the network adapter.

Would there be a way for the Bamboo agent to have a more 'graceful degradation'?


Answers:
author: Krystian Brazulewicz
body: If you still have logs from that incident please create an issue on <https://jira.atlassian.com/projects/BAM>


Tags: bamboo-administration
Get rid of the IP check during remote agents authentication
Asked by mahmoudabid:

Hello -  
You're (clearly) mentioning in <https://confluence.atlassian.com/display/BAMBOO/Agent+Authentication>:

* If the agent's IP address changes, perhaps because DHCP is being used, then you will have to reapprove the agent when it next tries to connect using that different IP address.

This is rather problematic for certain use cases, specially if I have a fleet of agents which dynamically go up and down and change IP addresses constantly, is there a way to rely on UUID only regardless of the agent IP?

Could you consider this as a feature request? Have the Bamboo administrator chooses whether or not IP verification is required.

Thanks.


Answers:
author: Przemek Bruski
body: For your use case, just set an IP pattern (via edit IP address), any of these should work:

```
* 192.168.1.1
* 192.168.1.0/24
* 192.168.1.*
* 0:0:0:1::1
* 0:0:0:1::/64
```

comments: author: mahmoudabid
body: Thanks! That exactly solves it.


Tags: authentication
how can i change a plan variables in tasks
Asked by appregidc:

hello, how can i change a plan variables in tasks? or is plan variables == const?


Answers:
author: Krystian Brazulewicz
body: Maybe you should look at <https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin/server/overview> which handles this problem elegantly and you can limit the scope of visible change just for the scope of the job execution.


author: rsperafico
body: Hello,

This is what you cannot do:

```
# in a Script task${bamboo.myGlobalVariable} = 'new value'${bamboo.myPlanVariable} = 'new value'
```

This is what you can do:

* [Running a plan build manually](https://confluence.atlassian.com/display/BAMBOO/Running+a+plan+build+manually), by running a customised build
* running a cURL command to run a particular build overwriting a Global/Plan variable

  ```
  curl -u USERNAME:PASSWORD -X POST -d 'bamboo.yourVariable=newValue' 'http://localhost:8085/rest/api/latest/queue/PROJ-PLAN'
  ```

  The above will trigger a build 'PROJ-PLAN' and will overwrite the variable 'yourVariable' with 'newValue'.
* [Injecting Bamboo Variables](https://confluence.atlassian.com/display/BAMBOO/Configuring+a+variables+task)

---

Kind regards,  
Rafael P. Sperafico

comments: author: Krystian Brazulewicz
body: Yes it is possible but IMO you should not do it. This can easily lead to chaos in your build configuration.
Repository Pull Is Setting Incorrect EOL for Windows
Asked by Jack McKittrick:

I have a build that pulls my Bitbucket repository and using a remote agent drops the repo on a Windows 2012 server. Unfortunately all of my text files only have a LF (line feed character) instead of a CRLF character. This makes them invalid windows files and my build is failing. How do I force Bamboo to pull and ensure it adds a CRLF character to all my text files?


Answers:
author: Krystian Brazulewicz
body: You can either set global option on your agent or use per-repository `.gitattributes` file. See <https://help.github.com/articles/dealing-with-line-endings/> for more details


Tags: bamboo-administration
How to copy the value of a custom field to a new issue with automation?
Asked by Javier Peraita:

Hello, we have a question when creating an automation.  
We have **two request types: X and Y** . Normally the request type X is created a few weeks before the Y. **Both** requests have a field called "**Launch ID** " that is filled by the requester and another one called "**Final ID** ".  
This "Final ID" field is left blank at the beginning and is filled in the request X when it progresses through the workflow.  
What we are trying to do is: **when a request Y is created** (it is created after X), I want it to l**ook for a request X with the same "Launch ID"** , and if it finds it I want to **link them** and **take the "Final ID" field from X and copy it to** the "Final ID" of **Y** (the one that was just created).  
We have it set up to the point of looking for a request X with the same Launch ID and linking them. But **we can't get the value of the other Final ID field** . Could you help us?  
Thank you very much!


Answers:
author: Rudy Holtkamp
body: Hi [@Javier Peraita](/t5/user/viewprofilepage/user-id/5275170) ,

You can create the following rule:

Trigger: issue created

Issue fields condition: Request Type equals Request Y

Lookup issues: "Request Type" = *"Request X" and "Launch ID" = {{triggerissue.fields.Launch ID}}*

{{smart values}} condition: {{lookupIssues.size}} equals 1

Edit issue: Final ID = {{lookupIssues.first.fields.Launch ID}}

Branch rule / related issues: JQL =\> "Request Type" = "Request X" and "Launch ID" = {{triggerissue.fields.Launch ID}}

Link issues: relates to {{triggerissue.key}}

This should do it.

Good luck,

Rudy


Tags: automation

cloud

custom-field

jira-service-management

jira-service-management-cloud

link
About team field
Asked by ???_??_:

How do I write a team field as a condition in JQL?

![_00_team_field.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/302646iEBBA5CBAE8AB8FC7/image-size/large?v=v2&px=999 "_00_team_field.jpg")

--------------------------------------------------------------------------------

![_00_team_jql.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/302647i939F9F520239F760/image-size/large?v=v2&px=999 "_00_team_jql.jpg")


Answers:
author: Fazila Ashraf
body: Hi [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

You can switch to JQL and then

* If you're searching for issues assigned to a specific team, type **Team ="shared team name"**.
* If you're searching for issues assigned to any set of teams, type **Team in ("Shared team 1", "Shared team 2", "Shared team 3")**.

comments: author: ???_??_
body: Hi, [@Fazila Ashraf](/t5/user/viewprofilepage/user-id/538419)   
Thank you for answer :)


Tags: cloud

jira-service-management

jira-service-management-cloud
Rest API maxResults Problem
Asked by Mert Can Polat:

Hello,

<https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-field-fieldid-context-contextid-option-get>

I m using this api endpoint for getting custom field option list. End point taking **maxResults**parameter for result count. This parameter default setting 100. I set maxResults to 1000 but api giving max 100 result. API not giving result higher then 100. How can solve this problem?


Answers:
author: Aswin Raj D
body: Dear [@Mert Can Polat](/t5/user/viewprofilepage/user-id/5415153) ,

The issue you are facing with the Atlassian JIRA REST API, specifically when trying to retrieve more than 100 results for custom field option list, is a common limitation set by many APIs to ensure performance and stability. In this case, even though you are setting `maxResults` to 1000, the API itself has a hard limit of 100 results per request.

To solve this problem, you will need to implement pagination in your API requests. Pagination involves making multiple requests to the API, each time retrieving a subset of the total results, until you have retrieved all the data you need. The JIRA API provides parameters such as `startAt` for this purpose.


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira board work log or time spent per developer
Asked by Hareesha:

Hello Team,

am using Jira, Web browser board where I need to setup all the developers total hours vs logged hours in a sprint.

I tried a lot but no joy. Kindly help me to create


Answers:
author: Trudy Claspill
body: Hello [@Hareesha](/t5/user/viewprofilepage/user-id/5415141)

Welcome to the Atlassian community.

Can you provide more information about your scenario?

How do you calculate "total hours" per developer per sprint?

I don't believe there is any native feature to get you the report you want. Are you willing to consider buying a third party app to achieve your requirement?

Can you confirm whether you are using Jira Server/Data Center or Jira Cloud? If you are using Jira Server/Data Center, are you using Server or are you using Data Center, and what is the version?

Also, what type of project are the issues in? You should be able to find that information on the page that lists all the projects for your Jira instance.


Tags: jira-service-management

jira-service-management-server

server
How to check all team members total hours spend on different projects in a week or month?
Asked by Hafiz Anas:

Hi,  
Hope you are well,  

<br />

I am looking for time report where I can check the all team member time log in a week or month.  

For example, I apply a filter with all users by setting date duration and click on Generate repot like User A spent 30 hours, User B spent 28 hours, user C spent 35 hours and so on...  
the purpose of this report is I just want a quick review if someone didn't log the time or logged less time as per decided.  

Please help me on this if someone knows about this filter because I used to this before design changes in software.  

Thanks in advance


Answers:
author: Marc - Devoteam
body: Hi [@Hafiz Anas](/t5/user/viewprofilepage/user-id/1582415)

I agree with [@Dave Mathijs](/t5/user/viewprofilepage/user-id/2662590)

Are you using an app to track time and what app?


author: Dave Mathijs
body: Hi [@Hafiz Anas](/t5/user/viewprofilepage/user-id/1582415) , are you currently using any third-party solution for time tracking?

In order to meet your requirements, you might consider exploring the Atlassian Marketplace for time tracking apps. I'm aware that this is an investment, but when you're serious about time tracking, the out-of-the box features in Jira just don't get the outcome you need.

Time tracking apps help you build rolled-up values and cross-project reports.

Be aware that you may face objections when asking people to time track their day-to-day activities:

* perceived intrusiveness
* time-consuming manual entry
* lack of flexibility
* privacy concerns
* resistance to change
* perceived lack of value
* complexity

You may overcome this by answering the "What's in it for me?" question:

* a user-friendly interface that prioritizes automation to reduce manual input
* integration with calendars and other tools
* customization options above the standard time tracking tool in Jira
* privacy settings for a need-to-know basis only
* encourage the value of time tracking with insightful reports and analytics to make informed decisions

comments: author: Hafiz Anas
body: Hi Dave,  

Thanks for the detailed input and I will definitely look into this


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud

jira-software-cloud
Nvd assets
Asked by Martin Svensson:

Hi all

I need to set up an nvd assets database.

I'm using the cve import module, is there any possibility to use this solution ofline?

I saw that in a previus version there was a ofline-mode choice.


Answers:
author: Benjamin
body: Hi [@Martin Svensson](/t5/user/viewprofilepage/user-id/3615203) ,

Maybe be simpler just to use the integration app tool.

[https://marketplace.atlassian.com/apps/1220353/assets-nvd-integration?tab=versions\&hosting=datacenter](https://marketplace.atlassian.com/apps/1220353/assets-nvd-integration?tab=versions&hosting=datacenter)

However, if you want to import using offline or snapshot of data, here's the documentation to import

<https://confluence.atlassian.com/servicemanagementserver/importing-with-built-in-importers-1044784462.html>

hope this helps.

comments: author: Martin Svensson
body: Hi

Sorry for being unclear in my request.

I'm using the NVD integration but my environment does not have a direct connection internet so i wont be able to use any api key.

So my question is how can i set the NVD integration to use an offline file instead of Api key?

Can i download an deprecated version and use the import/assset/cve folder or maby can i spoof the api key from NVD and point to a json file?


Tags: assets

cve

jira-service-management

jira-service-management-server

nist

server
Where to view forms submitted by customers
Asked by Karishma:

Let's say we add the forms under request and a customer fills it and submits. Where can we view this ( is it under JIRA requests) and can we run filters on the form submission. We do not want a pdf submission of forms.


Answers:
author: Mikael Sandberg
body: Yes, the form is added to the request under the attached forms section:

![Screenshot 2024-01-25 at 1.51.44?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/302608iC75842D27B88DF45/image-size/large?v=v2&px=999 "Screenshot 2024-01-25 at 1.51.44?PM.png")

No, you cannot query on the attached form, but if you want to get data out of the form you can use the [API](https://developer.atlassian.com/cloud/forms/) to get the answers, or link the fields to Jira fields and filter that way.


Tags: cloud

forms

jira-service-management

jira-service-management-cloud
Notification when ticket count exceeds a certain threshold.
Asked by Gregory Alexander Romero:

I am looking to create an automation or alert related to open tickets assigned to a certain user/users that meets a certain threshold (for example exceeding 25 open tickets).   

I know that I can create an automation on this and set conditions for assignee and status, but what I don't know is how to set the condition to indicate the threshold.

Any assistance would be greatly appreciated!


Answers:
author: Marc - Devoteam
body: Hi [@Gregory Alexander Romero](/t5/user/viewprofilepage/user-id/5414896)

Welcome to the community.

This should be possible, but this would be a rule per user.

![Screenshot 2024-01-26 at 10.04.52.png](https://community.atlassian.com/t5/image/serverpage/image-id/302655i52CD92935F27EFBF/image-size/large?v=v2&px=999 "Screenshot 2024-01-26 at 10.04.52.png")


author: Benjamin
body: Hi [@Gregory Alexander Romero](/t5/user/viewprofilepage/user-id/5414896) ,

I haven't seen a function to see the ticket threshold. Most of the Jira automation is related to the issues and not viewing the accumulation of tickets and using a operator like \> or \<.

Another way to see the amount of tickets across team members, is to create a live dashboard. Use widgets like piechart or table and configure the issue count by user. If you are using scrum, you can see the amount of issues assign to each user before the sprint starts. There's ways to see that if using kanban.

If you are using JSM, then you can create queues for each user to see the issue count.

Hope this helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
Checklist Automation without third party apps?
Asked by Arrow Admin:

I'm looking for a way to apply a checklist to an onboarding automation.

Currently, I'm using the free version of Issue Checklist and it works but I need a way to do this without paying for an app. Is this possible?


Answers:
author: Fabian Lim
body: Hi [@Arrow Admin](/t5/user/viewprofilepage/user-id/1161221)

You should check in the marketplace for free ones. But the ones that you pay for are worth it since they integrate well with jira automations to add specific checklist for request types. We use smart checklist pro.

If you want discounts on plugins, you should talk to Atlassian Solution Partners and they can help with some discounts.


author: Ismail Sanni
body: Hi [@Arrow Admin](/t5/user/viewprofilepage/user-id/1161221)

The best way is to get a paid app, probably Smart Checklist Pro, it has a lot of automation options.


Tags: cloud

jira-service-management

jira-service-management-cloud
Is there a way to check the number of automation rules executed per month
Asked by Karishma:

Is there a way to check the total number of automation rules executed with Global Automation? AuditLog can be added to the rules but I'm looking for the total.


Answers:
author: John Funk
body: Hi Karishma,

If you go to Settings \> System \> Global Automation, then you can click on the Usage tab at the top.

![Screenshot.png](https://community.atlassian.com/t5/image/serverpage/image-id/302641i7AE271DB4AEFF1CD/image-dimensions/386x197?v=v2 "Screenshot.png")


Tags: cloud

jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Issue with automation: create issue with a request type
Asked by Javier Peraita:

Hello,

We are getting an error when we try to generate an issue with an automation with the option "with a request type".  
This has always worked for us and now we are getting this error. The custom fields that are set when creating the issue are more, but these two are giving error.  
Can anyone tell us what could be happening? I don't know if there has been any update in Jira that could be affecting this?

![JIRA QUESTION.png](/t5/image/serverpage/image-id/302569i4B4EB83788CDAA52/image-size/large?v=v2&px=999 "JIRA QUESTION.png")


Answers:
author: Fabian Lim
body: Hi [@Javier Peraita](/t5/user/viewprofilepage/user-id/5275170)

Most likely, someone added a new customfield with the same name which Jira allows you to do. I would check that you pick up the right name. Also, use customfield_xxx instead of names in your automations.

Regards,

Fabian

comments: author: Javier Peraita
body: Thanks [@Fabian Lim](/t5/user/viewprofilepage/user-id/3131564) ! Makes sense. How can I use customfield_xxx instead of names in the "create issue with a request type" action? This is what Jira gives you by default (all required custom fields):

![JIRA QUESTION 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/302653iC06FAA6B57F7E3F7/image-dimensions/332x168?v=v2 "JIRA QUESTION 2.png")


author: Fabian Lim
body: [@Javier Peraita](/t5/user/viewprofilepage/user-id/5275170)

If you are using the edit issue action you should be able to to pick the right field. To ensure you pick the right one, you may want to ask your sys administrator to change the name. For example if the field is a select field to put field name (Select) so that you know the differences between types of fields.


Tags: automation

cloud

error

jira-service-management

jira-service-management-cloud

request-type
Does changing SLA goals recalculate all issues?
Asked by Terry Dance:

We will be changing the JQL in some goals, and adding in new goals for our SLAs. When we go to add a new goal we get this,

SLA edits may take time to take effect {#toc-hId--406784877}
------------------------------------------------------------

There are XXXXXX issues in this service project. Recalculating SLAs for this many issues can take a long time (up to a few days sometimes), during which time SLAs and reports may not be accurate.

Does this mean that SLAs would get recalculated on resolved/closed tickets?


Answers:
author: Mikael Sandberg
body: No, the recalculation of SLAs only happens on tickets that have an active SLA, it will not be recalculated on any resolved/closed tickets.


Tags: cloud

jira-service-management

jira-service-management-cloud
Unable to open JIRA ticket using API integration
Asked by Udi Ben Hamo:

Hi All,

**Background:**

On my company's platform, there is a built-in integration with JIRA.

It should open a JIRA ticket whenever an alert is triggered on our product.

**Issue:**

I configured the integration using my own email, an API token, configured the JIRA host and project key.

I simulated an alert- and a ticket was created.

Then i created a new email user- a generic one for the sake of the alert report.

The user was given project admin role, admin org permission and in general the same permissions as my own user.

I created a new API token and configured similar parameters - however when i simulated an alert, the following error appeared:

    Client request(POST https://<host>.atlassian.net/rest/api/2/issue\) invalid: 400 Bad Request. Text: "{"errorMessages":[],"errors":{"reporter":"Specify a valid value for reporter","assignee":"Specify a valid value for assignee

Again,

Same permissions were granted, same configuration was performed.

In addition,

I tried to open a ticket using curl command with the exact same permissions and it worked!

curl -D- -u \<USER:API TOKEN\> -X POST -H "Content-Type: application/json" \\  
--data '{  
"fields": {  
"project": {  
"key": "\<PROJECT KEY\>"  
},  
"summary": "Issue Summary",  
"description": "Issue Description",  
"issuetype": {  
"name": "Task"  
}  
}  
}' "[https://\<HOST\>.atlassian.net/rest/api/2/issue/](https://vsoc-upstream.atlassian.net/rest/api/2/issue/)"

I would appreciate your assistance with identifying the issue.

Thanks,

Udi


Answers:
author: Rudy Holtkamp
body: Hi [@Udi Ben Hamo](/t5/user/viewprofilepage/user-id/5414795) ,

Welcome to the community!

Did you use the new account to create a ticket via the UI in the project you've specified in the JSON? If not please try, you probably run into the same error

Looking at the error message the new account may not be the reporter (which implies that it is missing the *create issues* permission). The other error implies that an assignee should be set (take a look at the field configuration is assignee is required).

Rudy

comments: author: Udi Ben Hamo
body: Hi Rudy,

Thank you!!

I am able to open a ticket using the UI with the same user.

As i mentioned in the ticket description- i'm also able to open a ticket using a simple API call.

I also have the 'create issue' permission.

I've checked the permissions of the problematic user and my user- both have the exact same permissions.

Thanks,

Udi


author: Carlos Faddul
body: [@Udi Ben Hamo](/t5/user/viewprofilepage/user-id/5414795) , how are you ?

Are you using a existing email or atlassian ID in reporter and assignee ?

Normally, in API's i use Atlassian ID to set the users (in CSV file works no problems with emails LOL)

Try to use the Atlassian Account ID for the Rest

comments: author: Udi Ben Hamo
body: Hi Carlos,

In our code- we map both the assignee and reporter as accountID.

It works properly on my user, i just can't seem to find the difference.

Thanks,

Udi


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud