youngmon/atlassian-qna huggingface dataset:
Automation by closing sprints
Asked by Eric Roetenberg:

Hi all,

I want to create an automation rule that does the following who can help me ?

An automation rule that is triggered at

**IF:** At the close of the sprint and the open issue are put back to the backlog . so in other words there is no more active sprint for this issue.

**THEN:** field syncronization SN must be set to Yes.

Greetings Eric


Answers:
author: Perumal M
body: ### Automation Rule Setup {#toc-hId--2125420632}

1. **Navigate to Automation Rules**:

   * Go to your Jira project.
   * Click on `Project settings`.
   * Select `Automation` from the sidebar.
   * Click `Create rule`.
2. **Configure the Trigger**:

   * **Trigger** : Use the "Sprint Closed" trigger.
     * Choose the "Sprint closed" trigger. This will trigger the rule when a sprint is closed.
3. **Add Condition to Check for Issues in the Backlog**:

   * **Condition** : Use the "JQL condition" to filter issues that are moved to the backlog.
     * Select the "JQL condition" from the list of conditions.

Use the following JQL to identify issues that were moved to the backlog after the sprint was closed:  
jql.  
I hope this will help you.  
Thanks,  
Perumal Muralidharan.


Tags: cloud

jira-cloud
Send an e-mail summarizing current tasks
Asked by Baert_ Florian:

Hi !

I tried to create a rule to summarize each user's current tasks.

![2024-09-04_13h59_24.png](/t5/image/serverpage/image-id/345515iF3E10F51884F7DE6/image-size/large?v=v2&px=999 "2024-09-04_13h59_24.png")![2024-09-04_14h00_27.png](/t5/image/serverpage/image-id/345516i52773BB22FBEAD10/image-size/large?v=v2&px=999 "2024-09-04_14h00_27.png")![2024-09-04_14h00_46.png](/t5/image/serverpage/image-id/345517i12A7336AB43165EB/image-size/large?v=v2&px=999 "2024-09-04_14h00_46.png")

The rule finds the tickets I want, but considers the "A" ("To") field to be empty. However, the test tickets do have a person assigned to them. Do you have any idea what's preventing the e-mail from being sent?

Thanks !


Answers:
author: Mary Kable
body: Have you thought about using the Dashboard? Each user can set up a rule to view their tasks across all projects. You can also create a filter for your dashboard to see all users you wish to view their tasks across all projects as well. This would eliminate the need for an email.


Tags: cloud

jira-cloud
Automation - smart value and each cycle
Asked by lucie_bednarikova:

Hi,

I am trying to create an automation that will go through all the issues under the epic and gradually add values ??from the custom field from child issues to the newly created variable (via the Create variable option).

