youngmon/atlassian-qna huggingface dataset:
filter with dates
Asked by ????? ?????????:

I need to have number of defects that were open/in progress now() - 1day i.e. 1 day exactly before than now


Answers:
author: John Funk
body: Hi [@????? ?????????](/t5/user/viewprofilepage/user-id/5481979)

Try this: project = ABC andstatus was in (Open, "In Progress") on startOfDay(-1d)

comments: author: ????? ?????????
body: but if now() is the real now (date and time) -\> startofDay (-1d) will show defects open/in progress at 00:00 yesterday and not now time-24h exactly... correct ?


author: John Funk
body: Probably, So you might try this then.

status was in (Open, "In Progress") on -1d

you would have to look at the timings if you have one in mind. This might show everything the previous day and not just the exact 24 hours. you might also try -24h


author: ????? ?????????
body: perfect! - it worked!

Just another similar question - and how can i get number of defect open/in progress "today at 8 in the morning" and then also "yesterday at 8 in the morning"?


Tags: cloud

jira-cloud
Can we import data from licensed version which is Jira v8.18.1 and export to Trial version of Jira?
Asked by Parashar Pradhan:

Can we import data from licensed version which is Jira v8.18.1 to Trial version of Jira?

Also I need to know following :

1.Can we import single project or do we need to import all the projects?

2.Will the import data work on different versions of Jira. Supposed I import data from x.x.x and export to y.y.y version?

3.Is there any workaround to import data between different versions.


Answers:
author: Pavel Junek
body: Hi Parash,

Welcome to Atlassian community!

You will need to use CSV export from Old Jira and import data to New Jira.

