youngmon/atlassian-qna huggingface dataset:
Jira Automation: Display or hide field B based on option selected in field A
Asked by Terry Beavers:

Is it possible to hide or display a custom field on a screen based on the option selected in another custom field using Jira Automation?

For example, I have custom field named Primary Owner with a few specific internal teams as options, and then also one option named External Vendor, so if the user selects External Vendor, then I want to display a text field named External Vendor, so the user can manually enter the name of the external vendor. If the user selects one of the specific internal teams, then the External Vendor field remains hidden by default.

I have configured this field behavior before using ScriptRunner, but our current customer instance does not have the ScriptRunner plugin, so was hoping I could do something similar using Jira Automation, although I know this is more of a field behavior, than a field automation.


Answers:
author: Fadoua
body: [@Terry Beavers](/t5/user/viewprofilepage/user-id/5097372)

I am afraid to say Automation for Jira in Datacenter doesn't have an advanced feature that will handle your request.

You are looking for dynamic fields. I wish we have it in DC.

Best of luck!

Fadoua


Tags: automation

data-center

jira-data-center
How to export jira issue while retaining all fields?
Asked by IT Support:

I was only able to export ticket numbers when attempting to extract data from JIRA for the past few months. However, I need detailed information for each ticket, including categories such as severity, request type, time to first response, and more, but I couldn't achieve this. How can I export tickets from JIRA with all relevant categories (issue details) if there isn't a direct export option available?


Answers:
author: Jehan Bhathena
body: Hi [@IT Support](/t5/user/viewprofilepage/user-id/5546065)

Adding to Robert's answer, you can try to use the Jira Cloud for Excel/Google Sheets option too.

<https://community.atlassian.com/t5/Jira-articles/The-add-in-you-ve-been-waiting-for-Jira-Cloud-for-Excel/ba-p/1210420>

<https://support.atlassian.com/jira-work-management/docs/use-jira-cloud-for-sheets/>

You can export more than 1k issues while customising the fields information you need.


author: Robert DaSilva - Adaptavist
body: Hi [@IT Support](/t5/user/viewprofilepage/user-id/5546065) , welcome to Atlassian Community!

You should be able to export all issue data as part of the Issue Search functionality in Jira Cloud.

1. First, you will need to navigate to the Issue Search view, which can be found by clicking "Filters" and then "View all issues".
2. Once here, create a JQL filter that finds the Jira issues you're interested in exporting. I would recommend keeping this list short, as Jira cannot export more than 1000 issues at a time.
3. Once you have a JQL filter you're happy with, in the top right, click the "Export Issues" dropdown, and then select one of the options that contain "All fields". This will export the issues in your chosen format with all relevant issue data included.

Here's another Community question that may have more details:

<https://community.atlassian.com/t5/Jira-questions/How-to-export-Jira-issues-to-CSV/qaq-p/175115>

Hope that helps!

Robert


Tags: cloud

jira-cloud
Import Comment with Author from CSV
Asked by Luka Urushadze:

Hello everyone,

I'm trying to import comments for the issues from the CSV, but I can't seem to map the author anyhow. I've tried with all variations of the email and the user ID, as well as Full Name, only name (cause the CSV import wizard suggests this) but I get this error:

![Screenshot 2024-09-16 at 20.47.28.png](/t5/image/serverpage/image-id/347576i66DEBF9C0BF6B328/image-size/large?v=v2&px=999 "Screenshot 2024-09-16 at 20.47.28.png")  
What can I do?  
Thanks in advance!


Answers:
author: pinky_reddy
body: Hi [@Luka Urushadze](/t5/user/viewprofilepage/user-id/5439595)

Welcome to the Atlassian Community.

Can you try giving the users unique account ID in this format.

(Date; ID of the comment author; Comment)

Here the Knowledge base Article that might be helpful

<https://confluence.atlassian.com/jirakb/create-comment-using-csv-import-on-behalf-of-another-author-1224770916.html>

comments: author: Luka Urushadze
body: Hi [@pinky_reddy](/t5/user/viewprofilepage/user-id/2679900), yes I've done this. Still getting the same error.