When: Manually triggered   
Then: Create variable  
Variable name\* (required): sumoflevelzero  
Smart value\* (required): 0  
--For: Children  
--Then: Lookup issues  
--JQL: "Parent" = {{issue.key}}  
--And: Edit issue fields  
--Advanced: {{#=}} {{sumoflevelzero}} + {{issue.customfield_10052}} {{/}}  
//here the value in the smart variable should be increased by the value of the child issue

Then: Edit issue fields  
Custom field: {{sumoflevelzero}}

Can anyone please tell me where I am wrong or what I should change? Thank you.


Answers:
author: Trudy Claspill
body: Hello [@lucie_bednarikova](/t5/user/viewprofilepage/user-id/5543770)

Welcome to the Atlassian community.

The Edit action is about editing the issue, not about updating a created variable. There is no action available for updating an existing variable. The only action available is Create Variable, which replaces the value of the existing variable.

Do I understand correctly that you are trying to sum of the values from a Number custom field in the child issues of an Epic, and set a field in the Epic with that sum?

The structure you have shown above is not actually stepping through the issues found by your Lookup Issues action.

Instead you should do the following, if you are manually triggering the rule from the Epic:

```
When: Manually triggered?
IF: issue type = Epic
Then: Lookup issues
     --JQL: "Parent" = {{issue.key}}
And: Edit issue fields (this will edit the Epic)
? ? ?Field to edit: your custom field
     Value: {{lookupIssues.customfield_10052.sum|0}}
```


Tags: cloud

jira-cloud
I want to add a role as soon as a new project is created using automation
Asked by Pramod Pradhan:

1. I want to create a role

2. add that role to a team-managed project

as soon as it gets created using jira global automation.   


Answers:
author: Marc - Devoteam
body: Hi [@Pramod Pradhan](/t5/user/viewprofilepage/user-id/4877463)

Welcome to the community.

Are talking about roles on global level in Jira, if so these are only applicable to permission schemes.

Roles on Team-managed projects are bound to the project only.

This can't be assigned via automation, only an admin of the project is able to create roles and add people to a role.

comments: author: Pramod Pradhan
body: Hi Marc,

Thanks for replying. Is there any work around ? can we do this using using JIRA restapi ? Or running a custom script ?  

Also is there any Automation smart values for project Link ??   

<br />

{{project.id}} is for project id   

{{project.avatarUrls}} is for project avatar. But i couldnt find any smart value for link to the project Home page


author: Marc - Devoteam
body: Hi [@Pramod Pradhan](/t5/user/viewprofilepage/user-id/4877463)

I think I have been wrong.

You could try the following API options.

You can create a role in the system: <https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-role-post>

And you should be able to put the role on a project: <https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-role-id-put>


Tags: cloud

cloud-automation

jira-cloud
Does JQL support an "equal to and only equal to" operator? (== in Java)
Asked by Rob Kelly:

It would be very useful if a user could search for a single value in a pick list, such as find all issues with only one specific version value (not the value in question plus others).  

An iff or equal to and only equal to operator ( == ) would be helpful in many use cases.  

Is there a feature request for this already suggested?


Answers:
author: Samuel Gatica
body: Hi [@Rob Kelly](/t5/user/viewprofilepage/user-id/4363741)

You can try using the following: **summary \~ "\\"saturn summer sizzle\\""**

You can read more about this at [Search for an exact phrase with JQL](https://community.atlassian.com/t5/Jira-articles/Search-for-an-exact-phrase-with-JQL/ba-p/2131545)

However, I don't believe that this is supported by a multiple-field selection.

Best regards

Sam

comments: author: Rob Kelly
body: Thank you for your attempt to support.  

This does not align to the problem statement targeting picklists. I am not concerned with text pattern matches in open text fields.


author: Samuel Gatica
body: Hi [@Rob Kelly](/t5/user/viewprofilepage/user-id/4363741)

I found this similar post [Query a single value from a multi-value field](https://community.atlassian.com/t5/Jira-questions/Query-a-single-value-from-a-multi-value-field/qaq-p/2126731)

*"JQL looks at multi-select fields as though they are a list of options (which they are).*

*If you have an issue with Monday, Wednesday and Friday in the "day" field, then JQL will look at all three when you ask it "show me issues where 'day' = Wednesday", and hence it will return that issue."*

I believe this feature is not yet supported in JQL.

Best regards

Sam


author: Rob Kelly
body: That response is not applicable to this question topic.


Tags: cloud

jira-cloud
Jira Issues Calendar
Asked by wonga_somgungqu:

I want to show the Resolution date for tickets and im not seeing the option in "Date to Display".  

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


Answers:
author: Manoj Gangwar
body: Hi [@wonga_somgungqu](/t5/user/viewprofilepage/user-id/5543890) ,

Welcome to the Atlassian Community!

Currently, it is not feasible.

Please vote on this suggestion - <https://jira.atlassian.com/browse/JRACLOUD-77332>


Tags: cloud

jira-cloud
Unstable Automation Rule for Assigning Task Assignees Based on Epic
Asked by Nguyen Thanh Tien:

I created an automation rule "When Parent Assigns to a User, Change Assignee of All Children Accordingly," as shown in the attached image.  
![Screenshot at Sep 04 16-23-28.png](/t5/image/serverpage/image-id/345481i9A6B081633440BBA/image-dimensions/282x366?v=v2 "Screenshot at Sep 04 16-23-28.png")  
However, this automation runs inconsistently; it sometimes works and sometimes fails, as indicated in the audit log below:  
- Unsuccessful  
![Screenshot at Sep 04 16-24-28.png](/t5/image/serverpage/image-id/345484iEEF2C84232D9BE4F/image-size/large?v=v2&px=999 "Screenshot at Sep 04 16-24-28.png")  
- Successful  
![Screenshot at Sep 04 16-25-20.png](/t5/image/serverpage/image-id/345485i642B45137B938150/image-size/large?v=v2&px=999 "Screenshot at Sep 04 16-25-20.png")  
Does anyone have suggestions on how to resolve this issue?


Answers:
author: Rilwan Ahmed
body: Hi [@Nguyen Thanh Tien](/t5/user/viewprofilepage/user-id/5583875) ,

Welcome to the community !!

There is clear information in the screenshot you attached. You need to **uncheck** the option "*Only include issues that have changed since the last time this rule executed*" in your automation rule for branch condition. Example screenshot attached.

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

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/345504iF2A342D7A63BC3DC/image-dimensions/452x138?v=v2 "image.png")


author: Manoj Gangwar
body: Hi [@Nguyen Thanh Tien](/t5/user/viewprofilepage/user-id/5583875) ,

Welcome to the Atlassian Community!

Please try changing the branch type, from "Children" to "Stories (or other issues in Epic)"


author: Nguyen Thanh Tien
body: I've tried changing the branch type, from "Children" to "Stories (or other issues in Epic)" as [@Manoj Gangwar](/t5/user/viewprofilepage/user-id/4484987) 's advise and uncheck the checkbox as well as [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861) 's adivse. And It works normally now. Thank 2 guys for your support!


author: Nguyen Thanh Tien
body: Hi [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861) , I don't see the checkbox you mentioned from my view. It seems that it does not apply to the related issue 'Children' in my automation rule.![Screenshot at Sep 04 18-14-37.png](https://community.atlassian.com/t5/image/serverpage/image-id/345506iC96C154334802AD8/image-size/large?v=v2&px=999 "Screenshot at Sep 04 18-14-37.png")

comments: author: Rilwan Ahmed
body: Hi [@Nguyen Thanh Tien](/t5/user/viewprofilepage/user-id/5583875) ,

Did you create rule in **Global automation** section ? This option is not present there.

Create the rule in project settings --\> Automation if the rule is related to single project.


author: Nguyen Thanh Tien
body: I created this rule within a team-manage project (not apply for global).


Tags: cloud

jira-cloud
Copy product data estimated to 6 minutes run for 24+ hours
Asked by Adam Bang:

I started a copy product job, and the status has been on "copying" for the past day. In details it is still exporting from my project. The estimate was 6 minutes in the copy plan.


Answers:
author: Luka Hummel - codefortynine
body: Hi [@Adam Bang](/t5/user/viewprofilepage/user-id/5419907)

If you are struggling with moving your Jira projects between Jira Cloud instances, consider utilizing our app [Deep Clone for Jira](https://marketplace.atlassian.com/apps/1218652?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2802692), which provides powerful cloning options and can handle complex use cases efficiently. Deep Clone can clone whole projects including their configuration and schemes between Jira Cloud instances. You can read more [here](https://documentation.codefortynine.com/deep-clone-for-jira/clone-a-project-to-another-instance?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2802692).


author: Evelyn Harder
body: If your project contains a substantial amount of data or complex elements, it might take longer to export.


author: Fazila Ashraf
body: Hi [@Adam Bang](/t5/user/viewprofilepage/user-id/5419907)

How big is the data? Are source and destination both on free plan?

comments: author: Adam Bang
body: Both on free, it's 7 projects, 354 issues and 0 KB attachments


author: Fazila Ashraf
body: hmm.. Is it still in progress with out any errors?

Do you find option initiate it again?


Tags: cloud

jira-cloud
How to import a custom field as measure in eazybi?
Asked by Yousif Al Rawahi:

How to import a custom field as measure in eazybi?

![Screenshot 2024-09-04 125159.png](/t5/image/serverpage/image-id/345470iD28500BF27655ED2/image-size/large?v=v2&px=999 "Screenshot 2024-09-04 125159.png")


Answers:
author: elita_kalane
body: Hi [@Yousif Al Rawahi](/t5/user/viewprofilepage/user-id/5454524)

Thanks for posting your question!

The ability to import a custom field as a measure depends on the type of your Custom field. You can read more here about what custom field types are supported to be imported as a measure - [Standard Custom field types](https://docs.eazybi.com/eazybi/data-import/data-from-jira/jira-custom-fields#Jiracustomfields-Standardcustomfieldtypes)

If the field cannot be imported as a measure, but you need to make some calculations with the field, you can also describe your use case and I can help you to come up with the formula you need. If you don't feel comfortable sharing it here, you can reach out to us directly at support@eazybi.com  

Best wishes,

Elita from support@eazybi.com


author: Andrei Eleodor Sirbu
body: Hello Yousif, welcome to the community

To import a custom field as a measure in EazyBi you need to :

1. click on the settings icon (the cog) in the upper right corner of the app

2. Go to "Advanced Settings" tab

3. Insert the following lines

#The name of your custom field here  
\[jira.customfield_XXXXX\]   
measure = true

With XXXXX values being the id of your custom field

Save the changes then go to the same screen shown on your screenshot and tick the "import as measure" and do a data import.

Kind regards

Andrei Eleodor Sirbu

comments: author: Yousif Al Rawahi
body: I have tried this before and I have tried again now, it doesn't appear the checkbox for measure. Any reason why?


author: elita_kalane
body: Hi [@Yousif Al Rawahi](/t5/user/viewprofilepage/user-id/5454524)

I posted an answer above as well - for some field types it not possible to import the field as a measure, for example a - a text field. Only numerical values can be imported as a measure. Please share your use case regarding what you would like to achieve with your report and we can help you come up with either an MDX or custom JavaScript code.

If your field is a text/string type but you only have numeric values in the text field, you can read more about a solution how to import the field as a measure here (it would require changing the field to numeric) - <https://community.eazybi.com/t/is-it-possible-to-convert-a-jira-custom-field-type-string-to-integer-to-become-a-measure/8003>

Best wishes,

Elita from support@eazybi.com


Tags: cloud

eazybi

jira-cloud
Auto assigning from previous users to new users
Asked by Osama Al-Areky:

Hello,

Is there a way to to auto reassign issues from users removed from the site to new users added based on rules and task type .

Thank you,


Answers:
author: Nikola Perisic
body: Hi [@Osama Al-Areky](/t5/user/viewprofilepage/user-id/5345042)

There is a workaround of bulk editing the issues where the assignee is changed.

* Navigate to Issues section of your project and click on three dots and choose Bulk change issues
* Click on Edit issues and choose the Assignee

Automation rules would work from the moment when you have created the rule and enabled it. So this wouldn't work.


Tags: cloud

jira-cloud
Why can't I attach an email with the 'new' outlook
Asked by Kate Williams:

You used to be able to drag and drop an email into a comment on Jira.

I recently switched to the 'new' Outlook, and you can no longer drag and drop the email. you have to save the email and attach it via the document attachment option. This would still allow you to read the email without having to download it.

![CorrectFormat.png](/t5/image/serverpage/image-id/345462i7BE9E1FA5143E160/image-size/large?v=v2&px=999 "CorrectFormat.png")

But today, when I try to do that it is saving the email in a different format. It still says '.eml', but when you click on it it is just a long page of letters. You are forced to download it to be able to read the content of the email.

![IncorrectFormat.png](/t5/image/serverpage/image-id/345464iABB218F3ACAF8AC2/image-size/large?v=v2&px=999 "IncorrectFormat.png")

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

When is this going to be fixed, so that you can drag and drop the emails on again, and that it previews like it used to?

__________________________

**UPDATE:**

I have just gone to attach another email and it works OK now. In the sense that it saves in the correct format now, so maybe there was a server issue with loading it.

But, I would still like to know when we will be able to drag and drop emails into Jira comments.


Answers:
author: vikram
body: Hi [@Kate Williams](/t5/user/viewprofilepage/user-id/1339687)  
and also Welcome to Atlassian Community


author: vikram
body: Hi [@Kate Williams](/t5/user/viewprofilepage/user-id/3642260)

I think the drag and drop is integrated from Microsoft browser.

Please go through the below url for some light on this topic

<https://stackoverflow.com/questions/35295522/drag-and-drop-outlook-message-into-browser>

and also below url

<https://tonyfederer.github.io/OutlookFileDrag/>

Vikram P


Tags: cloud

jira-cloud

ms-outlook

outlook
Automation rule"story description" is enabled but my template is not shown once I create a new Story
Asked by Fran?ois-Xavier DORE:

Hello,

As a Product Owner, I need to create a user story template in Jira so that we are more efficient to refine the needs with the dev team.

So far I've been able to create an automation rule :

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

But once I create a new story, the "description" field does not contain the template description from automation but this one:

![create a story.png](https://community.atlassian.com/t5/image/serverpage/image-id/345459i086BE2A2C7AABA3D/image-size/large?v=v2&px=999 "create a story.png")

I basically checked the current automation rules but could not identify one already updating that "description" field

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

Any suggestion ?

Thank you


Answers:
author: Andrei Eleodor Sirbu
body: Hello Fran?ois-Xavier, welcome to the community

Could you please post a screenshot of an audit log for the failing automation rule ?

This should help us understand better

Kind regards

Andrei Eleodor Sirbu

comments: author: Fran?ois-Xavier DORE
body: Hello [@Andrei Eleodor Sirbu](/t5/user/viewprofilepage/user-id/5314260)

Nice to "meet" you !

Here is the audit log for such automation. I enabled it again and I still face the same behaviour.

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

Thanks


Tags: automation

jira-unknown-hosting-type

unknown-hosting-type
Linked Issues
Asked by Sherry Nightingale:

Hi

There are 14 Issue Linking Types in my instance that I want to clean up and create standardisation and governance - we only need a few and I want to stop users selecting irrelevant ones by deleting them all together and maybe creating new ones that are more relevant for Canon

I can see how many issues are linked in the 'Issue Linking' Admin area but how can I filter to show issues that are linked using a specific linking type?

Thanks


Answers:
author: Andrei Eleodor Sirbu
body: Hello Sherry,

Did you try using the dependencies view in Plans, (*Advanced Roadmaps*) ?

There is a tab in that view which allows you to select only specific link types and their issues to be displayed.

I don't know if there's any way to do this within the admin panel.

Kind regards

Andrei

comments: author: Sherry Nightingale
body: [@Andrei Eleodor Sirbu](/t5/user/viewprofilepage/user-id/5314260)

I want to see what issues are linked for every project within my instance - is there a certain filter I can create for this?

Thanks

Sherry


author: Andrei Eleodor Sirbu
body: ![Annotation 2024-09-04 113558.png](https://community.atlassian.com/t5/image/serverpage/image-id/345489i430D626ABEDA9D7B/image-size/large?v=v2&px=999 "Annotation 2024-09-04 113558.png")

[@Sherry Nightingale](/t5/user/viewprofilepage/user-id/5299338) just replace the values from the above example with values from your Jira instance.

Let me know if this helps


author: Sherry Nightingale
body: [@Andrei Eleodor Sirbu](/t5/user/viewprofilepage/user-id/5314260) That's great - it worked :-)  

Instead of selecting individual projects though is there a way just to search on the issueLinkType so it shows all issues regardless of projects that use that issueLinkType?

Thanks

Sherry


author: Andrei Eleodor Sirbu
body: Sure you can make it even simpler . This will show you all issues with a issueLinkType regardless of the project

![Annotation 2024-09-04 121355.png](https://community.atlassian.com/t5/image/serverpage/image-id/345503iB417E47A2A46CDD8/image-size/large?v=v2&px=999 "Annotation 2024-09-04 121355.png")


author: Marc - Devoteam
body: Hi [@Sherry Nightingale](/t5/user/viewprofilepage/user-id/5299338)

Amend the JQL [@Andrei Eleodor Sirbu](/t5/user/viewprofilepage/user-id/5314260) provided.

Use: issueLinkType = or IssueLinkType in ()

= for a single option and in () for multiple options


author: Sherry Nightingale
body: Thank for your support - I now have the information that I need


Tags: cloud

jira-cloud
How to copy field values from subtask to parent task when entered or edited
Asked by Robert Ban:

I am using Jira Work Management (Cloud) and a team managed project.  
Via automation I can create 2 sub-tasks when the issue is transitioned.  
User populates fields in the sub-tasks. What should happen then (and when the user edits the field) is that the field values should be copied to the corresponding field in parent issue.  
I cannot use dynamic fields in the parent because I would need to change all the existing issues to have sub tasks which is not the case yet.  
Is this possible?


Answers:
author: Trudy Claspill
body: Hello [@Robert Ban](/t5/user/viewprofilepage/user-id/4706813)

There are triggers for Automation Rules for Field Value Changed and for Issue Updated. You would use one of those to detect that the subtask was changed.

You would then add the following steps:

```
Condition: to check that the changed issue is a subtask

Branch: For Related Issues / Parent

? Action: Edit issue - this will edit the parent of the subtask

? ? set fields here to copy from Trigger issue
```

One question I would ask though is if your issue has multiple subtasks, wouldn't each subtask potentially overwrite information in the parent issue from other subtasks?

comments: author: Kevin Christmann
body: I second what Trudy said and have done similar things myself.


author: Robert Ban
body: Many thanks to you guys and sorry for the late response.  
I haven't had time to check this out yet and will do once I am back from leave on the 8th of August. Will let you know.  
Each subtask is assigned to a different team and only includes the fields relevant to them so no no risk to overwrite anything.  
Many thanks,  
Robert


Tags: cloud

jira-work-management-cloud