youngmon/atlassian-qna huggingface dataset:
Darshan Hiranandani : Is there a way to display linked issue types sorted by their creation date?
Asked by Darshan Hiranandani:

Hi Team,  
I am Darshan Hiranandani, need to sort linked issue types based on their creation date within each category on the view screen of an issue. Specifically, I want the linked issues in each category to be ordered by their creation date.

Could anyone provide suggestions or guidance on how to implement this sorting functionality? Any insights on configuration or best practices would be greatly appreciated.

Thanks for your assistance!

Best regards,  
**Darshan Hiranandani**


Answers:
author: Jack Brickey
body: Hi [@Darshan Hiranandani](/t5/user/viewprofilepage/user-id/5486324) , this is not possible natively in Jira. You might check the Marketplace for options. Vendors might jump in here to offer solutions.


author: Adolfo Casari
body: [@Darshan Hiranandani](/t5/user/viewprofilepage/user-id/5486324)I've done that, you need to use jquery + a js library called tinysort. You have to call for each issue the REST API to get the creation date and pass it to tinysort.

In Server it was easier (you could spare calling the REST API) but in DC they changed the sequence of the issueid, it's not suitable as key for do the sorting, so I need to call the REST API to get the right key to sort.


author: Hannes Obweger - JXL for Jira
body: Hi [@Darshan Hiranandani](/t5/user/viewprofilepage/user-id/5486324)

I don't believe that this is possible - see e.g. this [feature request](https://jira.atlassian.com/browse/JRACLOUD-16281) for Jira Cloud (there's a similar one for Data Center).

As suggested, if you're open to solutions from the Atlassian Marketplace, you might get pretty close; see e.g. [this thread](https://community.atlassian.com/t5/Jira-questions/Edit-Epic-Child-Issues-view/qaq-p/2253943) for a related discussion.

Best,

Hannes


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Association between list-type fields
Asked by Rodrigo Buch:

Hello I have two list-type fields, one is "Request Type" and the other is "Products". I would like to make a connection so that when the Agent selects the "Request Type", an option is already associated in the "Products" field. The "Request Type" field was created automatically by the Jira Service Management ITSM template and the "Products" field was created by me. Has anyone done this type of configuration?


Answers:
author: Florian Bonniec
body: Hi

You could evaluate Scriptrunner Behaviour for that purpose.

<https://marketplace.atlassian.com/apps/1228522/behaviours-scriptrunner-for-jira-cloud>

Regards


Tags: cloud

jira-service-management

jira-service-management-cloud
How to change email poll interval in Jira Service Management
Asked by Byc0:

We have initialized a new project for customer support. We added our custom email provider as incomming support email, but jira pulls the emails too often and the mail server timeouts periodically.  

Any ideas for solution?


Answers:
author: Felix K?hn
body: We have the same Issue on Jira Service Management Data Center.   
Did you find a resolution on either Jira or the Exchange side?


Tags: cloud

jira-service-management

jira-service-management-cloud
Not receiving email notifications
Asked by Laura Ukkonen:

I have all notifications enabled on Jira's side, but I'm not receiving any emails (e.g. when I get assigned to a ticket). Could you please check if my account is on the suppression list on the Atlassian side?


Answers:
author: Prachi Bolar
body: Hello [@Laura Ukkonen](/t5/user/viewprofilepage/user-id/5567077)

Hello.

Welcome to the Atlassian Community

I understand that you are not receiving emails. I suspect this is due to the email suppression

Adding to the suppression list is a mechanism to avoid spamming recipient mail servers and indicating that an error has occurred, having identified they are not available to receive the email. The recipient may not be available due to various reasons some of which are, but are not limited to - DNS Resolution, Mailbox being full, Network issues, Firewall rules, Mailbox unavailable, Mail Servers facing reach-ability issues, User not setup, mailbox being inactive, etc.

We have a community post that can help you to un-suppress emails. Please find the posts below  
<https://community.atlassian.com/t5/Jira-articles/Unblock-user-invites-to-Jira-with-our-new-unsent-invitations/ba-p/2698025>  
<https://community.atlassian.com/t5/Jira-articles/Unblock-users-in-Jira-with-our-new-unsent-email-audit/ba-p/2724433>

