youngmon/atlassian-qna huggingface dataset:
How can I add a user as a watcher to all tickets in a project and set them as default
Asked by Shefali Tayade:

How can I add a user as a watcher to all tickets in a project. The request is to default the users as Watchers when any ticket is created in this project.


Answers:
author: Ste Wright
body: Hi [@Shefali Tayade](/t5/user/viewprofilepage/user-id/5498724)

As in, add a set of users to every issue created? Or add them as a one-off?

You can do both using Automation.

---

**Add as Issue Created**

The rule might look like this...

* **Trigger:**Issue created
* **Action:** Manage watchers
  * Add these watchers = *\<insert users here\>*

---

**Add as a One-off**

You can use a Scheduled Trigger to do this. For this rule, don't worry about the schedule you choose to run against, you only need to run the rule once, then you can deactivate it.

* **Trigger:** Scheduled
  * Run a JQL search... = TRUE (check box)
    * JQL = *\<JQL here to find relevant issues, eg. all issues in Project\>*
  * Only include issues that have changed... = FALSE (uncheck box)
* **Action:** Manage watchers
  * Add these watchers = *\<insert users here\>*

Once you've published the rule, click on the breadcrumbs (...) in the top-right corner, and select "Run rule" to activate it immediately.

You can then either deactivate the rule, or delete it from the main rule list.

*---*

Let us know if these work for you!

Ste


author: Duc Thang TRAN
body: Hello [@Shefali Tayade](/t5/user/viewprofilepage/user-id/5498724)

In my opinion, assuming you only have project admin permissions, for existing tickets you can create an automation: use a JQL query to find all existing tickets that don't have the person as a watcher,

then create an automation with :

* a schedule and the scope set to your JQL query.
* The action will be "Manage watchers" -\> "Add watcher."

For future tickets create an automation with :

* a trigger on ticket creation and a condition that checks if the user is not a watcher.
* If not, use the same action: "Manage watchers" -\> "Add watcher."


Tags: cloud

jira-cloud
How can I format Timeline objects?
Asked by Lasse Wathne Lorentzen:

I am a big fan of the Timeline view, however, the Timeline objects are hard to distinguish from another with respect to category, labels, etc. I want to gather at a glance what I'm dealing with for the coming weeks, and if I cannot even colorize the tasks, then how in world am I supposed to know what's coming without diving into the details?


Answers:
author: Jovin
body: Hey Lasse,

Hopefully the below tips help:

* On the epics themselves (Epics only) you can choose the colour they appear on the Timeline, when you open the Epic you can see a coloured square next to the Summary, click this and choose your colour!  
  ![Epic Colour.png](https://community.atlassian.com/t5/image/serverpage/image-id/330791iEB63E14AEC457BB6/image-size/large?v=v2&px=999 "Epic Colour.png")
* You can also add custom filters by going to the Configure Board section (through the ...) and creating JQL filters with descriptive names that you can quickly apply to your timeline.
  * These custom filters will need the data on the epics or stories, so make sure you use the data fields you wish (Components, Labels, etc.), an example for each of these:
  *

    ```
    labels IN ("Label 1", "Label 2")
    ```

  *

    ```
    component = "Super Cool App"
    ```

* If you use Jira Premium you'll have the "Plans" feature too - this can have even more power by visualising these custom fields right on the timeline between the Epic Name and the timeline visual

Hope it helps!


Tags: cloud

jira-cloud
ITSM-Projekt einrichten f?r die JIRA Data center version
Asked by S?reyya:

Oo


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@S?reyya](/t5/user/viewprofilepage/user-id/5524942) and welcome,

please take a look to this page <https://confluence.atlassian.com/servicemanagementserver> . In particular you can get main aspect of jira jsm project configuration through the following <https://confluence.atlassian.com/servicemanagementserver/administering-service-projects-939926272.html>

Hope this helps,

Fabio


Tags: cloud
Copying coloured jenkins logs to jira ticket
Asked by Ishira Liyanage:

Hi!!

I have some debug traces which are colour coded. I want those colours to be visible. It seems as soon as I copy this text to Jira from jenkins it becomes a colourless code snippet. Is there a 'language' I should set when using code snippet in order to achieve what I want. I don't mind using code snippet if it's possible or without the snippet is also fine. If I could copy it without it automatically becoming a code snippet.


