youngmon/atlassian-qna huggingface dataset:
Report on the changes date in JIRA
Asked by Sahil:

Hi,

My JIRA tickets currently do not have Resolved Date field, but have created ,due \& updated dates. So i am trying to filter when a JIRA was created \& when the status of workflow was changed to DONE.   
When i look at a ticket, the changes say changed to DONE \& I want to use this date to get in exported excel, how can i use it in a filter or query please? Thanks

----sample ticket-----------  
made changes - 05/Feb/24 7:16 PM  

|--------|-------------------------------------|---------------------------|
| Status | **Original:** Verifying \[ 10036 \] | **New:** DONE \[ 10067 \] |


Answers:
author: Yuliia_Borivets__SaaSJet_
body: [@Sahil](/t5/user/viewprofilepage/user-id/5530631)

With JQL, you can get all issues using *status changed to Done.*

Jira tickets have that info in the history section, but there is no built-in option to export issue history. So, check out these workarounds:

**Solution 1.** You can try to extract status history with REST API. Here is an extract from a thread I linked below:

```
jira = JIRA(options, basic_auth=(USERNAME, PASSWORD))issue = jira.issue('FOO-100', expand='changelog')changelog = issue.changelogfor history in changelog.histories:    for item in history.items:        if item.field == 'status':            print 'Date:' + history.created + ' From:' + item.fromString + ' To:' + item.toString
```

Gives me:

```
Date:2012-10-23T09:49:41.197+0100 From:Open To:QueuedDate:2012-10-23T09:49:43.838+0100 From:Queued To:In ProgressDate:2012-10-23T09:49:45.390+0100 From:In Progress To:BlockedDate:2012-10-29T16:06:36.733+0000 From:Blocked To:In ProgressDate:2012-10-31T16:47:40.191+0000 From:In Progress To:Peer ReviewDate:2012-10-31T16:47:41.783+0000 From:Peer Review To:Customer Approval
```

Read more here:

<https://community.atlassian.com/t5/Jira-questions/Is-it-possible-to-get-the-issue-history-using-the-REST-API/qaq-p/510094>

