youngmon/atlassian-qna huggingface dataset:
How to move projects to a new atlassian site?
Asked by Adam B_ Kjems:

As a company test I created a Atlassian site product-name.atlassian.net with Jira projects and Confluence spaces. It has gone well and the company has decided to move all future projects into Atlassian.

Now my problem is that I created the site with product-name.atlassian.net instead of company-name.atlassian.net.

How can I move over to the new site without losing our current Jira, Confluence work, and billing setup?


Answers:
author: Samuel Gatica
body: Hi [@Adam B_ Kjems](/t5/user/viewprofilepage/user-id/5543831)

Welcome to the community!

The most effective and efficient approach is to utilize the Cloud to Cloud Migration Assistant. You can find the detailed steps and an overview of the available methods in this support article.

* [Copy Jira data](https://support.atlassian.com/organization-administration/docs/copy-jira-data/)

Best regards

Sam

comments: author: Adam B_ Kjems
body: Thanks, this worked.   
I had two hiccups.

1. I had to permanently delete a project in my target space because I used the same "Space name" . This wasn't an issue as it was empty
2. Personal spaces failed to be copied over because the shared the same "space key".


author: Trudy Claspill
body: Hello [@Adam B_ Kjems](/t5/user/viewprofilepage/user-id/5543831)

Welcome to the Atlassian community.

Has the site company-name.atlassian.net already been created?

If not you could just rename your product-name.atlassian.net site.

Refer to

<https://support.atlassian.com/organization-administration/docs/update-your-product-and-site-url/>


Tags: atlassian

cloud

jira-cloud

site
How to write a JQL for creating a filter to select sprint dropdown from particular project
Asked by Ganesh R:

I am working on dashboard, I want to know if I can have a filter for selecting sprints from the particular project? And, when such sprint is selected we must be able to view all the issues that sprint had.


Answers:
author: Bill Sheboy
body: Hi [@Ganesh R](/t5/user/viewprofilepage/user-id/5558790)

JQL filters search for issues, and not for any other entities, such as Sprints.

And even if that was possible, there are no built-in dashboard gadgets which display how you described. A similar one with built-in features would be:

* add the two-dimensional filter gadget
* select your board's filter
* select Issue Type for the X-axis
* select Sprint for the Y-axis

That would allow selecting on the intersections to see the issues, by type, for the sprint.

If you need a different view with other functionality for dashboards, please check the Atlassian Marketplace for addon products: <https://marketplace.atlassian.com/>

Kind regards,  
Bill

comments: author: Ganesh R
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) when I select sprint, I can only see it for present/open sprint. How can I view previous sprint? What is the query for that? Like we have opensprint() do we have one for previous sprint?


author: Bill Sheboy
body: The filter controls what is returned. You could use a very simple filter like this:

```
project = yourProject
 ORDER BY Rank ASC
```

That would include all issues including the backlog ones.

To limit to issues in current and prior sprints, please try this:

```
project = yourProject
 AND (    sprint IN openSprints()
       OR sprint IN closedSprints() )
ORDER BY Rank ASC
```


Tags: cloud

jira-cloud
How to get the issues within component in a project?
Asked by kumar:

Hi all,

I am trying to get jira issues within component in a project. Unfortunately, I can not get the jira issues.

Let's assume, I have a project "A", within the project "A", there are multiple components such as "B", "C" and " D".

Now I want get all the issues using REST API?

I can get project and components using REST API, not the issues inside the components?

Can anyone help me with this please?

Thanks in advance


Answers:
author: Mikael Sandberg
body: You can get the issues if you use the [Search for issues using JQL](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get). All you have to do is use the JQL that select the projects and the components, something like this:

project = A AND components = Something

The documentation should have everything you need.


author: Joe Pitt
body: I don't use the API, but when I add the component field to the issue filter I can specify which component I want. The API should be able to do that. sample filter

change project 'name' and component 'name' to real values

project = name AND issuetype = Test AND component = name AND "Version" = 13.25.0 AND "Test Event" = "User Acceptance Testing (UAT)" ORDER BY summary DESC, key ASC


Tags: cloud

jira-cloud

rest-api
Limit of Child Issues
Asked by Karim Mohamed:

What's the limit of Child issues under an Epic in Jira Cloud?  

I can't find a consistent number online


Answers:
author: Dave Rosenlund _Trundl_
body: Hi, [@Karim Mohamed](/t5/user/viewprofilepage/user-id/5046408) ?

Only 100 child issues can be **displayed** under Epic in Issue View.

AFAIK, the **total limit** is 2K child issues (at this time---Atlassian changes these things {for the better} from time to time).

A workaround to see more than 100 children is to use Jira search and search for issues by parent=Epic, and all child issues will be returned.

Example of JQL:

```
issuetype=epic AND parent=<issuekey>
```


Tags: cloud

jira-cloud
Epic BurnDown Chart cross projects
Asked by Liora Naginsky:

Hello!

What is the best way to present the status of epics, including planned end dates and actual delivery, in Jira?

We need a single chart that displays this information across all projects, rather than separate boards for each project.

For example, we'd like a consolidated view similar to an Epic Burndown Chart, but encompassing all projects in one place.

Thank you!


Answers:
author: Danut M _StonikByte_
body: Hi [@Liora Naginsky](/t5/user/viewprofilepage/user-id/5466306),

As mentioned by [@Dave Rosenlund _Trundl_](/t5/user/viewprofilepage/user-id/1164057) this is not possible with the Jira's default gadgets of reports. But you could search on Atlassian Marketptlace for apps that offer such functionality.