You can check - [Migrating Jira projects](https://confluence.atlassian.com/adminjiraserver0815/migrating-jira-projects-1167833106.html) or [Restoring a project from backup](https://confluence.atlassian.com/adminjiraserver/restoring-a-project-from-backup-938847691.html)

Pavel


Tags: data-center

jira-data-center
need to run a custom script to create a JSON on creation of JIRA. not able to find relevant option
Asked by Swati.Dhingra:

JIRA Automate : need to set up a jira automation rule where the trigger is on issue creation and we need to run a custom script in action : i cant see to find the relevant option in action


Answers:
author: Trudy Claspill
body: Hello [@Swati.Dhingra](/t5/user/viewprofilepage/user-id/5520102)

Welcome to the Atlassian community.

Where does the script reside? Is it on another system? If so, can you create a web request to allow it to be called from Jira? Then you could use the Send Web Request action in Automation Rules.

comments: author: Swati.Dhingra
body: Cant find the send web request action in automation


author: Trudy Claspill
body: You set the tags on your post to indicate you are using Jira Cloud Premium. The action is available there.

What do you see when you search "web" in the Action dialog? Can you provide a screen image of what you see?

![Screenshot 2024-06-16 at 10.48.02?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/330093iD5E8EBFFCC4FD553/image-size/large?v=v2&px=999 "Screenshot 2024-06-16 at 10.48.02?PM.png")


Tags: cloud

jira-cloud
SCRUM (multiple projects) board not showing subtasks, but Kanban board (with different filter) does.
Asked by Ytsen Boer, de:

Hi,

I have a SRUM board that is not showing subtasks in a sprint columns, but a Kanban board that does. I don't understand why this is, I really would like to have the subtasks on the board.

The Kanban board is based on this filter:

```
assignee = currentUser() and issuetype != Epic and status != Done order by Rank
```

And it shows a subtask below a story like so:

![jira-kanban-shows-subtask.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/329675iF9EA4B4FEA9F5676/image-size/large?v=v2&px=999 "jira-kanban-shows-subtask.PNG")

However, I have a SCRUM board based on this filter:

```
labels = DataScience AND project IN (PROG, STP, UPPW) ORDER BY Rank
```

Where the *same* *ticket* does not show its subtask in the sprint column:

![jira-scrum-does-not-show-subtask.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/329674i459DB10C5C16B4A5/image-size/large?v=v2&px=999 "jira-scrum-does-not-show-subtask.PNG")

I really hope someone can help me out showing the subtask in the SCRUM board ...


Answers:
author: Vronik
body: Hi

Look at this

<https://community.atlassian.com/t5/Jira-questions/Can-t-see-subtasks-in-active-sprint-board/qaq-p/2218355>

<https://community.atlassian.com/t5/Agile-questions/Sub-tasks-not-showing-up-in-the-SCRUM-board/qaq-p/1606931>

If my answer helped you,   
please mark it as accepted so that other people looking for similar problems can find it more easily.

comments: author: Ytsen Boer, de
body: Not at all helping, sorry.

Perhaps you could copy-paste the part of those discussions that should help me, because I can't find them.


Tags: cloud

jira-cloud
Problems with Microsoft Edge
Asked by Elaine Cawthorne:

We have had a couple of issues this week when onboarding new users. They cannot access Jira using Edge but they can using other browsers. The problem does not present for existing users using Edge


Answers:
author: Dan Breyen
body: Hi Elaine, have you tried removing cookies and clearing Browser Cache on those machines? Can they access Jira using Edge on another PC?

Can one of your existing users login on one of the new users machines? That might help to narrow down the issue. Is everyone using the latest Edge, and does everyone have all the same Windows Updates installed? That's just some troubleshooting to try.

Hope that helps.


Tags: cloud

jira-cloud
Adding inactive users as new customers to jira service desk by automation
Asked by Kuba Nowakowski:

Hi!

We are using Jira Service Desk internally to create tickets for new clients' setups. We would like to create an automation for certain type of request that based on a field containing an email, a new customer would be added to the project with access to the specific ticket. I menaged to create such an automation, but Jira does not add an inactive user to the issue as a participant thus blocking new users from accessing their tickets. How can I solve this?

Below is the rule I created

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


Answers:
author: Jack Brickey
body: Hi [@Kuba Nowakowski](/t5/user/viewprofilepage/user-id/5504336) , I have not attempted this before. What does your log show? It would be interesting to see if you could, rather than add the new user as a participant, add a label. Then create a new rule that triggers on that new label and attempt to add the participant in this secondary rule. Also can I assume that you were able to manually add this new user to the issue after the rule runs where the new users added?

comments: author: Kuba Nowakowski
body: Once a user has got a customer account, adding them to issues works, the problem is when these users are not yet in the system.

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


author: Jack Brickey
body: Again, if you immediately attempt to add the user manually after the rule runs, is it successful? I am, just trying to establish if we are dealing with a race condition within the rule. What do you mean by "in the system"? Does that mean that, after your rule runs to add the person they are "in the system"?


author: Kuba Nowakowski
body: Hey Jack!  

Sorry for dropping dead but I am back at this issue now and I managed to do some more test.  

I found that even by adding customers manually to the project, registering as them in a separate browser and adding them manually to the ticket either as participants or reporters I am still not able to access the ticket as "them". I checked project's permissions and the global Jira permissions and I do not see an option that would prevent customers from accessing their tickets. Can you please help?   

I have not tried that labeling you suggested, I guess suing it now would not be helpful either since the issue must be somewhere else as I understand it.


Tags: cloud

jira-cloud
How can we reuse/copy a scrum project and use it as a template across multiple teams?
Asked by Essa Mahapatra:

Hello,

I have developed a scrum based project for a broader team and wants to use it as a template for multiple projects across the teams. Is there a way to do that without having to re-do everything from scratch?

Regards,

Essa


Answers:
author: Luka Hummel - codefortynine
body: Hi [@Essa Mahapatra](/t5/user/viewprofilepage/user-id/5514690) and welcome to the community!

If you are willing to use a third-party app, you could try our [Deep Clone for Jira](https://marketplace.atlassian.com/apps/1218652?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2725976).

With Deep Clone you can clone whole projects including their configuration and issues. You can read more on how to use Deep Clone with template projects [here](https://documentation.codefortynine.com/deep-clone-for-jira/article-a-story-about-working-with-template-issues?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2725976).

comments: author: Essa Mahapatra
body: Thanks for sharing this Luka. I will explore and discuss the option too with my team and get back.


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

Yes, you can do that if you create the project as a Company-managed project and not a Team-managed project. Then when you create future projects, you can create them base on the existing project - which is your "template".

comments: author: Essa Mahapatra
body: Thank you so much John. I tried doing that but it doesnt allow me to create company managed projects, I have got in touch with our IT team and trying to see if its something doable.

Once the company managed project is created the project be used as a template by everyone in the team or do we still need admin rights for it? Also does the configurations and issues get added to the template too?


Tags: cloud

jira-cloud
How to check summary change information through query?
Asked by Naga Venkata Durga Sai Koppineni:

I want to access summary change information through query in JIRA.


Answers:
author: Trudy Claspill
body: Hello [@Naga Venkata Durga Sai Koppineni](/t5/user/viewprofilepage/user-id/5520047)

Welcome to the Atlassian community.

There is no native Jira query options to select issues based on some change to the Summary of the issues.

Can you provide more information about what you are trying to do? What change information are you trying to get at, exactly? Perhaps we can suggest some alternate solution.


Tags: jira-unknown-hosting-type

unknown-hosting-type
can add comments to newly created issue in automation
Asked by Guy Yehezkel:

I'm trying to either copy the comments of the trigger issue in automation to the problem I created or add a comment after it was created in the same automation.  
I tried to add a branch rule for the most recently created issue in the same if statement, or at the end of the automation (from reading about it it seems like a scope / parallel execution issue), but both didn't work.  
would appreciate your advice on the matter.  
you can see the automation here (in the example you see linked issues as I tried that as well). ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/329662iBB19238A1FCA7EB3/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/329663i4770555ABEC1099D/image-size/large?v=v2&px=999 "image.png")


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

Create your Branch under the Issue Create action - you have it too far out and related to the trigger. Make the Branch Most Recently Created Issue like you had it. Then put the Add comment under there.

comments: author: Guy Yehezkel
body: Hi John, thank you for your reply!  
I have already done that as you can see below, but unfortunately, the result is the same.

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


author: John Funk
body: And what is the result? Can you share the Audit Log? Does it run and just does provide a comment? Are you adding a new Comment from scratch? Or copying from the trigger issue? And if copying, which comment?


author: Duc Thang TRAN
body: Hello [@Guy Yehezkel](/t5/user/viewprofilepage/user-id/5520063)

You need to ensure that your automation is set for the global project or multiple projects if your new ticket is on the other project.

and try with this one

<br />

{{#triggerIssue.comments}} Comment by: {{author.displayName}} at: {{created}} {{body}} {{/}}


author: Guy Yehezkel
body: thanks, I changed the scope of the automation to global and added the smart values text as you provided above and it works like a charm, thank you!


Tags: automation

cloud

jira-cloud
Issue during user creation
Asked by Chaitanya M:

**Cannot create user with same username as a deleted user.**

When we try to create the users with the same name that is already deleted from the UI months back. We are getting below error message.

**{"errorMessages": \[ "A user with that username already exists."\], "errors": {}}**

1. Is this an expected behavior?
2. If this is an expected behavior could please elaborate about this.


Answers:
author: Trudy Claspill
body: Hello [@Chaitanya M](/t5/user/viewprofilepage/user-id/5229206)

Welcome to the Atlassian community.

How was the account originally created?

How exactly did you delete the account?

What process are you going through now to try to create the account?

It is possible that since you deleted the account somebody else has created an account with the same username.

comments: author: Chaitanya M
body: Hi [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011),

I used Jira rest Api's to perform all the operation which are mentioned below:

I'm creating and deleting the user using the Jira rest api call.

**++Creating the user++** : <https://your-domain.atlassian.net/rest/api/2/user>

++**Deleting the use**r++ : <https://your-domain.atlassian.net/rest/api/2/user?accountId=>

I am using above Create API call to create the account. No one is using this account expect me.

If I try to create the user with the same name, that I have already deleted it is showing the response mentioned in the query.


author: Trudy Claspill
body: Hello [@Chaitanya M](/t5/user/viewprofilepage/user-id/5229206)

It appears that you are using this API endpoint.

<https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-delete>

Notice the description for the function:
> Deletes a user. If the operation completes successfully then the user is removed from Jira's user base. **This operation does not delete the user's Atlassian account.**

When you use this API to delete a user you are only removing them from the Jira instance. You have not removed their account entirely from Atlassian Cloud.

Since an Atlassian Cloud account with the same email address continues to exist, you can't use the Create User endpoint to create it again.


Tags: cloud

jira-cloud
How to Disabling the inactive users with no activity for past 90 days In Jira Cloud
Asked by G Ashok:

Are there any alternatives to Scriptrunner addon to automatically disable users that have been inactive for longer as 180 days In Jira Cloud?

Regards   

Ashok


Answers:
author: Ed Letifov _TechTime - New Zealand_
body: Hello, [@G Ashok](/t5/user/viewprofilepage/user-id/4839464)

Our app [User Management for Jira Cloud](https://marketplace.atlassian.com/apps/1215285/user-management-for-jira-automated-user-access-management?hosting=cloud&tab=overview&utm_campaign=usermanagement-cloud&utm_source=community&utm_medium=answer&utm_term=inactive+users+in+Jira) allows you to do this based on last login date.

With the current version you can query managed users via Organisation source and deactivate or export account ids into CSV and remove product access groups via Jira source using CSV filter.

You can get similar information from CSV exports Atlassian provides, limit to users you want to deactivate or un-license in bulk and then use Jira source to do so.

See [Getting Started with User Management for Jira Cloud](https://techtime.co.nz/display/TECHTIME/Getting+Started+with+User+Management+for+Jira+Cloud?utm_campaign=usermanagement-cloud&utm_source=community&utm_medium=answer&utm_term=inactive+users+in+Jira) and our [FAQ](https://techtime.co.nz/display/TECHTIME/User+Management+for+Jira+Cloud+FAQ?utm_campaign=usermanagement-cloud&utm_source=community&utm_medium=answer&utm_term=inactive+users+in+Jira).

If you have any questions please reach out to our [**24x7 support**](https://techtime.co.nz/support?utm_campaign=usermanagement-cloud&utm_source=community&utm_medium=answer&utm_term=inactive+users+in+Jira)


author: Kristian Walker _Adaptavist_
body: Hi G Ashok,

In Jira Cloud, I am not aware of any add-ons to do this.

However, Atlassian provides a U[ser Management Rest API](https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-lifecycle/#api-users-account-id-manage-lifecycle-disable-post) which could be called from a scriptRunner Script to disable a user.

I hope this helps.

Regards,

Kristian


Tags: cloud

jira-cloud
To know pricing details of Premium Plan
Asked by Sreenath S:

I would like to change plan from 'standard' to 'Premium' \[corporate level\] and would like to know the pricing details of the 'Premium Plans'.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Sreenath S](/t5/user/viewprofilepage/user-id/3644402) ,

[here](https://www.atlassian.com/software/jira/pricing?&aceid=&adposition=&adgroup=137008330530&campaign=18455805769&creative=656629743824&device=c&keyword=jira%20software%20cloud%20pricing&matchtype=e&network=g&placement=&ds_kids=p73363677797&ds_e=GOOGLE&ds_eid=700000001558501&ds_e1=GOOGLE&gad_source=1&gclid=Cj0KCQjwsaqzBhDdARIsAK2gqnddV6hwG7Lj-plByLzxkByTLNM91QlyRqAfJYCq9OAZGX6k_fusox0aAjbjEALw_wcB&gclsrc=aw.ds) you can find all information about plans and pricing.

Hope this helps,

Fabio


Tags: cloud

jira-cloud
Issues not being linked as "To do" on EPICs
Asked by aaron.phillips:

We are seeing a multitude of Epic tickets that for whatever reason do not seem to track the overall progress of the Epic when being viewed from the Backlog page.

When selecting a specific Epic, the progress can be seen on the issue page, however when it is displayed in the backlog it is showing 0-0 issues assigned to it.   

Backlog View:   

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

Issue View:

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

Does anyone know of a potential cause for this? The error is not consistent and we have multiple instances where this is working. We had changed our project prefix from X to Y, and these were created prior to that move, but we also have other examples of much earlier Epics (Issue 2 and Issue 3) that are not afflicted.

Unsure if this problem will just resolve itself going forward and only impacts these specific Epics or if it will return later down the line.


Answers:
author: Trudy Claspill
body: Hello [@aaron.phillips](/t5/user/viewprofilepage/user-id/1507037)

Welcome to the Atlassian community.

Are the completed child issues within the scope of the board's filter, where you are seeing no progress in the Epic in the backlog?

comments: author: aaron.phillips
body: Hey [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

Thank you, and yes they are. This view is on the backlog board, and when selecting the epic from the left hand list, the relevant tickets, including the one shown above are present on the right hand side. I cannot see any way these differ from other examples where it is working.


Tags: cloud

jira-cloud
JQL Filter Moved Tickets
Asked by Patrick Decker:

Hi there,

i?m despreately looking for a JQL Query that displays every ticket moved from the original project to any other. Is there anyone out there with an idea or maybe a resolution for my problem?

Regards,

Patrick


Answers:
author: Charlotte Santos -Appfire-
body: **Hi [@Patrick Decker](/t5/user/viewprofilepage/user-id/5288552)**

I'm Charlotte, a support engineer at Appfire and I'm here to help you.

Unfortunately, natively, you'll not be able to do it dynamically.

In the app where my team works, [JQL Search Extensions for Jira](https://marketplace.atlassian.com/apps/1214791/jql-search-extensions-for-jira-reports?hosting=cloud&tab=overview&utm_source=atlassiancommunity&utm_medium=listinglink&utm_campaign=mauricio), you can use this query to get all issues that have been moved from one project to any other:

```
movedProjects in (ABC)
```

Or

```
movedProjects in (ABC, DEF)
```

**Note:** The query will find all issues which were in ABC or DEF at some point. Due to Jira plugin system limitation it is impossible to build a command which supports searching from/to.

Please contact our [support](https://appfire.atlassian.net/servicedesk/customer/portal/11) if you have any other questions about this query.

We'll be happy to help you! ?


author: Pavol Go?al
body: Hello [@Patrick Decker](/t5/user/viewprofilepage/user-id/5288552)

I do not think that it is possible to accomplish this with JQL by default (maybe other community members will correct me and give you a direct solution).

What you can do is:

1. Create custom field (MoveIssue = true/false) and create automation (trigger by "Issue moved") that will set this custom field, when the issue is moved. Then you can use JQL to search for the issues, that have "MoveIssue" custom field set.
2. There's [JQL Search Extension](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/overview?homepageId=604209157) add-on, that has [movedIssue](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209587/JQL+Search+Extensions+Server+Data+Center#JQLSearchExtensions(Server/DataCenter)-movedIssues(projectKey)) extension. Although not sure, if it works also on cloud as the documentation reference server (not supported anymore) and data center.

comments: author: Pavol Go?al
body: Hello,

you can check if resolution is set or a ticket is in specific status:

**resolution is not EMPTY and status in (Done, Resolved)**


Tags: cloud

jira-cloud

jql

jqlquerybuilder