**Solution 2.** Search for apps on the marketplace. For example, my team developed [Issue History for Jira](https://marketplace.atlassian.com/apps/1220385/issue-history?hosting=cloud&tab=overview&utm_source=Atlassian_Community&utm_medium=referral&utm_campaign=Comment_Report-on-the-changes-date-in-JIRA_20240627), which allows you to export history for a single or multiple issues.

An example:

![status transitions to done.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/332270i74D95CD2A4FA19C6/image-size/large?v=v2&px=999 "status transitions to done.jpg")![export status history.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/332272i468AD8E33346B624/image-size/large?v=v2&px=999 "export status history.jpg")


author: Fabio Racobaldo _Herzum_
body: Hi [@Sahil](/t5/user/viewprofilepage/user-id/5530631) and welcome,

JIRA has Resolution date that will be populated when resolution field is set. My suggestion is to add resolution field in all transition screen that move your ticket in done or add a post function that populates automatically that field.

Hope this helps,

Fabio


Tags: cloud

jira-cloud
One of the sprints not visible in the dropdown
Asked by anna.kovacsova:

Hello, we have several future (non-active) sprints visible in the backlog. And one of them is not appearing in the dropdown in the ticket, the rest of them are there normally. I cannot find any reason, even any setting, that could influence it. Does anyone have any idea what could be the reason?  

![Sni?mek obrazovky 2024-06-27 v?12.41.02.png](/t5/image/serverpage/image-id/332093i7E33F467B5042FD1/image-size/large?v=v2&px=999 "Sni?mek obrazovky 2024-06-27 v?12.41.02.png")![Sni?mek obrazovky 2024-06-27 v?12.40.52.png](/t5/image/serverpage/image-id/332094iB6368AE79885B278/image-size/large?v=v2&px=999 "Sni?mek obrazovky 2024-06-27 v?12.40.52.png")![Sni?mek obrazovky 2024-06-27 v?12.40.06.png](/t5/image/serverpage/image-id/332095i5305E526409F5EE0/image-size/large?v=v2&px=999 "Sni?mek obrazovky 2024-06-27 v?12.40.06.png")


Answers:
author: anna.kovacsova
body: I used a workaround, I created a new sprint, named it with the same name, moved it to the first position, and then I deleted the previous one. It looks like it works.


Tags: cloud

jira-cloud
Jira, Confluence, Bitbucket pages not completely loading
Asked by Richard Gledhill:

Hello everyone,

We've increasingly seen over the last few months that Atlassian website pages (which means, for us, Confluence, Jira and Bitbucket) sometimes don't fully load. For instance we'll get a Jira page with the frames round the outside, but the central content never loads (just placeholders). Similarly, we're seeing Bitbucket pull request pages often saying "Error loading content - try again" (or similar). It's all cloud-hosted by Atlassian.

Is anyone else experiencing this?

Thanks, Richard


Answers:
author: Tansu Akdeniz
body: Hi [@Richard Gledhill](/t5/user/viewprofilepage/user-id/5530452)

Welcome to the community.

Since it is Cloud version, it would be better to contact Atlassian support via <http://support.atlassian.com>.

comments: author: Richard Gledhill
body: That's not possible as we have an outsourced IT company managing it so I can't raise the ticket.

This is the whole point of community support...


Tags: bitbucket

cloud

confluence

jira-cloud
Unable to tag people on comments on Jira Product Discovery Idea
Asked by Clement:

One of the users has access to a Jira Product Discovery Project with Roles ( Administrator, Creator and Contributor ). Technically she is the administrator of this JPD project.  
She does not have access to any other Atlassian Product.  

The problem - In the comments section of an Idea, she is not able to Tag a user who could be someone like her who just has Jira Product Discovery Access or someone who has access to both Jira \& Jira Product Discovery access. Technically she is not able to browse users I guess.  

Since JPD is a Team-managed Project, I don't think it has anything to do with permissions schemes etc.


Answers:
author: Clement
body: I think I solved the issue...just an FYI , if anyone comes across this issue.  

I navigated to SYSTEM\>Global permissions\> and Jira Permissions - **Browse users and groups**   
There I found that to View and select users or groups from the user picker, only the "jira-product-discovery-contributors" group was added and though this user has the roles Administrator, Creator and Contributor, she was only part of the "jira-product-discovery-users" \& "jira-product-discovery-user-access-admins" group.  

So I manually added her to "jira-product-discovery-contributors" group and it worked.  

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

<br />

<br />

<br />

<br />


Tags: cloud

jira-cloud

jira-product-discovery
Adaptavist Scriptrunner for JIRA 8.28.0 UI Fragments Bug
Asked by e-Dongyang_Liu:

Log. warn cannot be used for log output in the Provider class/script of the Show a web panel module in Fragments

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


Answers:
author: Florian Bonniec
body: Hi [@e-Dongyang_Liu](/t5/user/viewprofilepage/user-id/5525657)

Have you defined the logger and log level in your script ?

[Advanced Logging (adaptavist.com)](https://docs.adaptavist.com/sr4js/latest/best-practices/logging/advanced-logging)

Regards

comments: author: Radek Dost?l
body: And what on that page explains the lack of "log" binding variable?

If anything, it specifically says:  

> The log variable is injected into every ScriptRunner inline script

At best, the "log" would be a different instance of a Logger, but it would still exist as a variable.

So I would say this sounds like a bug when strictly correlated with what the documentation states.

(Then again 'log' isn't listed as a binding variable on the Help popup, but depends whether that is hardcoded or loads whatever is in the bindings/map anyway. I don't see much of "use" out of a logger in there but still, strictly compared to the documentation it seems like a bug that Adaptavist should have a comment on.)


author: e-Dongyang_Liu
body: I added the log variable, but it still cannot be printed. Please confirm if it is a bug?![???.png](https://community.atlassian.com/t5/image/serverpage/image-id/332309i7857509F6FC29ABE/image-size/large?v=v2&px=999 "???.png")![??.png](https://community.atlassian.com/t5/image/serverpage/image-id/332310i21DC6C890E48BD38/image-size/large?v=v2&px=999 "??.png")


Tags: jira-data-center
About setting up request management in software project
Asked by Anamika:

Hi,  

I understand forms on software project is a much requested feature. I came across this article recently and wanted to understand how I can enable this within my organisation. It says, its only rolled out for certain users. I wanted to know what the update here is and how long does it take for the admin to enable this?

<https://support.atlassian.com/jira-software-cloud/docs/setting-up-request-management-for-your-software-project/>  

Use case: I manage change requests from business teams and I work closely with the tech team. So, I need backlog feature to prioritise the requests, I need sprint functionality as well. But what I also need is business teams to be able to submit their requests through forms/ requests and for it to automatically get created as a story in my backlog.


Answers:
author: Anamika
body: Hi Walter, Thank you :)  

I think my post was confusing.   

I'm looking for implementing the 'request feature' within a software project and not service project. The link I posted refers to that.  

I was curious to know if anyone has ever implemented it and wanted to understand how they did it.


author: Walter Buggenhout
body: Hi [@Anamika](/t5/user/viewprofilepage/user-id/5530588) and welcome to the Community!

The post you refer to looks to me like an experiment to get you started with Jira Service Management without the need for any knowledge on how to set it up. You don't need that to get this up and running.

You can get to the same point by setting up Jira Service Management and creating a service project there, with a portal to capture requests from your customers. In common scenarios, you would have a support team addressing the requests they can handle, while they pass on change/feature requests and bugs to your team - this is usually automated (a bug issue is created in your Jira project with a link to the the support ticket that remains in the service desk as a communication gate to your requesting business user).

Hope this helps!


Tags: cloud

jira-cloud
How to Create an Comment Alert in JIRA Automation Based on Status Summary field Updates?
Asked by Jiri Masa:

Hello everyone,

I need some help with setting up an automation rule in JIRA. Here's what I'm trying to achieve:

**Goal:**

* I want to create an alert by adding a comment to an issue if the "Status Summary" field has not been updated for more than a week.
* Alternatively, the alert should be triggered if there hasn't been a comment containing the text "status summary" added to the issue in the last week.

**Context:**

* Currently, we update the "Status Summary" field by adding a comment starting with "status summary."
* We need project managers to update this status summary every week, and this automation would greatly help us ensure compliance.

I'm not particular about whether the alert is based on the field not being updated or the comment not being added, as long as the reminder is triggered if either condition is met.

Could anyone guide me on how to set this up in JIRA Automation?

Thank you!


Answers:
author: Stephen_Lugton
body: Hi [@Jiri Masa](/t5/user/viewprofilepage/user-id/5201819) ,

My initial thought is to add a new custom date field 'Status Summary Updated'.

Next create automation to detect when 'Status Summary' changes which sets now() to the 'Status Summary Updated' field.

![Rule to add Status SUmmary updated.png](https://community.atlassian.com/t5/image/serverpage/image-id/332136i88C1F66E88B87340/image-size/large?v=v2&px=999 "Rule to add Status SUmmary updated.png")

You can also do the same for adding a comment containing 'Status Summary':

![Rule triggered on Status Summary comment.png](https://community.atlassian.com/t5/image/serverpage/image-id/332140i44F9C61AC8DD92C8/image-size/large?v=v2&px=999 "Rule triggered on Status Summary comment.png")

You can then create a scheduled automation rule that runs once a week and compares 'Status Summary Updated' to 7 days ago which then creates your comment on the issue.

![Rule scheduled to add comment.png](https://community.atlassian.com/t5/image/serverpage/image-id/332142iCBC910FF4F6BA0BA/image-size/large?v=v2&px=999 "Rule scheduled to add comment.png")

comments: author: Stephen_Lugton
body: Alternatively use Atlas and create a project corresponding to each epic and every Friday the owner of the project will get a reminder to give an update that will be sent round to anyone following the project on a Monday morning.


author: Jiri Masa
body: Thanks a lot, Stephen!  

The problem is, I am not able to create custom field, most likely we will end up with weekly reminders :)

Or start updating already existing filed with count of days since last added comment by manager containing "status summary" and once it hits "7" add comment reminder


author: Stephen_Lugton
body: Your idea of using an already existing field would work


Tags: automation

jira-unknown-hosting-type

unknown-hosting-type
Only allow edit timelogs if the timelog date is in the current month
Asked by rob_jeal:

I am looking for a way to allow editing of own timelogs, but only if the timelog is within the current calendar month. I.e. don't want people editing timelogs from last month.

Is anybody aware of a way I may be able to achieve this?

I have started an automation but just not sure if this is right or if so, what to put in the "Then":

- When Work Logged "Updated"

- If worklogdate \< Startofmonth()

- Then ....

Feel like the "Then" should then remove/reverse that logged time or change the logged value to 0 for example

Thanks!


Answers:
author: rob_jeal
body: Just as an FYI in case it's helpful for others.. We opted against pursuing this due to possible issues with our integration but instead added a simple automation that notifies the project lead if a user has edited a worklog with a date earlier than this current month so it can be manually resolved.

![Screenshot_28-6-2024_104811_hyphen8jira.atlassian.net.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/332338i18CDB6CD9DE26186/image-size/large?v=v2&px=999 "Screenshot_28-6-2024_104811_hyphen8jira.atlassian.net.jpeg")


Tags: cloud

jira-cloud
I would like to Show Future sprints on a dashboard without marketplace tools
Asked by Jon Beever:

Hi all,

Im trying to find the best way to show future sprints via a dashboard,

I can pull in the issues from a sprint, but im more after a broader view of info like:

* Scheduled dates of upcoming sprints
* a list of all the sprints
* how many issues relate to that sprint

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

in my head i have a "filter results" gadget that shows stakeholders that there are 10 sprints in total and those sprints start and end by x date, how many issues are linked to the sprint

I can get the issues, but not the sprint overview.

Unfortunately my company does not allow items from the market place so i have to stick with the base product offerings.   

thanks in advance,

Jon


Answers:
author: Melissa
body: [@Jon Beever](/t5/user/viewprofilepage/user-id/5530574)

I use this, to show all of the Jiras in my current sprint (open) and anything that is scheduled in a sprint(future). I don't think it's your answer but perhaps it can lead to your answer

project = XYZ AND Sprint in openSprints() OR Sprint in futureSprints()

I was looking to do this for Automation- I want to be email my users a list of Tasks that have been scheduled in future sprints


author: YY Brother
body: Hi [@Jon Beever](/t5/user/viewprofilepage/user-id/5530574)

Welcome to our Community.

I don't thinks it's feasible to meet your requirement in a report with jira's out-of-box functionality.

Thanks,

YY?


author: Stephen_Lugton
body: [@Jon Beever](/t5/user/viewprofilepage/user-id/5530574) all that information is available in the backlog:

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


Tags: agile

dashboard

data-center

future-sprint

jira-data-center

sprint
Possible to add multiple sub-task types in Jira Server?
Asked by James Woszczynski:

I'm currently using a server-hosted version of Jira (v8.22.2) and I'm wondering if it's possible to add multiple sub-task types.

I don't have admin access, and the admins have been pretty cagey when I've asked about this, so any support from the community would be much appreciated.

For context, my team's sprint board uses stories as swim lanes, which helps us break down tasks and user stories into sub-tasks for better collaboration. However, when sprint bugs related to specific tasks or user stories are reported, they appear at the same level as tasks and user stories, dropping to the bottom of the sprint board. While linking issues is possible, it's not visually intuitive on the sprint board.

Ideally, I'd like to create an additional sub-task issue type (like 'Sub-bug') to track bugs more easily during sprints and include them in our existing reports by adding another issue type to the filters.

Can someone confirm if this is possible in Jira Server v8.22.2?

Alternatively, I may explore [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)'s suggestion about adding an additional field to sub-tasks from [this question](https://community.atlassian.com/t5/Jira-questions/Can-I-create-multiple-subtask-issue-types/qaq-p/2302376#:~:text=Community%20Leaders%20are%20connectors%2C%20ambassadors,%2C%20product%20experts%2C%20and%20moderators.&text=You%20can%20certainly%20create%20different%20sub%2Dtask%20Issuetypes%20with%20different%20names.).

Thank you!


Answers:
author: Jack Brickey
body: Hi [@James Woszczynski](/t5/user/viewprofilepage/user-id/5530559) , additional sub-task issuetypes can be created but will require admin privileges.

comments: author: James Woszczynski
body: Thank you!


Tags: cloud

jira-cloud
Recalling a historical End date
Asked by Karl Samson:

Hi Guys,

How do I recall a historical date eg. the End Date is changed, and then displaying that original date using a Smart value in a 'Send Email' Automation?

Eg. (Original) End Date - {{issue.customfield_13302}}

(Changed) End Date - {{issue.customfield_13303}}.


Answers:
author: Tuncay Senturk
body: Hi [@Karl Samson](/t5/user/viewprofilepage/user-id/3611064)

You can accomplish this in different ways. One method is to write a script that checks the change history items for the field and retrieves the original value from the issue history. It's straightforward to obtain the old value of any field using a Groovy script.

However, if you prefer not to write code, you can achieve this using Automation. I'm not sure how many fields you want to track the original value for, but I wouldn't recommend doing it for every custom field. I assume you only want this for a field or two. Here is the solution for this.

* Create a custom field to store the original date (for End Date field which is customfield_13302): **Original End Date**(say it is customfield_13303)

* Set up an Automation Rule to capture the original date
  * when the **End Date** field is updated.
  * Use the Edit Issue action to set the **Original End Date** field to the current value of the `End Date`.
* Use in Send email Automation
  * (Original) End Date - {{issue.customfield_13302}}   
    (Changed) End Date - {{issue.customfield_13303}}

I hope it helps

Tuncay

comments: author: Karl Samson
body: Hi Tuncay, thanks for your response! Yes, we had considered creating a hidden Custom field called 'Original End Date', that would populate once the first 'End Date' entry was made. Then calling on that in an Automation, once the 'End Date' field was updated.

But we would be interested in scripting it too.

Can you suggest the code for doing this please?

Best regards,

Karl.


author: Tuncay Senturk
body: Of course,

Below I am sharing a code snippet for you to start with but please bear in mind this is just a sample code I wrote here, I haven't tested it. fieldName is the fieldId that you want to track.

```
import com.atlassian.jira.issue.changehistory.ChangeHistoryManager;
import com.atlassian.jira.issue.history.ChangeItemBean;
```

```

def changeHistoryManager = ComponentAccessor.getChangeHistoryManager()

List<ChangeItemBean> changeItemListForField = changeHistoryManager.getChangeItemsForField(issue, fieldName)

for(ChangeItemBean changeItem: changeItemListForField){
```

```
        String newValue = changeItem.getTo();
?       String oldValue = changeItem.getFrom(); 
    }
}
```


author: Karl Samson
body: Hey thanks Tuncay! We'll amend and give it a go!

Best regards,

Karl. :)


Tags: data-center

jira-data-center

jira-server

server
Sprint to show subtasks
Asked by Simon Jackson:

We are trying to build a filter to show only the active subtasks in a sprint.

For example, a parent ticket has 3 subtasks

Task completed in previous Sprint so that leaves 2 tasks for the newsprint

How over using something like the below to filter the data we still see the closed tasks

project IN (ANA, NTO, INFDEV, PTR, SCL, SGI, TDT)

AND issuetype IN (Dev, Review, Test, Sub-task)

AND sprint = 242

ORDER BY created DESC

any thoughts pelase


Answers:
author: Stephen_Lugton
body: [@Simon Jackson](/t5/user/viewprofilepage/user-id/4695485) try adding  

AND statuscategory != Done


Tags: cloud

jira-cloud
Connecting Azure Users to Jira Service Management as customers
Asked by Alexandros Baltsavias:

Hello,

I am interested in connecting my Azure database of users to Jira to facilitate the transfer of user data.

Additionally, if this connection is possible, would it allow my customers on the JSM Help Centre to sign up/in using their Microsoft Entra ID credentials?

Would I need an Atlassian guard license for all the customer portal users or just the agents?

Thanks a lot!


Answers:
author: Lisa Forstberg
body: Hi [@Alexandros Baltsavias](/t5/user/viewprofilepage/user-id/5451956)

If you want to sync users you from Azure AD to Jira Cloud you need Atlassian Guard.

For your portal only users the Guard license will be free, its only those users that have active product license ( Jira SM agent, jira license etc) that will cost you a guard license.

more details here: <https://www.atlassian.com/software/access/pricing> (scroll down to see Q\&A about Atlassian Guard)

best of luck

/L


Tags: cloud

jira-service-management

jira-service-management-cloud
??? ?? ??? ???? ?? ??? ???? ????? ???? ???? 839-1973-713 ???3 days ago
Asked by Dinesh Kumar:

1. ??? ?? ??? ???? ?? ??? ???? ????? ???? ???? 0839)1973-713 ???3 days ago...

   *** ** * ** ***


Answers:
author: Dinesh Kumar
body: Navi Customer Care Number 839_197_3713. 24/7... help$$$


author: Dinesh Kumar
body: Navi Customer Care Number 839_197_3713. 24/7... helphdgkkg

comments: author: Dinesh Kumar
body: Navi Customer Care Number 839_197_3713. 24/7... help...


Tags: cloud

jira-cloud

jira-cloud-app-for-android