Answers:
author: Mark Rekveld - Marvelution
body: Hi [@Ishira Liyanage](/t5/user/viewprofilepage/user-id/5524926) ,

Welcome to the community.

As far as I'm aware there is no specific language for logs, you still try the languages available to see which highlight best works for your case.

On a side note, I'm the developer of the [Jenkins Integration for Jira](https://marketplace.atlassian.com/apps/1211376/jenkins-integration-for-jira?hosting=cloud&tab=overview) app, would a feature that exposes the Jenkins console log in a specific panel in Jira be of value in this case?

Cheers,  
Mark

comments: author: Ishira Liyanage
body: Yes, something like that would be quite nice. I think it's mostly annoying that I can't copy the logs there at all without it becoming a code snippet. I would be quite happy if it didn't immediately remove all the formatting and just make it a plain text snippet.


author: Ishira Liyanage
body: I would like specific lines from Jenkins logs to be copied. In a way a panel that exposes the whole Jenkins log might be too much info.


author: Mark Rekveld - Marvelution
body: Hi [@Ishira Liyanage](/t5/user/viewprofilepage/user-id/5524926)

Sorry for the delay.

Can you join me in a call to discuss the needs for the build log feature? To iron out the specific needs and target Jira deployment.

Please reach out to me at markrekveld at marvelution.com

Cheers,  
Mark


Tags: cloud

jira-cloud
Problems change Owner API
Asked by Marcel Kaiser:

Hi, I'm currently facing a problem. I want to change the owners of all filters in the cloud and enter myself as the owner. As described in the DOku:

<https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters/#api-rest-api-3-filter-id-owner-put>

I get a 403 error though: user is not an owner of the filter or does not have *Administer Jira* global permission.

This response is documented in the documentation, but I don't know how to get rid of it because I am registered as Org-admin in the Global Permission


Answers:
author: Marc - Devoteam
body: Hi [@Marcel Kaiser](/t5/user/viewprofilepage/user-id/4696738)

To check, are you also a Jira Administrator or just the Org Admin?

You do require to be Jira Administrator.

comments: author: Marcel Kaiser
body: The Org-admin group is stored in the Jira Administrator


Tags: cloud

jira-cloud
The rule does not accept Automatic Jira as an executor
Asked by ???_? ???????:

If you set the execution subject to "Jira automation" (action - comment the task), then the next rule in which there is a trigger (action - the task is commented) does not work. But if you comment manually, the rule works. Maybe someone has encountered such a problem or knows a solution? Thank you in advance


Answers:
author: Ste Wright
body: Hi [@???_? ???????](/t5/user/viewprofilepage/user-id/5202349)

You have one rule which should activate a second rule?

If this is the case, ensure the checkbox...
> "Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule."

...is checked.

---

To check this:

1. Go to your rule
2. Select the *Rule details*button
3. Check the checkbox - if unchecked, select it
4. Re-publish your rule

Ste

comments: author: ???_? ???????
body: You are right, thank you very much, and how did I not notice this flag. I've already remade the rule a bunch of times without understanding why it doesn't work. Thank you again


author: Marc - Devoteam
body: Hi [@???_? ???????](/t5/user/viewprofilepage/user-id/5202349)

Could you share the configuration of your rule(s), this would definitely help us members on the community to help you in hopefully providing a solution

Tnx.

comments: author: ???_? ???????
body: ![photo_2024-06-20_10-37-56.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/330755i14E01279432D2CD3/image-size/large?v=v2&px=999 "photo_2024-06-20_10-37-56.jpg")


author: Marc - Devoteam
body: Are all related tasks in the same project or are they in other projects.

If they are in other projects, does the rule actor have the correct permissions in those projects?


Tags: cloud

jira-cloud
Jira Automation: Send E-Mail when all sub-tasks are done
Asked by Sebastian Vanauer:

Dear Community,

I have a problem with my automation.

I have build an automation that checks if all sub-tasks of an issue are done (ACCEPTED in our naming).