If you intend to use an app, our [Great Gadgets](https://marketplace.atlassian.com/search?query=stonikbyte%20great%20gadgets%20agile) lets you create both epic burndown charts (with issues from multiple projects) and cross-project burndown charts by using its **Release Burndown Burnup Chart gadget**.

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

These articles clearly explain how to do this:

1. [How to create an epic burndown or burnup chart in Jira and Confluence with Great Gadgets app](https://community.atlassian.com/t5/App-Central-articles/How-to-create-an-epic-burndown-or-burnup-chart-in-Jira-and/ba-p/2737935)
2. [Creating a cross-teams release burndown chart in Jira with Great Gadgets app](https://community.atlassian.com/t5/App-Central-articles/Creating-a-cross-teams-release-burndown-chart-in-Jira-with-Great/ba-p/1803421)

Helpful in this case can be the **Pivot Table \& Pivot Chart gadget** offered by the same app, which allows you to calculate and display the progress of your epics, regardless of how many projects their issues are spread over.

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

Danut.


author: Dave Rosenlund _Trundl_
body: Hi, [@Liora Naginsky](/t5/user/viewprofilepage/user-id/5466306) ?  

AFAIK, there is no way to do this with Jira out-of-the-box, except perhaps with Jira [Advanced Roadmaps](https://www.atlassian.com/software/jira/guides/advanced-roadmaps/overview#what-is-advanced-planning), which is part of your Premium plan.

However, I have not tried this myself. I have been used to using one of the [PPM solutions from the Atlassian Marketplace](https://marketplace.atlassian.com/addons/app/jira/top-selling?hosting=cloud&query=project%20portfolio%20management) for many years now. They are purpose-built for managing in-flight projects with tools for looking across projects.

Advanced Roadmaps is purpose-built for project planning but you may be able to make it work for your use case.

Hope this helps,

-dave

comments: author: Liora Naginsky
body: [@Dave Rosenlund _Trundl_](/t5/user/viewprofilepage/user-id/1164057) thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud
jira team
Asked by kammani chandra sekhar:

Hi Developers.,

Atlassian recently updated the REST API fro the team filed in jira cloud .

i want to develop a python script to create team ,

when I try to curl with API token getting 401 error


Answers:
author: Sadiq Satriya
body: Hi [@kammani chandra sekhar](/t5/user/viewprofilepage/user-id/5569072)

Following the [Create a Team](https://developer.atlassian.com/platform/teams/rest/v1/api-group-teams-public-api/#api-gateway-api-public-teams-v1-org-orgid-teams-post) REST API docs, I was able to successfully create a team by simply replacing the required values, along with passing my email and API Token as credentials.

```
curl --request POST \
--url 'https://{sitename}.atlassian.net/gateway/api/public/teams/v1/org/{orgId}/teams/' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
-u {EMAIL}:{API_TOKEN} \
--data '{
"description": "<string>",
"displayName": "<string>",
"siteId": "<string>",
"teamType": "OPEN"
}'
```

Here are some links that could help as references on how to get those values:

* [Organization ID](https://confluence.atlassian.com/jirakb/what-it-is-the-organization-id-and-where-to-find-it-1207189876.html)
* [Site ID](https://confluence.atlassian.com/jirakb/how-to-find-cloud-site-id-1272283178.html)

One way of getting a 401 error is when my credentials are incorrect, ie, email and/or API Token, so I'd suggest reviewing the [auth docs](https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/#simple-example), particularly on [generating the API Token](https://confluence.atlassian.com/x/Vo71Nw) from [here](https://id.atlassian.com/manage/api-tokens).

Using CURL, I've tested that both the *Simple Example* (outlined in the code above) and *Supply basic auth headers*methods would work.

You could also try calling a different REST API to narrow down if the issue is specific to the *Create a Team* API.

comments: author: kammani chandra sekhar
body: Hi [@Sadiq Satriya](/t5/user/viewprofilepage/user-id/368512)

Thank you so much for you're response.

i have tried above one but getting some 401 headers error

is there any python snippet available.


Tags: cloud

jira-cloud
Which issues are not moved automatically to the next sprint when completing a sprint?
Asked by Tiberiu Mozes:

I have a board with the last 2 columns Accepted, and Rejected (Rejected is the last column).  
When completing a sprint, the Accepted issues got moved to the next sprint, while the Rejected ones stayed.  
I don't want to move neither Rejected nor Accepted, but it seems like it is always the last column issues that are not getting move, and I can't choose.  
Anyone can help, please?

Thanks!


Answers:
author: Bill Sheboy
body: Hi [@Tiberiu Mozes](/t5/user/viewprofilepage/user-id/5439139)

For Jira Scrum boards, only issues the far right column of the board are considered "done" when a sprint is completed.

Please update your board so both status values (i.e., Accepted and Rejected) are mapped to far right column.

Kind regards,  
Bill

comments: author: Tiberiu Mozes
body: Thanks Bill!


author: Samuel Gatica
body: Hi [@Tiberiu Mozes](/t5/user/viewprofilepage/user-id/5439139)

When [closing a sprint in Jira](https://support.atlassian.com/jira-software-cloud/docs/complete-a-sprint/), you may be prompted to specify the actions to be taken with incomplete issues. If you choose the option to "move to next sprint," Jira will automatically facilitate this process for you.

It is important to note that moving an issue to a sprint is independent of its status. The primary action taken is that Jira will update the Sprint custom field on your issue to reference the next sprint.

The challenges you are encountering may stem from a mismatch between your expectations and the actual process. Please consider the following points:

* Incomplete issues are those that did not progress to the rightmost column of your board by the time the active sprint was completed.
* To move issues into the next sprint, it is necessary to have already created that sprint in the backlog of your scrum board prior to closing the current sprint; Jira does not do this automatically.

It is possible that one of these considerations may provide some insight. If not, please provide more specific details regarding your actions when closing a sprint, your current configuration, and your anticipated outcomes. This additional information may help identify the source of the issue.

I hope this information is helpful!

Best regards

Sam

comments: author: Tiberiu Mozes
body: Thanks Sam!  
I will move the Rejected and Accepted to the right-most column


Tags: cloud

jira-cloud
Automation for a single select field
Asked by Dd:

Hi,

I defined a custom field called Week-of-the-Year which has 53 values to select one from ranging between 01 and 53.

I would like automation to set it based on the number of the current week: "{{now.format("w")}}"

How do I make that happen? How can I use smart values to set my Week-of-the-Year single select based on the actual week?

If I need to change the 01,02... to 1,2 - that can be done but I cannot use text field since it won't work for my dashboard.

Thanks


Answers:
author: Tessa Tuteleers
body: Hi [@Dd](/t5/user/viewprofilepage/user-id/5057440) ,

Yeah this is certainly possible, however, your select field values need to reflect ++exactly++ what the format(w) returns for this to work.

To set your select field using automation with a variable, you will need to use the advanced field editting.

```
{ "fields": {
    "customfield_123456": { "value": "{{now.format("w")}}" }
   }
}
```

You get the customfield_id by going to the custom field configuration and checking the URL.   

You can find some documentation about this [here.](http://For%20example, to set the Single Select field to green during an edit, you can use the following JSON)

Cheers!

- Tessa

comments: author: Tessa Tuteleers
body: And if you don't want to change your select list from "02" -\> "2", you could use a[leftPad function](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#:~:text=left(int).-,leftPad(int%20length%2C%20String%20pad),-Adds%20characters%20to), then it would look something like this:

```
{ "fields": {
    "customfield_123456": { "value": "{{now.format("w").LeftPad(2,"0")}}" }
   }
}
```

Test it out!


author: Dd
body: Works like charm!

Thanks


author: Tessa Tuteleers
body: Good to hear it [@Dd](/t5/user/viewprofilepage/user-id/5057440)


author: Kalyan Sattaluri
body: Hello [@Dd](/t5/user/viewprofilepage/user-id/5057440)

You could use weekofyear to get the week #. like below...

{{now.weekofyear}} OR

{{updated.weekofyear}} etc.

Hope it helps. Thanks.


Tags: autom

cloud

jira-cloud

smart-value
How to filter by issuetype on a Jira Structure "Extend" section
Asked by Luis Miguel:

I've created a Jira Structure with a list of Epics and added an "Extend" section (Automation or Transformation) to show issues linked to my Epics. Now I wonder, is it possible to add more logic to that Extend? I would like that Extend to show issues with a specific issue type only, I'm just interested on the Epics linked to the original list of Epics. Not sure how to solve this, maybe combining the Extend with a JQL. Any ideas? Thanks in advance


Answers:
author: Stepan Kholodov _Tempo_
body: Hello [@Luis Miguel](/t5/user/viewprofilepage/user-id/5572359)   

Extend generators can't be customized in this way - they simply check for the presence of the configured link in the parent issues (that is present in the structure) and add sub-issues, if the link is there.  

To achieve what you're describing, you need to first use an extender and then add a Filter to only keep issues of a certain type. You can configure the filter to work on specific levels of the hierarchy where it's needed by setting its Filter on level field to Manual, and defining the level right underneath the parent issues.  

I hope this helps. If you have more questions, please reach out to us directly at our [support portal](https://tempo-io.atlassian.net/servicedesk/customer/portal/6/group/1051).  

Best regards,  
Stepan  
Tempo (the Structure app vendor)

comments: author: Luis Miguel
body: Hello Stepan, I was not aware it was possible to apply a Filter to a specific hierarchy level. I made it work by adding that filter. Thank you!


Tags: data-center

jira-data-center
Automation for duplicate tickets
Asked by Samrudhi Shete:

How to create this automation

If resolution of issue is changed to "duplicate"

1) Add a comment with the original epic link

2) detach issue from its parent epic


Answers:
author: Bill Sheboy
body: Hi [@Samrudhi Shete](/t5/user/viewprofilepage/user-id/5572382) -- Welcome to the Atlassian Community!

How do you identify an issue is a duplicate of another issue?

An automation rule could only do what you ask if you can identify the issue, such as with information in a field, and then use JQL to access the issue for linking.

Kind regards,  
Bill

comments: author: Samrudhi Shete
body: If the issue is closed by saying its duplicate then can we add a action comment which will be epic link of its parent and then detect it from parent epic


author: Bill Sheboy
body: I do not understand what you are describing...

* What are the **manual steps** you are performing, and
* what do you want to **have happen automatically** in the rule?


Tags: cloud

jira-cloud
The approval request is not visible in the Service Desk
Asked by ????? ?????:

Hi!

I'm the approver in the issue.

The confirmation button is available to me.

![?????? ?????? 2024-08-20 ? 15.36.46.png](/t5/image/serverpage/image-id/342719iAF13BF057E9F21A4/image-size/large?v=v2&px=999 "?????? ?????? 2024-08-20 ? 15.36.46.png")

**But I don't see the request in the jira service desk's approvals.**

![?????? ?????? 2024-08-20 ? 15.36.56.png](/t5/image/serverpage/image-id/342720iD888F83FE0D7FD44/image-size/large?v=v2&px=999 "?????? ?????? 2024-08-20 ? 15.36.56.png")


Answers:
author: Mikael Sandberg
body: In order for a request to be available on the portal the Request type field has to have a value. Unless your automation is using the new "Create issue with a request type" the automation cannot set the request type as part of creating the request.

comments: author: Abel A
body: [@????? ?????](/t5/user/viewprofilepage/user-id/5535112)   

A related ticket, this might help.   
[Automation-to-create-issue-and-set-Request-type/qaq-p/1905460](https://community.atlassian.com/t5/Jira-Service-Management/Automation-to-create-issue-and-set-Request-type/qaq-p/1905460)


author: ????? ?????
body: This task was generated by automation.

If I create task in the project by "create" button or by the form in help center - it's ok

I see all requests.


Tags: cloud

jira-cloud

jira-service-desk
Authorization Problem
Asked by r_crynen:

when I use Postman the response is ok, but when I use Javascript I get an 404 error

url =

https://....../rest/api/3/issue/TCN-3573


Answers:
author: Ryan Brailey
body: Where did you source the Javascript? If the connection to the API is working via Postman, this would imply there is no problem connecting to the API.


Tags: atlassian-accounts

cloud

jira-cloud

not-applicable
Is it possible to limit a user to have permissions to create sub tasks only. So they can create sub-
Asked by Peter Koutromanos:

*** ** * ** ***

Is it possible for a user to have permissions set so the user can create sub-tasks but not parent tasks?


Answers:
author: Nic Brough -Adaptavist-
body: No, there's no way to do this directly, the permission to create an issue allows you to create an issue of any type in the project.

There is a clumsy trick - if you can create a validator that can check the user against the issue type, then it could fail the "create" transition and tell the user that they're not allowed to create issues of specific types. It's not too nice for the users because they lose anything they've put into the issue already.


author: Peter Koutromanos
body: Thanks for the suggestion. We will give it a go and see how it goes.


Tags: cloud
How to automatically add email addresses from cc field into the requested participants field.
Asked by Chris Roughton:

Hi there,

We have customers who email their support tickets in and the tickets are then created and dealt with by our support team.

If the person sending the email has cc'd people into the ticket, we'd like it to automatically add all the cc'd people into the "requested participants" field. This means that when we then send updates via Jira, all people originally cc'd into the email get updates.


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

What tool or method are you using to create the issues? I am not aware of any way to capture the cc: people. Are they licensed users? If so, you could use a form.

comments: author: Chris Roughton
body: Hi there [@John Funk](/t5/user/viewprofilepage/user-id/7148) , I am using JIRA Service Management - a service project.


author: John Funk
body: So, could you get the customers to fill out a form instead of emailing it?


author: Chris Roughton
body: I was told that the company would prefer to keep the customers emailing their requests in and not filling out a form


author: John Funk
body: Then I don't know of a way to automate the capturing of the CC: folks other than someone manually reviewing all new issues created and adding them manually.


Tags: cloud
Recent Ticket Not Visible showing in jira board
Asked by Deepti Pandey:

Hi Team,

Recent ticket is not showing in jira board in jira work management project.


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

Can you give some more details about the issue? How did you create it? What issue type is it? Do you have multiple workflows on your Jira Work Management board? Can you share a screenshot of your board?


author: Fabio Racobaldo _Herzum_
body: Hi [@Deepti Pandey](/t5/user/viewprofilepage/user-id/4881367) ,

welcome to the Atlassian community!

Unfortunately, on a work management project board you can't add a quick filter

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

The available filters are available as specified here <https://support.atlassian.com/jira-work-management/docs/find-the-information-you-need-with-filters/>

Hope this helps,

Fabio


author: Rilwan Ahmed
body: Hi [@Deepti Pandey](/t5/user/viewprofilepage/user-id/4881367) ,

Welcome to the community !!

1. Please check if there is any filters added to the board. If yes, remove them and check  

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/210204i1CFAC5157803B493/image-dimensions/323x102?v=v2 "image.png")

<br />

2. Reconfirm you have created the ticket in the required project itself. You can run JQL and find out  
***createdDate \>= '2022-08-09'***


Tags: cloud