youngmon/atlassian-qna huggingface dataset:
I am not able to add custom fields in the group by option of Jira Plan Views
Asked by Purusharth Chauhan:

I have a few custom fields on which I need to group by in Jira Plan

I have added them through "manage custom fields " but still they are not visible in group by drop down. I have tried to add both text fields and drop down.

Strangely some custom fields like "Team " are available

Also standard fields like "Status" are not visible.

PSB for the details![Jira Plan Views Group By.jpg](/t5/image/serverpage/image-id/347082i41B1950CFD823659/image-size/large?v=v2&px=999 "Jira Plan Views Group By.jpg")


Answers:
author: Purusharth Chauhan
body: Thanks for your repy ! Actually I am trying to logically group issues . I was able to create a view using labels (PSB) . I want to create similar view for other business requirements but I wanted to use a already existing custom drop down field

![Group By in Jira.gif](https://community.atlassian.com/t5/image/serverpage/image-id/347100iD4536908654C0D04/image-size/large?v=v2&px=999 "Group By in Jira.gif")

comments: author: Hans Polder
body: Thanks for the clarification! You could indeed setup some automation rules that fill either a label, or one of the supported 'Group By' fields to allow this anyway.


author: Purusharth Chauhan
body: Yes, sure , that is what I am thinking. I will look for using labels for other views as well

Thanks for your prompt replies !


author: Hans Polder
body: [@Purusharth Chauhan](/t5/user/viewprofilepage/user-id/5590973) ,

Welcome to the community!

Sadly, this is not possible. All the fields listed here are in fact system fields (including the default 'Team' field). It's whatever Atlassian has decided to implement, as for each option they'll need to do quite some development/customization to make it work.

What are you trying to visualize? What information is stored in the custom field? :)


Tags: data-center

jira-data-center
How can we generate a child defect and assign it the user who marked the parent defect as resolved?
Asked by Swapnil:

We are able to generate child defects after the parent defect is resolved but we are not able to find how it can be assigned automatically to the person who marked parent defect as resolved.  

Expected flow, QA will raise an issue and developer will mark it as resolved. After this child defects (retrofits) should be generated in open status and directly assigned to developer.


Answers:
author: Manoj Gangwar
body: Hi [@Swapnil](/t5/user/viewprofilepage/user-id/5590925)

Welcome to the Community!

you can copy the reporter value from the trigger issue to the assignee field.

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

comments: author: Swapnil
body: Thanks for the reply but I need to assign it to the person who marked it as resolved (fixed), not to reporter.


author: Swapnil
body: it is like a developer who fixed a defect, child defects should be assigned to him to make same changes on other version


author: Manoj Gangwar
body: Typically, the issue assignee is the person who moves the issue to Resolved.

Here is one possible solution that you try in your automation rule using the smart value {{initiator}}. or you can select "User who triggered the event"

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

Here is the link on smart value for user object for your reference - <https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/>


Tags: cloud

jira-cloud

jira-core
[Mail handler] Get headers from incoming mail in mailbox and use it in a ticket
Asked by Sebastian Krzewi?ski:

Hi!

I'm looking for something that I will be able to read mail headers from incoming mail in mailbox and use this data in a ticket (e.g. fill custom fields).

Do you know app or native solution that will help me with this?

Regards,

Seba


Answers:
author: Manne Kj?rby - ProProces
body: Hi Sebastian.

As far as I know there isn't any native solution.

I have in the past used Email this issue, which is able to fetch headers on incoming mail.

That was on the server/datacenter version and maybe it also works on cloud?

However then you need to use email this issue as mail handler instead of the native mail handler.

[https://marketplace.atlassian.com/apps/4977/email-this-issue?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/4977/email-this-issue?hosting=cloud&tab=overview)

Hope you figure it out, good luck :-)

Br.


Tags: cloud

jira-cloud

mail-handler
Lookupissues to get specific number of issues
Asked by Sidharth verma:

Hi,

I want to get a specific number of JQL issues from the lookupissues Object list that is returned. I understand that we have

{{lookupissues.get(index)}} which can give us a specific object in the list.

can i pass a variable in place of an index so that I can fetch the value from somewhere and depending on that value it should return me (0 to Index) number of issues. my goal is to get a specific number of issues from a JQL and the number of issues should also come from a variable. looking forward to hearing from you all.

do let me know if i need to further clarify