![Screenshot 2024-06-20 091521.png](/t5/image/serverpage/image-id/330753i8607C8B2E2339005/image-size/large?v=v2&px=999 "Screenshot 2024-06-20 091521.png")

If so then the automation should send an email to user XXX.

The automation is working actually BUT it's sending a email everytime when a sub-task has marked as done. The working condition was configured as "ALL MATCH SPECIFIED JQL". So I expect, that the automation only sends an email when ALL sub-tasks matches the condition.

I hope you have an idea about a solution :)

Thank you very much!

Sebastian


Answers:
author: Ste Wright
body: Hi [@Sebastian Vanauer](/t5/user/viewprofilepage/user-id/4796757)

I gave this a go, and it works as expected for me.

The email has the exact wording on this rule? There isn't another rule or notification scheme which could be sending the email?

Also, what does the audit log say for entries where the sub-tasks are not all Accepted?

Ste

comments: author: Sebastian Vanauer
body: Hi Ste,

yes I have no idea what have changed now it's working as expected again.

I hope this will stay now.

Thank you very much for checking this with me :)

Best Regards  
Sebastian


author: Bill Sheboy
body: Hello, all!

I rarely use the Related Issues Conditions because in my experience with automation rules:

* they occasionally do not work as expected, showing no errors in the log, and
* there is no documentation of how they are *implemented* to work.

My hypothesis is there are timing problems between the gathering of issues and the testing of the condition selected.

My workaround when they stubbornly (or intermittently) do not work is to use the Lookup Issues action with JQL and a Smart Value Condition to exactly test what is needed.

Kind regards,  
Bill


author: Juan Carlos Pin
body: Hi [@Sebastian Vanauer](/t5/user/viewprofilepage/user-id/4796757) [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470)

Same here, working for me with the same example. Maybe the transition "Supplier is Available or Newly..." has an automation to notify whenever a subtask gets there.

Regards!


Tags: cloud

jira-cloud
How to update fields in multiple Epics by uding excel file
Asked by Marcin Figiel:

Hi

Is there a way to update fields on epic by using excel file. I have already created several epics by using "Import issues from csv" option but i don't see any way to update aready created epics. I need to update Target date.

Thanks for your help


Answers:
author: Ste Wright
body: Hi [@Marcin Figiel](/t5/user/viewprofilepage/user-id/5524909)

You can, but only using the Admin CSV import tool - you can find that here if you have Jira Admin access:

1. Go to Jira Settings \> System
2. Select *External System Import*from the left-hand menu