Here's the latest screenshot:

<br />

![Screenshot 2024-09-16 at 21.01.46.png](https://community.atlassian.com/t5/image/serverpage/image-id/347578i228F20E738AE16A2/image-size/large?v=v2&px=999 "Screenshot 2024-09-16 at 21.01.46.png")

I've also tried it without including the part before ":", I've also tried to place the space before it for both cases. The error is the same.


author: pinky_reddy
body: Is the User account you are mentioning here have access to add comments on the ticket.

As a test you can try adding comment from your ID and see if it works. You can test from UI first and then try with importing from CSV


author: Luka Urushadze
body: Hello [@pinky_reddy](/t5/user/viewprofilepage/user-id/2679900)

yes, the all the users could add the comments to the issue. Permissions don't seem to be the issue.

Best Regards,

Luka


author: pinky_reddy
body: Looks like something to check on date format and can you please confirm is the issue closed or open?


author: Luka Urushadze
body: You're right! I don't know what was wrong, as I've tried multiple ways and the dates were mostly correctly imported, but it's working with this date format:  
25/May/10 11:20 AM.

I wonder if it's possible to use Email to map the users now..


author: pinky_reddy
body: Yes you can try with email id.


author: Luka Urushadze
body: What does email ID mean? with plain email addresses, it doesn't work :( It says it can't find the user


author: pinky_reddy
body: In the Document I see only Account ID mentioned, so not sure if we can be successful with using email address.


Tags: cloud

jira-cloud

jira-service-management
How do I update User status using API?
Asked by Samuel Homer:

I am trying to update a User's status using the PATCH and the API endpoint - /rest/align/api/2/users/{userID}; however, I am having issues. I am following the instructions at this link:

<https://confluence.atlassian.com/jakb/how-to-change-the-status-of-a-user-using-the-jira-align-rest-api-2-1319576584.html>

I am getting a 400 error.


Answers:
author: David Bakkers
body: Hello [@Samuel Homer](/t5/user/viewprofilepage/user-id/5593659)

Does your organisation have Jira Align?

If so, what results did you get when you followed the step-by-step instructions on the [HTTP Error 400 Bad Request on Jira Align](https://confluence.atlassian.com/jakb/http-error-400-bad-request-on-jira-align-1318881429.html) page?

comments: author: Samuel Homer
body: Hello [@David Bakkers](/t5/user/viewprofilepage/user-id/1575730) ,

I actually do not believe we do, so that is likely why that endpoint is not working.

<br />

I also tried using this documentation: <https://docs.atlassian.com/software/jira/docs/api/REST/8.5.15/#api/2/user-updateUser>  

to the endpoint PUT /rest/api/2/user but am getting a Status Code 405.

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

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


author: David Bakkers
body: You seem to be very confused about which API endpoints are for which product and why. You have tagged your question as related to Jira Cloud, but you've provided a link to documentation for an old version of Jira SERVER. They are not the same thing.

For example, if you refer to the [Users section](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-group-users) of the Jira CLOUD v2 REST API docs, you'll see there is no such PUT endpoint for updating a User, as they are managed in a totally different manner in that product.

I suggest you start by liaising with your company's IT department to determine exactly what *type* of Jira product your company is using (I can't tell, as you've omitted the request path in your original questions and the screen grabs), then reference the correct documentation for it.

Have fun. Bye.


author: Samuel Homer
body: K


Tags: cloud

jira-align

jira-cloud
Field "security level" not shown in issue fields
Asked by Martin St?tzel:

I have spent 2 hours to configure all settings and check all permissions:

My objective is to configure a specific issue security scheme and then apply security levels to issues.

However, the "Security Level" field is not showing in any of my issues. Even when I attempt to add the field via the issue layout configurator, it won't show up.

I have also run the "Find your field" function in the issue, and I have run the "Permission helper" in the Jira Admin Helper tools.


Answers:
author: Martin St?tzel
body: And now, after two hours of getting more and more frustrated, I have found the solution:

This "field" is not a field like most of my issue fields, but it is a button. Yes!

Although my problem is resolved now, I just wanted to share with other Jira Admins, in case some of you are having the same trouble as I had... You are welcome!

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


Tags: cloud

jira-cloud
Is there a way to bulk update user ids in filters and quick filters? In the database, maybe?
Asked by William Kahn:

We are moving to SSO for our self hosted data center. One of the requirements is that the user id is the email address. Currently our instance does not require that as a user id. We were able to update all the user ids in our UAT environment, but it broke all the existing filters and quick filters on boards that include an assignee id. Is there a way that we can do a bulk 'find and replace' in the database without having to go into every existing filter/ quick filter individually? Or is there any method at all?


Answers:
author: Trudy Claspill
body: Hello [@William Kahn](/t5/user/viewprofilepage/user-id/3927586)

Atlassian strongly recommends against making any direct updates to the database due to the possibility of making them incorrectly and corrupting the database.

Having said that...

There are tables in the database that hold the JQL for saved filters (searchrequest) and the JQL for Quick Filters (AO_60DB71_QUICKFILTER). It is technically possible to search for filters where the JQL field contains the current username of a user. It is technically possible to use a SQL UPDATE statement with the "replace" function to replace a substring with another string within a text field.

(Disclaimer: I provide no guarantee or warranty for the above information. Use at your own risk.)


Tags: data-center

jira-data-center

jira-server

server
Jira Cloud to Cloud migration
Asked by Heath Willard:

Hello.

Just a bit of background. Company was recently acquired by another company. Both have well built out Jira instances in separate Atlassian Suites. We are looking the projects into 1 Atlassian instance.

When searching on here and googling I have seen a lot of information in regards to this not being anywhere near as straightforward as a Confluence migration (which we have already done and was pretty easy).

I did see a previous post in regards to an App called DeepClone that could do this for us, but that was from 2022.

Has anyone performed one recently?

We were thinking about just started fresh at the new location (doubling as a spring cleaning task) but we still wanted to migrate existing Jira items just for lookup purposes in case there is any information from them (big fixes, etc) we may need in the future.


Answers:
author: Aron Gombas _Midori_
body: [@Heath Willard](/t5/user/viewprofilepage/user-id/5593635) Atlassian wrote a bunch of documentation about copying/moving data between Atlassian Cloud sites.

Jira Cloud to Cloud migration is also covered:

<https://support.atlassian.com/organization-administration/docs/copy-product-data/>


author: Fadoua
body: [@Heath Willard](/t5/user/viewprofilepage/user-id/5593635)

Welcome to the Atlassian Community!

Just to make sure I got your question right. You are trying to combine the 2 instances?

Best

Fadoua

comments: author: Heath Willard
body: Im trying to copy Jira Projects from one instance to the other.


author: Fadoua
body: [@Heath Willard](/t5/user/viewprofilepage/user-id/5593635) no it is not how it works.   
there are steps before migrating any project assuming you are trying it in a test environment. You have to create custom fields, statuses, screens,... also make sure you have same plugins in both instances.

then proceed with migration


Tags: cloud

jira-cloud
EasyBI - Issues closed/resolved vs Sprint issues completed
Asked by Derek Knudsen:

Hey all. Building a basic report to show average cycle time for sub-tasks for a specific developer for each sprint. I am running into an issue where not all the issues the developer did in the sprint are being included. To get a sense of what is happening I added Issues Closed and Issues Resolved Measures as well as Sprint Story Point Completed. The latter shows all of the items the developer worked on but the former measures appear to just be a subset of that list. In looking at the individual tickets of both I can't figure out the difference. They have identical Status and Resolution. Anyone have insights?  
![Screenshot 2024-09-11 at 3.34.41 PM](https://community.eazybi.com/uploads/default/original/2X/2/2f63ae757b97b64470b4752ec4507a68902c4445.png)


Answers:
author: Paul O
body: I suggest you check which statuses you have defined as 'closed' in your EazyBI instance

The issues closed measure is defined in your settings - see [here](https://docs.eazybi.com/eazybi/data-import/data-from-jira/issues-closed-measure). It is a count of issues in the statuses listed in this setting

Sprint issues completed counts the number of issues in the done status category at the point the sprint was closed.


Tags: cloud

jira-cloud
Hide Suspended Users from Timeline View
Asked by Matt Brown:

We use the Timeline view in a JIRA software project and see suspended users to the right of issue search input. I appreciate the value of having this where epics/parents or issues assigned to that user are displayed however our view is set to hide completed issues and they appear any way. To clarify they are not a part of any open issue. Is there any way to hide these users? Do they have to be deleted?

Thank you in advance!


Answers:
author: Dimitris Sylligardakis
body: Hi Matt,

From what I know (please correct me everyone if I'm wrong), but, there's currently no built-in way within Jira to hide suspended users specifically from the Timeline view, even if they're not assigned to any open issues and you have your view set to hide completed issues. I think this is because their presence is tied to their past involvement in the project, particularly if they were assigned to epics or parent issues that are still visible in the Timeline.

I'll do some digging to double check though


Tags: cloud

jira-cloud
Copying Project from Production to Sandbox
Asked by John Izquierdo:

Hi,

Is there a way to natively copy a Jira Project (configurations and automations) from Production to Sandbox environment without copying the issues of that project?

If there isn't a way to do this natively, what third-party Apps would allow this or is it possible by using API?

The reason for this is we have multiple project that are "locked-down" because they have sensitive information and it's cumbersome to apply new configurations/settings without properly testing.

p.s. we have 20 Jira Projects and 500+ custom automations so you can image how many tickets/issues these Project have.

Any assistance would be greatly appreciated.


Answers:
author: Marc - Devoteam
body: Hi [@John Izquierdo](/t5/user/viewprofilepage/user-id/4993587)

You can copy a project natively fro production to sandbox, with or without attachments on issues.

Automation rules will not be copied, see documentation about what is copied and what not.

[what-data-is-copied-to-sandboxes](https://support.atlassian.com/organization-administration/docs/what-data-is-copied-to-sandboxes/)

Or you can look at: [revyz-data-manager-for-jira-backup-restore-analyze-optimize](https://marketplace.atlassian.com/apps/1228694/revyz-data-manager-for-jira-backup-restore-analyze-optimize?hosting=cloud&tab=overview)

comments: author: John Izquierdo
body: Hi [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

Thanks for the link regarding the automations.

When copying the projects, what if I don't want any issues to be copied with it? Just the project and it's configurations (schemes, workflows, and all). Is that possible, or does the copy always include the issues and we can only decide whether or not to copy the attachments?


author: Luka Hummel - codefortynine
body: Hi [@John Izquierdo](/t5/user/viewprofilepage/user-id/4993587),

For your need to copy a Jira project from Production to Sandbox without including issues, a tool like our [Deep Clone for Jira](https://marketplace.atlassian.com/apps/1218652?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2813237) could be very useful. Deep Clone allows you to selectively copy or clone projects without cloning the issues by canceling the [Project Clone](https://documentation.codefortynine.com/deep-clone-for-jira/project-clone?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2813237) process before cloning any issues.

![2024-09-23 14-58.png](https://community.atlassian.com/t5/image/serverpage/image-id/348756iEA298FB3C12B2ACC/image-size/large?v=v2&px=999 "2024-09-23 14-58.png")


Tags: cloud

jira-service-management

jira-service-management-cloud

sandbox
Is it possible to show in the Epic work log the person who registered the work log in the story?
Asked by Alexandra DM:

**I have created an automation that collects and copies the details of the work logs of its child stories in the Epic. But when the work logs are recorded in the Epic with the automation, are registered under my name (automation creator).**

Is it possible to show in the Epic work log the person who registered the work log in the story and not the creator of the automation?


Answers:
author: Kseniia Trushnikova
body: Hi [@Alexandra DM](/t5/user/viewprofilepage/user-id/5593596),

I think the rule actor's name is used in the Epic work logs, not the rule creator's. Can you confirm this?

Since all actions are carried out by the rule actor, the work logs are added by that account. It's not possible to dynamically change the rule actor based on who adds the work log entry in Epic child stories.


Tags: data-center

jira-automation

jira-data-center

worklog
Restrict which user can create issues based on the issue type
Asked by Selva:

In Jira cloud, I am trying to setup a project with the permission like only the project admins can create the requirement issue type, and tester can create defects. I have separate workflow setup for Requirement and Defects.

In the validators of the create transitions I don't see any way to set this up.

also tried the following in properties of the transition, didn't work

***jira.permission.create.projectrole - {role-id}***

Is there a way we could achieve this, from the out of the box feature.

I know this can be done using script runner, just trying to see if we could leverage OOTB feature.

Any help is much appreciated.


Answers:
author: Joe Pitt
body: The short answer is no. The OOTB solution is to have different projects for the issue types.

comments: author: Selva
body: Thank you for your input, [@Joe Pitt](/t5/user/viewprofilepage/user-id/822427)


Tags: cloud

jira-cloud
Automation - How to create a rule that: Sets all new bugs to top of backlog within 1 project
Asked by Dwayne:

Within 1 project, we want to ensure newly created bugs are placed at the top of the backlog.   
This allows us to review all new bugs when we're in refinement.   

Currently, my best attempt at an automation rule is:

* When: Issue Created
* Isue Type Equals: Bug
* Then: Move issue to board (backlog)

So far, I haven't been able to find components that can change the rank.


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

To change the Rank of an issue, please call the REST API endpoint using the Send Web Request action. The essential rule outline could be:

* trigger: issue created
* condition: issue type is Bug
* action: lookup issues with JQL, to return all backlog issues with an ORDER BY Rank ASC clause. Please note well: this will only return the first 100 issues, but that is not relevant as only the first one is needed.
* action: Send Web Request to call the *Rank Issues* endpoint
  * In the data passed, the issue to be re-ranked higher is {{triggerIssue.key}} and it should be placed before {{lookupIssues.first.key}}

If you want to try this method, here are some references to help:

<https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828>

<https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue/#api-rest-agile-1-0-issue-rank-put>

Kind regards,  
Bill


author: Mohanraj Thangamuthu
body: Hello, Good day. It looks like your requirement is similar to <https://jira.atlassian.com/browse/AUTO-850>. You can try using REST API calls to change the rank. Thanks

comments: author: Dwayne
body: Thank you for your answer Mohanraj!  

From what I understood, the API calls only allow you to update visible fields. As far as I know "Rank" is not a visible field.  

How would one use the API call to update the rank relative to the highest item on a backlog?


Tags: cloud

jira-cloud
Closed issues showing in the backlog
Asked by Sarah Green:

Recently, our board backlog started to show closed tickets. Usually, any ticket where StatusCategory = Done is not displayed in the backlog. Nothing about the board filter has changed that would cause this, and I can't find any settings in the Board Settings that would change it. Any ideas as to what's going on?


Answers:
author: pinky_reddy
body: Hi [@Sarah Green](/t5/user/viewprofilepage/user-id/3861688)

Welcome to the community

Please check your Board Setting Configure Board settings\>Columns.

Verify if you have Done status is in the last column or not.

comments: author: Sarah Green
body: Yes there is a column for Done on the board, but it is not in the last column.

![2024-09-16_10-36-59.png](https://community.atlassian.com/t5/image/serverpage/image-id/347551i18EF35E9EC57E744/image-size/large?v=v2&px=999 "2024-09-16_10-36-59.png")

However, Done doesn't show up in the Columns settings (as do a number of other statuses that should be there).

![2024-09-16_10-38-15.png](https://community.atlassian.com/t5/image/serverpage/image-id/347552i65410BC18F8A361C/image-size/large?v=v2&px=999 "2024-09-16_10-38-15.png")


author: Sarah Green
body: There was a scrollbar at the bottom of the columns that I didn't realize was there so I couldn't see all the columns! I moved the Blocked status from the last column, and it resolved the issue!


Tags: cloud

jira-cloud