Answers:
author: Bill Sheboy
body: Hi [@Sidharth verma](/t5/user/viewprofilepage/user-id/5442718)

With the Lookup Issues action, there is no way to dynamically access a specific number of issues.

One alternative is to use the REST API if your number of issues is 100 issues or fewer:

* rather than using Lookup Issues, call the REST API issue search with the JQL using the Send Web Request action: <https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get>
* in the call, set the maxResults parameter to your count

If you want to try this approach, here is a how-to article for calling the REST API from a rule: <https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828>

Kind regards,  
Bill


author: Sebastian Krzewi?ski
body: Hi [@Sidharth verma](/t5/user/viewprofilepage/user-id/5442718)

Did you try to create variable in Create variable action and use it later in rule?

Regards,  
Seba

comments: author: Sidharth verma
body: Hi [@Sebastian Krzewi?ski](/t5/user/viewprofilepage/user-id/1561725)

Yes, i tried but its giving me the below error:

Failed to get value for lookupIssues.get({{nfreePackagers.asNumber: {{lookupIssues.get({{nfreePackagers.asNumber}}).key}}

I get the same error when i try without converting it to number format as well:

Failed to get value for lookupIssues.get({{nfreePackagers.asNumber: {{lookupIssues.get({{nfreePackagers}})}}


Tags: cloud

jira-service-management

jira-service-management-cloud
Errror when importing issues from CSV
Asked by aso:

i am using this .csv to import issues to jira

![Screenshot 2024-09-12 133449.png](/t5/image/serverpage/image-id/347053i03E88C19848B5ADB/image-size/large?v=v2&px=999 "Screenshot 2024-09-12 133449.png")  

After going through all steps and succesfully validating i "Begin Import" to start the process. The import however fails and i receive this log message:  

![Screenshot 2024-09-12 133821.png](/t5/image/serverpage/image-id/347054i465BA7C535E3F033/image-size/large?v=v2&px=999 "Screenshot 2024-09-12 133821.png")  

Could someone please explain, what has to be changed here?


Answers:
author: Manne Kj?rby - ProProces
body: Hi Aso, welcome to the community.

It can be that there is some fields required on the task issue type that you don't have defined in your csv. It can also be a validator on the workflow.

<https://confluence.atlassian.com/jirakb/error-while-importing-issue-via-csv-import-error-fatal-error-during-import-cannot-invoke-com-atlassian-jira-issue-issue-getissuetype-because-issue-is-nul-1387599283.html>

Br.

Manne


author: Rilwan Ahmed
body: Hi [@aso](/t5/user/viewprofilepage/user-id/5590870) ,

Welcome to the community !!

This could be due to restricted permissions, validators in the "Task" issue type. So please check these points

1. Task issue type exists in the project you are importing ?
2. Can you create "Task" from create button manually in the project ?

comments: author: aso
body: Hi Rilwan,   

thank you for your message!

I have checked the points mentioned and can confirm both.


Tags: cloud

jira-cloud

jira-software
To edit the linked issues, when it's linked to another one.
Asked by Hadassa:

Hi everyone,

I need to create automation rule on DC with this goal:

when issue of "xxx" type is linked to another issue in(yyy, zzz, aaa) type

then, I have to edit the all linked issues for the issue of yyy or zzz type

just if it's equals to "Test" type

any one have any idea how to do that?

I just try to do it like that, but I know that something is missing

probably on the JQL branch...

Thank you!

Hadassa.

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


Answers:
author: Hadassa
body: [@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589)

This what I meant, it's also the answer :)

![Capture (1).PNG](https://community.atlassian.com/t5/image/serverpage/image-id/347433i86B449DCF218C0C0/image-size/large?v=v2&px=999 "Capture (1).PNG")


author: Florian Bonniec
body: HI [@Hadassa](/t5/user/viewprofilepage/user-id/5576736)

Does this can work ?

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

Also you can use {{issue.XXXX}} to get sourceIssue properties and {{destinationIssue.XXX}} for the destination issue.

Also Child function only apply to Advanced Roadmap hierarchy, it do not work with any links.

Regards

comments: author: Hadassa
body: Hi [@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589)

thank you for your answering and sharing,

But, That's not what I meant,

because I doesn't want to edit the linked issues for this issue-"Test Execution" just, for his linked issue...and just then for all linked issues in Test type

like it's kind of loop insaid loop


author: Florian Bonniec
body: Not sure to understand, Do you have an example ?


Tags: data-center

jira-data-center
Configuring Auto-Reply Emails for Jira Incoming Mail Handlers
Asked by Purnima Pal:

Hi Atlassian Community,

I'm experiencing an issue with my Jira Cloud incoming Mail Handler for Project ABC.

Here's the situation: -

**++*Current Setup :*++**

1. Whenever an email is sent to our support address from external emails, automatically create issues inside Project ABC.
2. Replies come to the same email thread and it updates the existing Jira issue as a comment.
3. This setup was implemented two years ago and was functioning as expected until recently.

++***Issue :***++From the last 2 days, replies to the same email thread are creating new issues(as duplicates) instead of updating the existing ones.

++***Finding:***++ According to the [Atlassian Support Article](https://support.atlassian.com/jira-cloud-administration/docs/create-issues-and-comments-from-email/) , Jira looks for the issue key in the email subject to update the correct issue.

++***Tested :***++ I manually added the issue key to the email subject worked as expected, updating the original issue.

++***My questions:***++

1. ++***Seeking a workaround :***++ As I want Jira Cloud to automatically send a thank-you email response with the issue key to the external sender when an issue is created. This will ensure that the issue key is included in the email thread, allowing Jira to recognize and update the same thread with comments whenever a reply is received.

*** ** * ** ***

++***Example Email:***++

To: External Email ID

Subject: Thank you for your submission - {{issue.key}}

Body: Hi,

Thank you for your submission. Your issue has been created with ID: {{issue.key}}.

Thank You

*** ** * ** ***

2. **++*Is there a way to set this up*++** in Jira Cloud to send the auto-response email without needing to add external email addresses as Jira users?

Any advice or workarounds would be much appreciated! Thank you!


Answers:
author: Mohanraj Thangamuthu
body: Hello, Good day. We had a similar issue and its resolved now. Could you please check again ?

<https://jira-service-management.status.atlassian.com/>

![Screenshot 2024-09-13 at 10.22.03?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/347258i775BAC2DD87A8504/image-size/large?v=v2&px=999 "Screenshot 2024-09-13 at 10.22.03?AM.png")

comments: author: Purnima Pal
body: Hi , Thanks for this info .. Its working fine as before.


Tags: cloud

jira-cloud
Problems with OAuth Authentication vs Basic Authentication
Asked by LewsTherin:

Atlassian mentioned in documentation that Get Boards API will not work with basic authentication (starting Feb 2024), and that we will have to leverage OAuth to use this API.  
<https://developer.atlassian.com/cloud/jira/software/changelog/#CHANGE-1280>  

But some APIs are not available in OAuth, which is breaking our integration.  
Ex: When registering a webhook using OAuth, we do not receive event updates for sprint update, insert events.  

This is a problem for us.  
You are forcing us to move to OAuth by deprecating some features in Basic Auth and at the same time don't support all the APIs supported with Basic Auth in Oauth.  

Please suggest a path for us to continue using integration with Atlassian Jira.


Answers:
author: Renata_Getint
body: Hey, What exactly do you need to integrate?

comments: author: LewsTherin
body: [@Renata_Getint](/t5/user/viewprofilepage/user-id/5573162)   
We integrate Sprints, Boards, Issues in both directions - We use webhooks to import data from Jira, and Jira rest APIs to export our data to Jira  

We also register a webhook in Jira through a rest end point  


author: Renata_Getint
body: [@LewsTherin](/t5/user/viewprofilepage/user-id/5590836) so it's Jira-Jira integration, right?


author: Renata_Getint
body: Getint solution can help you in that case. I encourage you to [schedule a free demo](https://www.getint.io/schedule-demo-call)
Import from CSV not working with a whitespace in the username
Asked by Barbara Hernandez:

Hi everybody,

I'm trying to bulk import tickets wth CSV format, but I'm having problems with the Assignee field.

The usernames in our Jira use name and last name with whitespace, eg. "Barbara Hernandez", and jira is converting to lowercase and deleting the whitespace, hence, I get an error saying the user "barbarahernandez" does not exist.

Is there any way to write it in the CSV that jira can understand and parse correctly?


Answers:
author: Nicketa
body: While exporting CSV, try export all. It will also include jira db ids. That will help if importing in same server.


author: Kai Becker
body: Hi [@Barbara Hernandez](/t5/user/viewprofilepage/user-id/5556374)

Welcome to the community and thank you for your question.

For importing issues to Jira cloud via CSV you have to options to identify the user:

* email address
* Atlassian Account ID

For a full mapping please review this article: <https://support.atlassian.com/jira-cloud-administration/docs/import-data-from-a-csv-file/#Tips-for-importing-CSV-data-into-Jira-fields>

comments: author: Barbara Hernandez
body: Hi Kai,

Sorry I didn't mention but I'm using Jira Server. Is there a way to find out the ID?

Thank you


Tags: cloud

jira-server
Custom Checkbox Field with Different Options Based on Issue Type in a Single Project
Asked by Nguy?n V?n Hi?u:

Hi everyone,

I'm looking to create a custom field of type Checkboxes for a single project where the available options differ based on the issue type. Here's an example for Project P:

* For Issue Type **Task**, the options should be: Option A, Option B, Option C.
* For Issue Type **Sub-task**, the options should be: Option E, Option F, Option G.
* For Issue Type **Story**, the options should be: Option I, Option J, Option K.
* For Issue Type **Bug**, the options should be: Option X, Option Y, Option Z.

From my understanding, the feature **Configuring Custom Field Contexts** (<https://confluence.atlassian.com/adminjiraserver/configuring-custom-field-contexts-1047552717.html>) allows for setting contexts for custom fields, but it seems to be limited to assigning only one context to a custom field for a project at a time. This means we cannot add multiple contexts for a single custom field within the same project to accommodate different issue types.

Is there a solution to achieve this without creating multiple custom fields? I would like to have a single custom checkbox field where the options vary depending on the issue type within the same project.


Answers:
author: Valerie Knapp
body: Hi [@Nguy?n V?n Hi?u](/t5/user/viewprofilepage/user-id/5590770) , welcome to the Atlassian Community and thanks for your question.

If you can use an app for this, Behaviours in ScriptRunner should allow you to do this - <https://docs.adaptavist.com/sr4js/latest/features/behaviours/behaviours-tutorial>

Please have a look and share your feedback if this would work for your case.

Cheers

comments: author: Nguy?n V?n Hi?u
body: Many thank [@Valerie Knapp](/t5/user/viewprofilepage/user-id/4929946) for your feedback. Let's me definitely take a look at the documentation and see if this solution fits my needs


Tags: jira-server

server
How Can i add approval request in a company managed project?
Asked by Ady:

I have a company-managed project and want to add an approval request to the product manager when the design is complete. in a team-managed project, it is so easy to add approval to the workflow but in a company-managed project, I can't find the option.

company-managed project

![Screenshot 2024-01-09 at 11.16.28 PM.png](/t5/image/serverpage/image-id/299913i222258D9A703347A/image-size/large?v=v2&px=999 "Screenshot 2024-01-09 at 11.16.28 PM.png")

team-managed project

![Screenshot 2024-01-09 at 11.17.53 PM.png](/t5/image/serverpage/image-id/299912i63DDDC4427D7DF7B/image-size/large?v=v2&px=999 "Screenshot 2024-01-09 at 11.17.53 PM.png")


Answers:
author: Jack Brickey
body: Hi [@Ady](/t5/user/viewprofilepage/user-id/5349737) , indeed the simple approval method does not it's in JWM CMP. This is the same issue in Jira. This article offers a potential solution. [adding-the-process-to-approve-jira-issues-with-the-help-of-the-workflow](https://confluence.atlassian.com/jirakb/adding-the-process-to-approve-jira-issues-with-the-help-of-the-workflow-1283493042.html) . Give it a read and let me know your questions.


Tags: cloud
Unable to find the results after running this Query.
Asked by Yash Pradhan:

Dear Team,  

As we need to find the particular change in our project, this is the query we are using  

(project in ("Release Deployment Project", "Third Party Release Management ") AND issuetype = "Change Request " AND status not in ("Technical Approved", "Conditional Approved") AND "Deployment Date\[Date\]" \>= 2023-06-01 AND "Deployment Date\[Date\]" \< 2024-1-09 and "Product Name\[Dropdown\]" = "Sales Force" and "Impacted Components\[Paragraph\]" \~ **Distance_ServiceCredentials** ORDER BY cf\[10140\])  

But After running it through it shows no result, Meanwhile when i enter the **Distance_ServiceCredentials** name manually in the search bar it is showing the result.  

Attach SS for the reference, Can we we know the reason behind it.  

![Capture11.PNG](/t5/image/serverpage/image-id/299797iDCBDBB5138975D0C/image-size/large?v=v2&px=999 "Capture11.PNG")![Capture1.PNG](/t5/image/serverpage/image-id/299798i75EBC8C3071FE201/image-size/large?v=v2&px=999 "Capture1.PNG")  


Answers:
author: Rilwan Ahmed
body: Hi [@Yash Pradhan](/t5/user/viewprofilepage/user-id/4677554) ,

As you are using **AND**, the tickets should match each condition. I have simplified your query line by line. Check if the tickets fall under these conditions.

(  
project in ("Release Deployment Project", "Third Party Release Management ")   
**AND** issuetype = "Change Request "   
**AND** status not in ("Technical Approved", "Conditional Approved")   
**AND** "Deployment Date\[Date\]" **\>=** 2023-06-01   
**AND** "Deployment Date\[Date\]" **\<** 2024-1-09   
**and** "Product Name\[Dropdown\]" = "Sales Force"   
**and** "Impacted Components\[Paragraph\]" \~ Distance_ServiceCredentials   
ORDER BY cf\[10140\]  
)

**Please note:**   
"*text \~ Distance_ServiceCredentials*" JQL will list any ticket in any project if the value is present in any field.

comments: author: Yash Pradhan
body: Hi Rizwan,  
I ran your provided query for the requirement but the results are still coming the same.  
When i am using this ***text \~ Distance_ServiceCredentials*** the results are showing 2 within the product name salesforce itself.


author: Yash Pradhan
body: [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861) Any Update on this!!


author: Rilwan Ahmed
body: Hi [@Yash Pradhan](/t5/user/viewprofilepage/user-id/4677554) ,

*project in ("Release Deployment Project", "Third Party Release Management ")*   
***AND** issuetype = "Change Request "*   
***AND** status not in ("Technical Approved", "Conditional Approved")*   
***AND** "Deployment Date\[Date\]" **\>=** 2023-06-01*   
***AND** "Deployment Date\[Date\]" **\<** 2024-1-09*   
***and** "Product Name\[Dropdown\]" = "Sales Force"*   
***and** "Impacted Components\[Paragraph\]" \~ Distance_ServiceCredentials*   
*ORDER BY cf\[10140\]*

**is not same** as JQL *"* *text \~ Distance_ServiceCredentials* ***"***

So please check the result from second JQL and manually check if it is satisfying all conditions given in first JQL. i.e. issuetype, status, Deployment dates, product name, impacted components


Tags: cloud

jira-work-management-cloud
jira Deployment frequency. What info in jiras does it use for the calculation.
Asked by Marco Liporoni:

jira insights\> Deployment frequency. What info in jiras does it use for the calculation.

How does jira determines my tickets have been deployed?


Answers:
author: Jack Brickey
body: Hi [@Marco Liporoni](/t5/user/viewprofilepage/user-id/5163552) , does this article help? [view-and-understand-your-deployment-frequency-report](https://support.atlassian.com/jira-software-cloud/docs/view-and-understand-your-deployment-frequency-report/)


Tags: cloud

jira-work-management-cloud
Importing data from Asana using importer
Asked by Milan Patel:

Hi all,

Im using the new importer tool (imprting from asana to Jira)   
Im following the steps but i run into an issue when its mathcing fields causing isssues (cant proceed). Has anyone run into this and if so what did you do.   

Also note that i have looked and cant find anything to let me manually match that fields?


Answers:
author: John Funk
body: Hi Milan,

Can you be more specific in which fields you are having trouble matching?


author: Marcus Jones
body: Hi [@Milan Patel](/t5/user/viewprofilepage/user-id/5074073) ,

Not sure what tool you are using but I had a good experience with this help desk migration service: [Help Desk Migration Service - Automated Import and Migration tool (help-desk-migration.com)](https://help-desk-migration.com/)

we migrated from HappyFox to Jira but I believe they have a connector for Asana as well. You can pretty easily map your fields and do test runs to make sure everything is coming across as expected.

It's a paid tool, but I found the pricing to be quite reasonable.

\~Hope this help!


Tags: cloud

import