If the you are part of the suppression list , request you to reach out to support here: <https://support.atlassian.com/> so that we can further check the account.

Thank You,

Prachi


author: Peter Van de Voorde
body: Hi [@Laura Ukkonen](/t5/user/viewprofilepage/user-id/5567077) ,  

Welcome to the Atlassian Community.   

This community can't check the Atlassian side, you'll need to [create a support ticket](https://support.atlassian.com/contact/) for this.   

But some simple questions first:

* Have you checked your spam folder?
* Have you talked to your Jira admin to see if there isn't a config problem on the admin side?
* Have you talked to your IT admins (maybe there is a company spam rule that captures these emails?)
* Does any of your inbox filters capture these emails?

All of the above could potentially explain this problem too.  

Cheers,  
Peter

PS: If this answer helped you, please accept it.


Tags: cloud

jira-service-management

jira-service-management-cloud
Default fields for JSM Incident Management
Asked by Myles Boyd:

We are slowly starting to roll out JSM.

However, as part of planning, we need the list of default fields and values.

I did find this link searching the JSM Cloud Support Document page.

<https://support.atlassian.com/jira-service-management-cloud/docs/default-fields-in-an-agents-view-of-an-incident/>

but when I click it, it takes me to back to the Support page.

Does anyone know where I can find said list?

Many thanks in advance


Answers:
author: Rishabh Jhawar
body: **Hi [@Myles Boyd](/t5/user/viewprofilepage/user-id/4266693) ,**

Welcome to the Atlassian Community!

Follow the screenshots below and you will be able to get all default fields.

![temp jira1.png](https://community.atlassian.com/t5/image/serverpage/image-id/341471i1343E96C2C21863B/image-size/large?v=v2&px=999 "temp jira1.png")![temp jira2.png](https://community.atlassian.com/t5/image/serverpage/image-id/341472i4F61EF6E42814957/image-size/large?v=v2&px=999 "temp jira2.png")![temp jira3.png](https://community.atlassian.com/t5/image/serverpage/image-id/341473iCFCA142429A259D7/image-size/large?v=v2&px=999 "temp jira3.png")

I believe this helps.

**Regards,**

**Rishabh**

comments: author: Myles Boyd
body: Thank you


author: Rishabh Jhawar
body: Happy to help ??


author: Anandhi Arumugam
body: HI [@Myles Boyd](/t5/user/viewprofilepage/user-id/4266693) May be this would help

<https://support.atlassian.com/jira-service-management-cloud/docs/default-fields-for-problem-requests/>

<https://support.atlassian.com/jira-service-management-cloud/docs/default-form-fields-for-change-requests/>

<https://support.atlassian.com/jira-service-management-cloud/docs/set-mandatory-fields-to-automatically-prioritize-incidents/>

But as you say, I can't find the Documentation for Incidents. Looks like an issue there.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to assign multiple tickets to an organization?
Asked by Susanne Rall:

Hi,

I'm new to Jira and actually filling our service project with content by forwarding mails into it.

I've found, that it's possible to assign multiple tickets to a person, but I do not find a possibility to assign these tickets to one organization at once.

Is there a possibility or do I have to open each ticket and to choose the organization manually?

Thank you in advance, Susanne


Answers:
author: Michel Neeser
body: Hi [@Susanne Rall](/t5/user/viewprofilepage/user-id/5567032) and welcome!

As far as I know, there is currently no option to assign multiple JSM tickets to an organization with a single click.

However, as JSM tickets are regular Jira issues, you can use issue search and bulk edit to modify the organization of several tickets at once. [This page](https://support.atlassian.com/jira-software-cloud/docs/edit-multiple-issues/#Edit-fields-in-multiple-issues-from-the-issue-navigator) describes it in more detail.

Hope this helps!

comments: author: Susanne Rall
body: Thank you, that's what I was looking for.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to sort the linked issuetypes based on the creation date?
Asked by Pocharam pavan:

I want to sort the linked issuetypes based on the creation date for each category of that issue type in the view screen of the issue.For example, if an issuetype has related to, relates to category links, the linked issues in each category should be sorted based on the created date.


Answers:
author: Hannes Obweger - JXL for Jira
body: See also [this thread](https://community.atlassian.com/t5/Jira-Service-Management/Darshan-Hiranandani-Is-there-a-way-to-display-linked-issue-types/qaq-p/2783210).


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Help with a custom asset object field
Asked by Wayne Yang:

I have custom asset object field if dont have data in this object, can I type data to this custom field?


Answers:
author: Marini Marini
body: Hi [@Wayne Yang](/t5/user/viewprofilepage/user-id/5546697)

Let me know if I understand your question correctly.

So, you have an Asset Object custom field, assuming the the value/options are:

* Option 1
* Option 2
* Option 3

When a user fill up the form, the user is looking for Option 4 which is not on the list. You are asking that if it is possible for user to type Option 4 and raise a ticket. Optionally, the Option 4 will be added the asset object.

I believe the above requirement is not possible at the moment. In Jira form, the 'Other' option is only available for Checkbox, Dropdown, and Multiselect Dropdown only.

-Marini


Tags: cloud

jira-service-management

jira-service-management-cloud
OAuth2 Permissions Issue with JIRA Service Management REST API
Asked by Justin / ???:

**Description:**

We are experiencing an issue with the JIRA Service Management REST API where the OAuth2 permission with granular scopes seems to be insufficient. Specifically, we have checked the permission for `read:incident:jira-service-management`, but we are unable to use the following REST API due to authentication failures:

**Issue Details:**

* After granting the `read:incident:jira-service-management` scope, the REST API is returning an error indicating that authentication is unsuccessful.

**Steps to Reproduce:**

1. Grant the `read:incident:jira-service-management` OAuth2 scope.
2. Attempt to access the specific REST API endpoints mentioned above.


Answers:
author: Matthias Gaiser _K15t_
body: ????? [@Justin / ???](/t5/user/viewprofilepage/user-id/5563534)

welcome to the Atlassian Community.

I'd like to double-check on the REST API you're trying to access. Is it the **Get Incident API** [as described here](https://developer.atlassian.com/cloud/incidents/rest/api-group-incident/#api-jsm-incidents-cloudid-cloudid-v1-incident-issueid-get)? Or do you intend to get the details of JSM Requests [as described here](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-group-request)?

I don't have experience with the Incidents API. If OAuth is not working with these scopes, I'd try it for troubleshooting if everything else with the request is fine by using Basic auth first [as described here for Ad-hod API calls](https://developer.atlassian.com/cloud/incidents/rest/intro/#about).

Hope that helps a bit,  
Matthias.

comments: author: Justin / ???
body: I followed the instructions and used the script as described, but I encountered an issue. After getting the access token, the API request returns **`{"code":401,"message":"Unauthorized"}`** . Scopes like `read:me` work without any issues, but when I use **`read:incident:jira-service-management`** and **`write:incident:jira-service-management`** , I get this error after receiving the **access token** post-callback.  

app-id: 15d03467-2f07-4cc2-884b-7354bca05045


author: Matthias Gaiser _K15t_
body: I'm afraid I can't help much here then. :/

You can check out [Atlassian's docs how to get help for building Forge apps](https://developer.atlassian.com/platform/forge/get-help/). This also recommends asking your question in the [developer community](https://community.developer.atlassian.com/c/forge). Maybe you have more luck over there.


author: Justin / ???
body: [@Matthias Gaiser _K15t_](/t5/user/viewprofilepage/user-id/853318)

Thank you for your response. I would like to ask a question from a different perspective. Is there a way to automatically add a team or members to the Responder Teams or Reponders(Edit Assts field attributes) when an issue is automatically cloned(In Jira Service Management)?


Tags: cloud

jira-service-management

jira-service-management-cloud
Not able to reset the password
Asked by SHUBHENDU GANA:

Hi user Password resetting is disabled for your user name. Please ask your Jira Service Management administrator to enable password resets.


Answers:
author: Trudy Claspill
body: Hello [@SHUBHENDU GANA](/t5/user/viewprofilepage/user-id/5566928)

Welcome to the Atlassian community.

We are a user community using our own Atlassian products. We are not the administrators of your Jira instance. You need to contact your instance 's Jira Administrators.

If you are unsure who those people are, I recommend that you start by talking to the person who told you to acc ss that instance or helped you get access to that instance.


Tags: cloud

jira-service-management

jira-service-management-cloud
Automation for requested changes on a Github PR
Asked by Jim Dwyer:

Is there a way to enable an automation trigger for when a Github PR has requested changes?


Answers:
author: Stefan Salzl
body: Hi [@Jim Dwyer](/t5/user/viewprofilepage/user-id/5058246) - welcome to the community,

as far as I know it's not possible out of the box as there is no trigger for that event.

Which git provider are you using?

I would suggest to lookup the provider's docu for webhooks. Maybe there is a way to send a webhook on this event that can then be fetched by an automation rule.

Best  
Stefan

comments: author: Stefan Salzl
body: Hi [@Jim Dwyer](/t5/user/viewprofilepage/user-id/5058246)

anny feedback?

Best  
Stefan


author: Jim Dwyer
body: Thanks for the reply! We will look into using webhooks to achieve what we need. Appreciate it!
How to edit Sprint name of a Jira story using Automation?
Asked by aman grewal:

How to edit Sprint name of a Jira story using Automation?

I would like to create a rule where once Story points field is populated for a Jira story it does 2 things.

1. It changes Status of story from in grooming to ready.

2. Automatically change the sprint, we use multiple sprint in our backlog named as In grooming and Ready, basically i want to change the Sprint from in grooming to ready.

while i can easily do the first part but not sure if Automation allows second part as when i try to do via editing the field and for Sprint field it only shows Active sprints as an option to be added where as the sprints that we use for in Grooming and Ready are inactive sprints.

my question is , is it possible to change the Sprint of a Jira Issue via automation to a Sprint which is inactive?


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

An automation rule could use a web request to call the Jira REST API to edit the name of a sprint, provided you know the sprint id value.

However, I am unclear from your described scenario why you would do this. You seem to describe a flow where stories are refined prior to planning, and potentially added to a sprint. And you have multiple sprints set up in advance in the backlog to support that.

What is the purpose of renaming a sprint based on refining the work items included in it?

Kind regards,  
Bill


author: aman grewal
body: Thanks [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) I will try the web request rule, I tried via JSON call but it failed stating "Error occurred setting field 'customfield_10004" error, I will do so more test on it today and update.

you are right we create sprint in advance and keep it this way, backlog then Ready for grooming and once grooming is done, we move it to a Ready Space from where these stories can be easily moved to a sprint, my idea was once we are in ready for grooming and story has story points added then it automatically moves to ready space where we have to manually move it now
Maintanence automation
Asked by Ludvig Hede:

I want to create a maintenance automation in ATL cloud.  
I want to archive Team Managed projects were the last issue update is older than X month.  
actions:  
![:checked:](https://emoji.slack-edge.com/T029SKM7N/checked/7b0772c69543698a.gif) fetch jira projects  
![:question:](https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/2753@2x.png) filter: team managed projects  
![:checked:](https://emoji.slack-edge.com/T029SKM7N/checked/7b0772c69543698a.gif) order by last issue update  

This is the rest API call that fix two of three actions above: {{baseUrl}}/rest/api/3/project/search?expand=insight\&orderBy=+lastIssueUpdatedTime![:question:](https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/2753@2x.png) Anyone know if it's possible to filter a rest API call on team managed projects?  

Next steps:  
========  
![:arrow_right:](https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/27a1-fe0f@2x.png) archive fetched projects  
![:arrow_right:](https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/27a1-fe0f@2x.png) fine-tune the fetch process to only fetch (TM)projects older than X months


Answers:
author: Bill Sheboy
body: Hi [@Ludvig Hede](/t5/user/viewprofilepage/user-id/3171536)

I do not believe there is a way to filter that project REST API call. One possible work-around is to:

* iterate over the projects,
* call Lookup Issues with JQL ordered by updated DESC, and
* check the latest one (or if there are no issues) to decide if the project may be archived.

Kind regards,  
Bill


Tags: maintenance

rest-api

team-managed-projects
Cloning to a Task, some components copy over, others show as blank
Asked by Brandon Criger:

Both projects have the component active. When I try other components 1 at a time they work. But then I have component, that does not work and component field shows blank.

Set up is one project at a certain trigger, creates a clone of a Jira story as a Task into another Project.


Answers:
author: Bill Sheboy
body: Hi [@Brandon Criger](/t5/user/viewprofilepage/user-id/5127883)

Would you please post images of your complete rule and the audit log details showing the rule execution? Those may provide context for what you are observing and help the community to offer suggestions. Thanks!

Until we see that information...how are you adding the components, by name, id, etc.? Using the issue edit fields, or with JSON?

Kind regards,  
Bill


Tags: clone

component

task
Autofill Summary field on JSM Forms Automation
Asked by Cristina - Elena Andrei:

Hi, i have created a form on JSM , I would to autofill the summary field : Select \<user\>.

Where is user i would like to have a way to select what user i want. Is there to do that? I have created a custom field user picker and i would like to used on summary field.


Answers:
author: Dan.Tombs
body: Hey [@Cristina - Elena Andrei](/t5/user/viewprofilepage/user-id/5110394)

The best way you could do this is to make sure that the summary is up to date any time the particular user field is updated. create an automation:

trigger - field value changed - select field for any operation

action - edit issue - select summary - Then you can use the following smart values to paste in the value into the summary field.

Use {{issue.summary}} - {{issue.customfield_xxx.displayName}}

the {{issue.summary}} is there to make sure you don't overwrite the previous summary


Tags: forms

jira-service-management
Trying to use "Epic Link" as join criteria
Asked by Brandon Criger:

project = "LLBQ" and issuetype= story and "Epic Link" = {{triggerissue."Epic Link"}}

The UAT examples both have the same Epic link. When the JQL is in If/Else block, it says Did not match criteria.  

Wondering why the smart value is not resolving as expected?

When I replace the smart value with the actual Epic Link value in the search issues, it resolves as expected.


Answers:
author: David Pezet
body: In your automation are you using triggerissue or [triggerIssue](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/) ? Also you might want to keep an eye out for [upcoming changes related to the Epic Link field](https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/) just in case it might affect anything you are working on.


Tags: jql

smart-value
Linking issues using summary substring
Asked by kcarpenter:

Hi. I have Jira issues that follow a consistent naming convention. For example 'ABC_### - *full* *name of request goes here*'

When a new issue is created and the summary/title is updated (have it just set up to be manually ran for right now) , I want to automatically link existing issues that start with the same 7 characters ('ABC_###'). I tried using a substring on {{issue.summary}} but couldn't quite get it to work.

Any help would be greatly appreciated!

![JQL substr.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/247425iCEA779E42EAB27A4/image-size/large?v=v2&px=999 "JQL substr.PNG")


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

For a question like this, please post images of your complete rule and the audit log details showing the rule execution. Those may provide context for what is happening, enabling the community to give suggestions. Thanks!

And...if the substring is always 7 characters at the start of the summary, have you tried using the left() function: <https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#left-int-length->

Kind regards,  
Bill

comments: author: kcarpenter
body: Hi Bill.

Thanks for your reply. The left function is exactly what I was looking for!

My rule runs successfully now. However, it is not linking the other issues in my project that start with the same 7 characters. Is there a change that needs to be made to my if statement?

![Updated automation.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/247426i67603775232A7708/image-size/large?v=v2&px=999 "Updated automation.PNG")


author: Bill Sheboy
body: What is the purpose of that condition, as it seems to be testing a value against itself?

And, would you please show the details of your link issue action? The rule shows "success" but that action does not appear in the log for some reason.


author: kcarpenter
body: That's what I'm struggling with - I don't know how to make it test values against all other issues in my project![Link issue details.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/247585i007CACD2352405D2/image-size/large?v=v2&px=999 "Link issue details.PNG").


author: Bill Sheboy
body: Perhaps try this to find the issues, and then iterate over them to link to the trigger issue:

* trigger: manual
* branch: on JQL of...
  * project = *myProjectName* AND summary \~ {{triggerIssue.summary.left(7)}} AND key != {{triggerIssue.key}}
  * action: link to the trigger issue

Please add any additional conditions/tests you need to the JQL to ensure you get the correct issues to link.