The process is described on [this help page](https://support.atlassian.com/jira-cloud-administration/docs/import-data-from-a-csv-file/), but the important detail is this:
> To update existing issues, your CSV file needs to contain a column that maps to Issue Key. If an issue exists for a given key, it will be updated.

Ste


author: Marc - Devoteam
body: Hi [@Marcin Figiel](/t5/user/viewprofilepage/user-id/5524909)

Welcome to the community.

As mentioned by [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) , you need to have a column in the cvs where you present the issue key of existing issues.

On importing the existing issues will then be updated with the provided details in the csv.


author: Hannes Obweger - JXL for Jira
body: Hi [@Marcin Figiel](/t5/user/viewprofilepage/user-id/5524909)

welcome to the community!

Just to add to Ste's great answer: If you are looking for a more interactive experience and are open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2731753).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. All editable fields can also be updated in bulk, via copy/paste. This works within JXL, but also between JXL and pretty much any other app, like so:

![copy-paste-storypoints-from-excel-to-jxl.gif](https://community.atlassian.com/t5/image/serverpage/image-id/332990i5EB135F52D70CE2D/image-size/large?v=v2&px=999 "copy-paste-storypoints-from-excel-to-jxl.gif")

As you can see, this is super flexible - you really just want to pay attention that you are pasting into the right set of issues. This works for any number of issues in one go, so you should be done with your work in no time.

I should also add that JXL can do much more than the above: From support for configurable *issue hierarchies* , to *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting*.

Any questions just let me know,

Best,

Hannes


Tags: jira-unknown-hosting-type

unknown-hosting-type
Is there a way to delete a comment I copied from subtask that has been edited
Asked by Grace :D:

I made an automation to copy whatever comments I enter on the subtask level onto the parent level. Im wondering if is it possible to make an automation to like say

Scenario:   
I edit the comment on the subtask level   

Outcome:  
1. Edited comment is added to parent level

2. Comment that was previously added to the parent level because of the other automation is deleted

Is this possible to do in Jira?


Answers:
author: Ste Wright
body: Hi [@Grace :D](/t5/user/viewprofilepage/user-id/5524848)

This might be possible, but it could be somewhat complex.

Can I clarify the logic here, as a good first question - why would this be needed? Why couldn't a user just view the comment in the Sub-task?

Ste

comments: author: Grace :D
body: there were some users who commented that they are often times unaware that there are comments commented in the subtask as they dont check the comments at the subtask. And while I think I could add an automation to send emails when comments are added... there are users who comment that they dont want to have too many emails coming in as well...


Tags: jira-unknown-hosting-type

unknown-hosting-type
Is there any REST API to create request type fields in Jira service management projects
Asked by Ravi Prasad:

Hi,

Is there any REST API to create request type fields in the JIRA Service management project. I'm able to create request type with default fields only. I want to create extra fields (not custom fields) in the request type payload. Please let me know is there anyway to create request type fields.

Regards,

Ravi Prasad.


Answers:
author: Marc - Devoteam
body: Hi [@Ravi Prasad](/t5/user/viewprofilepage/user-id/5370025)

Request Type fields don't exist.

Request Types are build out of system fields or custom fields in the system and the fields have to be present on the create screen you are using, linked to the issue type.


Tags: cloud

fields

jira-service-management

jira-service-management-cloud

request-type
We want to implement a rule using automation for Jira, to identify a duplicate custom filed value
Asked by prasad biddika:

We want to implement a rule using automation for Jira, to identify a duplicate custom filed value.

The custom field name is "JIL" which is a number field, if a customer submits with duplicate custom field value the issue automictically set to CLOSED status.

Please help to implement the automation rule.

Thanks


Answers:
author: Ste Wright
body: Hi [@prasad biddika](/t5/user/viewprofilepage/user-id/4787548)

This should work:

* **Trigger:**Issue created
* **Action:** Lookup issues
  * JQL - *JIL = {{triggerissue.JIL}}*
* **Condition:** {{smart values}} condition
  * First value = *{{lookupIssues.size\|0}}*
  * Condition = greater than
  * Second value = 1
* **Action:** Transition Issue
  * Destination status = Closed

---

The rule:

* Activates on issue creation
* Retrieves a list of issues which have the JIL set to the number provided in the existing ticket
* Checks the size of the issue list is not more than 1
* If it is, transitions the issue to "Closed"

Ste

comments: author: prasad biddika
body: Thanks Ste it worked for me


Tags: cloud

jira-cloud
Is there any REST API to get issue type fields in team managed project?
Asked by Ravi Prasad:

I searched many resource to get **Issue type fields** in the team managed projects, but I couldn't get anything is there any **REST API** to call individual issue types filed in **team managed projects** . Also I need **REST API** to get Screen tab fields.

Regards,

Ravi Prasad.


Answers:
author: Marc - Devoteam
body: Hi [@Ravi Prasad](/t5/user/viewprofilepage/user-id/5370025)

To simply answer you question, No.

This can only be done with company managed projects.

With team managed projects there are no Issue Type fields, Screens or any other types of Schemes.


Tags: cloud

fields

issue-type

jira-cloud

rest-api

screen

team-managed-projects
How to make query for not allowing the addition of duplicated issues in Jira
Asked by Fahad Mubarik:

I want to make the automation for not allowing to add duplicated tasks in Jira,any one can help


Answers:
author: Ste Wright
body: Hi [@Fahad Mubarik](/t5/user/viewprofilepage/user-id/5515269)

Automation can check post-creation for duplicate issues or field values - then take action (eg. close the duplicate, delete it, etc).

What parameters dictate if an issue is a duplicate?

And what would you like to happen to the duplicate once identified?

Ste

comments: author: Fahad Mubarik
body: i want to delete the duplicate or let say dont want to allow the addition of duplicate issues,


Tags: cloud

jira-cloud
default access
Asked by Max_Clark:

Hey everyone I'm hoping this is simple but i cant work it out.

we have SSO set up for our Atlassian products however when a new user logs in their account get created and they gain access to ALL our products

I only really want Jira and confluence to be made available and not have things like atlas and product discovery apply to their profile

how do i stop this behaviour


Answers:
author: Nicolas Grossi
body: [@Max_Clark](/t5/user/viewprofilepage/user-id/4514286) As you have a premium account you might want to contact support.atlassian.com


Tags: cloud

jira-cloud
API/email notification of a closed sprint
Asked by Pooja Wandile:

HI,

When a sprint is closed in Jira, does it generate an API/JSON response or email notification? Where and how is the closed sprint response stored and in what format? I am looking for getting a real time sprint closure response from Jira for all boards and sprints as and when sprints are closed. I want to extract sprint data of every board and sprint and store it in table/DB and then use this data for further custom metrics calculations.

Any help is highly appreciated

Thanks

Pooja


Answers:
author: Nicolas Grossi
body: [@Pooja Wandile](/t5/user/viewprofilepage/user-id/5021825) you might take a look at this thread: <https://community.atlassian.com/t5/Jira-questions/Automation-Send-Email-After-Sprint-Ends/qaq-p/2485894>

Nicolas


Tags: data-center

jira-data-center
I want to see reopened issues that was fixed by specific developer
Asked by Rahul Wattamwar:

I have 15 reopened issues. But i want to know that, by which developer those were fixed?

Right now, those bugs assginrd to QA person


Answers:
author: Tuncay Senturk
body: Hello [@Rahul Wattamwar](/t5/user/viewprofilepage/user-id/3936999)

If you are free to use an app for this purpose, I'd recommend [Enhancer Plugin for Jira.](https://marketplace.atlassian.com/apps/5139/enhancer-plugin-for-jira?hosting=cloud&tab=overview)

You can create a [resolution user custom field](https://appfire.atlassian.net/wiki/spaces/JEPC/pages/11337955/First+Last+Resolved+User+Custom+Field) to track who resolved the ticket.

Also, you can use the [Reopened Counter](https://appfire.atlassian.net/wiki/spaces/JEPC/pages/11338350/Reopened+Counter+Custom+Field) field to track the number of times an issue has been resolved.

You can use both fields in your JQL and view the results in the issue navigator.

An alternative is to redesign your workflow and set some fields in your transition post functions. However, this will not show results for issues that are already resolved and reopened.


Tags: cloud

jira-cloud
How to perform a migration and merge two different Atlassian Cloud instances?
Asked by Hernani J?nior:

Hello, Atlassian Community!

I am facing a challenge and would like to know if anyone here has experience or material that can help me. I need to perform a migration to merge two different Atlassian Cloud instances into a single instance. Specifically, I am dealing with Jira Cloud, Confluence Cloud, and possibly other Atlassian products.

Here are some details about the situation:

1. **Source Instances:**

   * Instance 1: Contains projects, users, and specific configurations that we need to retain.
   * Instance 2: Contains another set of projects, users, and configurations that also need to be preserved.
2. **Objective:**

   * Merge both instances into a single consolidated instance without losing data, history, project configurations, and user permissions.
3. **Identified Challenges:**

   * Ensuring no data loss during the migration.
   * Retaining specific configurations and customizations of each project.
   * Managing duplication of users and permissions.
   * Integrating existing automations and integrations from both instances.
4. **What I'm looking for:**

   * Detailed steps to perform this migration.
   * Experiences from those who have gone through this process.
   * Recommended tools or add-ons to facilitate the migration.
   * Official Atlassian materials or documentation that might be useful.
   * Tips and best practices to ensure a smooth and successful migration.

Any help or guidance would be extremely valuable. Thank you all in advance for your collaboration and support!


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

I have done this several times with the Revyz Data Manager app in the Atlassian Marketplace. Not sure if have completed your need or not.


author: Nicolas Grossi
body: [@Hernani J?nior](/t5/user/viewprofilepage/user-id/5510513) Welcome, you might take a look to all the options here: <https://support.atlassian.com/jira-cloud-administration/docs/import-and-export-your-data-to-and-from-jira-cloud/>

Nicolas


Tags: cloud

jira-cloud