youngmon/atlassian-qna huggingface dataset:
To field for triggering an E-mail Notification is not taking the reporter value of an issue.
Asked by Mariano Nicol?s Santoiano:

Hi Team,

I have this error in my automation **"Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty.** **"** the thing here is that the address field is the reporter of the ticket, so I can't find the error of why it is no working. All tickets have reporter.

![Screenshot 2023-11-14 at 11.26.05.png](https://community.atlassian.com/t5/image/serverpage/image-id/291627iA49710CF23B82315/image-dimensions/382x333?v=v2 "Screenshot 2023-11-14 at 11.26.05.png")![Screenshot 2023-11-14 at 11.26.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/291628i82A50DEBA9D0831F/image-dimensions/257x545?v=v2 "Screenshot 2023-11-14 at 11.26.42.png")![Screenshot 2023-11-14 at 11.26.51.png](https://community.atlassian.com/t5/image/serverpage/image-id/291629i63E8F0C0DF73C3EA/image-dimensions/279x471?v=v2 "Screenshot 2023-11-14 at 11.26.51.png")![Screenshot 2023-11-14 at 11.27.44.png](https://community.atlassian.com/t5/image/serverpage/image-id/291631iF69C1AD636FB9751/image-size/large?v=v2&px=999 "Screenshot 2023-11-14 at 11.27.44.png")


Answers:
author: Bill Sheboy
body: Hi [@Mariano Nicol?s Santoiano](/t5/user/viewprofilepage/user-id/5227479)

The way your rule is constructed, it will try to send an email for each issue provided by the trigger.

And so I hypothesize that one, or more, of the issues have a Reporter / user that has either been deleted or deactivated in your Jira instance. You could test that by running the JQL from the trigger stand-alone and reviewing the reporters.

Kind regards,  
Bill
Automation if mentioned user is not in group
Asked by Sven:

Hello community,

I want to create an automation that checks the mentioned users in a comment to see if they are part of a specific group.

Do you have any ideas on whether this is possible, and if so, how the condition for the check should look?

Cheers, Sven


Answers:
author: Bill Sheboy
body: Hi [@Sven Schmitting](/t5/user/viewprofilepage/user-id/4874760)

Just following up to learn if you solved this question yet.

If not...a mentioned user cannot be directly checked for group membership, but a couple of work-arounds are:

* Temporarily assign the user to the issue, use the User Condition with "user is in group" and specify the group, and then re-assign the issue back
* Use a Send Web Request to call the REST API function to get all users in the group, and then check if your mentioned user is present.

Kind regards,  
Bill


author: trung
body: hi [@Sven Schmitting](/t5/user/viewprofilepage/user-id/4874760)

JQL does not support to search the mentioned user with type = group. I thinks you maybe try hard code in JQL condition by list down one by one user in group you want, like below:

comment !\~ userID-1 and comment !\~ userID-2 and comment !\~ ....

![112.png](https://community.atlassian.com/t5/image/serverpage/image-id/291554i534E0ECC11638639/image-size/large?v=v2&px=999 "112.png")
How to modify value of custom date field with smart values
Asked by Tom Yan:

Hi,

I am trying to modify the value of a date custom field using smart values for a Jira Automation, according to this documentation: [Jira smart values - date and time \| Cloud automation Cloud \| Atlassian Support.](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/)

I have printed out log messages to troubleshoot, and the issue appears to come from the fact that I am using a custom field (date), as .plusDays(14) works for the native "created" field. The Edit Issue action follows:

**{**   
**"fields": { "customfield_10022": "{{ issue.customfield_10022.plusDays(14) }}"}**   
**}**

customfield_10022 is "Target start"

What am I missing here?

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


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

There are some extra spaces in your smart value expressions, so please try removing those.

And if that does not work...I have seen this symptom in other posts, where a date field in rules is somehow returned as text.

Please try adding toDate for a conversion before trying the increment, like this:

```
{
  "fields": { 
    "customfield_10022" : "{{issue.customfield_10022.toDate.plusDays(14).jiraDate}}"
  }
}
```

Kind regards,  
Bill

comments: author: Kian Stack Mumo Systems
body: [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313), great tip on the ".toDate". I just tried that out and it worked well. I thought I had tried that, but I must have done something wrong previously!


author: Bill Sheboy
body: Hi [@Tom Yan](/t5/user/viewprofilepage/user-id/5363376)

Just following up to check if this solved your question or if there is more to do. Thanks!


author: Tom Yan
body: Hi Bill,

Thanks so much. That did the trick!


author: Kian Stack Mumo Systems
body: [@Tom Yan](/t5/user/viewprofilepage/user-id/5363376),

You could raise a ticket with Atlassian.. I cannot get any functions to work on the custom field of type "date".


Tags: custom-field

date
Sum up values of "Number" field of all stories linked to epic
Asked by Jyotsna Chimakurthi:

Is it possible to automatically sum up all values of "**Number** " field of all stories linked to an epic and display the resulting value on the epic?


Answers:
author: Rudy Holtkamp
body: Hi [@Jyotsna Chimakurthi](/t5/user/viewprofilepage/user-id/5010100) ,

Take a look at this article which explains how to create an automation rule which sums up the story points: <https://community.atlassian.com/t5/Automation-articles/Jira-Automation-Sum-Up-Story-Points-from-Epics-e-g-Initiative-gt/ba-p/1926311>

Not exactly what you want, but you probably can distill your answer from the article.


author: Andreas Haaken _APTIS_
body: Hi [@Jyotsna Chimakurthi](/t5/user/viewprofilepage/user-id/5010100) , there might be some automations around but they are limited to the admins that create this and need to jump in every time it needs changes.   

Maybe you would consider to use our app, which has this use case in mind to summarize everything that is number or time based, like this:

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

You can do this with [Epic Sum Up](https://marketplace.atlassian.com/apps/1213091/epic-sum-up-lean-project-management-bulk-editing-in-jira?hosting=cloud&tab=overview).

comments: author: Jyotsna Chimakurthi
body: Hi,

I have created the automation below but sum up story values are not reflecting in epic issue. Kindly check and help me what was the issue in the automation.

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

Regards,

Jyotsna Chimakurthi.
Specify a valid value for reporter error while creating user story from agile work bench in pega
Asked by Anil Katasani:

"Specify a valid value for reporter" error is getting while creating user story/ bug from agile workbench in pega


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

That appears to be a product external to Jira. I recommend working with your Jira Site Admin to contact the vendor Pega for support.

Kind regards,  
Bill
How to rollup timetracking from user story to EPIC without lookup issue
Asked by Abhishek Goyal:

Hello Team

I am Facing one issue,

I followed -up on the post which says rollup of the estimate can be done through lookup issues.

But the same is not available, a screenshot can be referred to.

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

**I followed the below approach which**

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

but its not rolling up in the EPIC . I also followed some of the post ([How to sum up logged hours using automation in Jir... - Atlassian Community](https://community.atlassian.com/t5/Automation-articles/How-to-sum-up-logged-hours-using-automation-in-Jira-Cloud/ba-p/1409115)) which gave some solutions but no one of the solutions work for me.

Is there any way to do it ?


Answers:
author: Bill Sheboy
body: Hi [@Abhishek Goyal](/t5/user/viewprofilepage/user-id/5355517)

You seem to keep asking this same question, with 3 questions thus far. Please wait until the community has answered your question. There is no need to repeatedly post it in different formats.

<https://community.atlassian.com/t5/Jira-Software-questions/Is-there-way-to-roll-up-old-work-log-into-EPIC/qaq-p/2522870>

<https://community.atlassian.com/t5/Automation-questions/Is-there-way-to-roll-up-old-work-log-into-EPIC/qaq-p/2522874>

As you do not appear to have the Lookup Issues action, you are probably using Jira Server. Is that correct?

If so, you would instead need to use either the bulk-handling feature of branches, or more likely, use a Send Web Request to call the REST API to search for issues and some the values.

I recommend you pause and discuss what you are trying to do with your Jira Site Admin so they can assist you.

Kind regards,  
Bill


Tags: atl-gruland
JIRA Automation: Copy Feature Estimate value to Story Points field
Asked by Pallavi Murthy:

Hi Folks,

I have 2 Projects. One Parent project that has the features and a Child project that has the stories which are child issues under the Features in the Parent Project.

I need the total of the child issues to sum up and reflect in the Feature Story points field with limited access (Do not have JIRA admin access)

I see the sum I am looking for under the Estimates label in the Feature backlog view as highlighted below. Is there a way to copy that value to the Story Points custom field in the Feature

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


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

If you had Jira site admin access (or could work with your site admin to help), you could create an automation rule spanning the two projects to do this. The reason this requires at least site admin access is this will be a multi-project rule.

Without site admin access, your options are:

* manually update the issues using the Jira UI
* export all of the stories from the one project to a spreadsheet, sum the results, and then use issue import to update the issues in the other project

Kind regards,  
Bill

comments: author: Kalyan Sattaluri
body: For above use case where user may not have access to create automation rule spanning multiple projects but has has "access" to both projects, that is, can get access token from the "stories" project if different... they can use web request action, make an API call to get all stories and add the points..

I am in DC edition, used this end point ([LINK](https://confluence.atlassian.com/jirakb/retrieve-user-stories-added-to-epic-using-rest-api-jql-search-779158635.html)) and made a get call and did {{webhookresponse.body.issues.fields.mystorypointsfield.sum}} on response to get the sum. So in theory should be able to run a scheduled rule to do this on a set frequency across all features.

BTW, huge fan of [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) and love reading \& learning from your posts whenever free, of course I other favorites here but you are on the top!!


Tags: cloud

jira
Is it possible to use smart values on the "create from branch" option to create branch in github?
Asked by Andre Santos:

I want to create a Quick Action automation where I create a new branch in github. I want to also fill out the 'source branch' based on a smart value (in this case issue fix version) but it seems I can only use smart vales on the Branch Name.

Is there any way to achieve this or another trick to do it?


Answers:
author: kongsiyu
body: I also encountered the same issure, but it seems that this component is not supported at present, and if you want to implement it, you can only develop your own component or use web request
Is there way to roll up old work log into EPIC ?
Asked by Abhishek Goyal:

Hello All

Greetings !!!

I Have one question to ask mentioned below.

I have one EPIC , which has multiple user-story, and all the user-story have some work logged.

Now I created one automation that logged the work into epic but that worked only for the worklog which I modified after this automation.

So the ask is how I rolled-up the old worklog into parent EPIC.

Let's understand by an example.

I have one Epic X , which has 2 userstory in it.

1 userstory logged worked 10 hrs

2 userstory logged work 8 .

Now I enable the automation, after the

I added 10 hrs logged work in 1 user story and 10 into 2 user story, now in the EPIC its showing only 20 but ideally I want it should show 38 .

Can some one help how can I achieve this buy automation?

![automation.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/289740i4D59A33BA3195518/image-size/large?v=v2&px=999 "automation.jpg")![automation.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/289741i6C2D127D72693B21/image-size/large?v=v2&px=999 "automation.jpg")


Answers:
author: Mykenna Cepek
body: Your rule only performs the Log Work action when *new work* is logged on a Story, Task or Bug.

The original 10 and 8 hours that were on the two Stories *before you turned on this rule* will not matter to this rule.

The time you logged on the Stories after you enabled the rule worked fine, so your rule is working as implemented. But only *newly logged time* will get accumulated to the Epic. Previously entered time will not.

You could create a different rule to go through everything and "initialize" your Epics with a total of all the time logged to their child Stories. You'd run that rule once to get the original 18 hours into the Epic. Then your new rule will handle time logged after that.


Tags: atl-gruland
How to update story points for an Epic when one of the child removed
Asked by Bijal Patel:

I am having issue writing an automation for any Epic which looses a child. I cant seem figure how to update the story points for an Epic when it looses of a child ticket


Answers:
author: Olga Videc
body: Hello [@Bijal Patel](/t5/user/viewprofilepage/user-id/5192059)

This question has been widely covered in few posts, the short answer is use automation to sum sub-tasks story points, the question how do you loose a child issue? Is it moved, edited or?

<https://community.atlassian.com/t5/Jira-questions/Sum-up-story-points-to-the-epic/qaq-p/2004404>

<https://community.atlassian.com/t5/Automation-questions/How-do-you-sum-up-story-points-to-the-epic-using-jira-automation/qaq-p/1731595>

<https://community.atlassian.com/t5/Jira-questions/Recalculate-story-points-on-Epic-when-children-removed-added-and/qaq-p/2432486>

Can you please check this posts they cover a lot of different scenarios.

Fell free to ask for any further questions.

BR, Olga


author: Bill Sheboy
body: Hi [@Bijal Patel](/t5/user/viewprofilepage/user-id/5192059)

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!

Kind regards,  
Bill
How to watch a specific user page view per a page, in space. and export to Excel.
Asked by ?? ?_EG:

I want to watch a specific user page view per a page, in space.

I know Page analytics Views but its not all user and can't export Excel.


Answers:
author: Levente Szabo _Midori_
body: [@?? ?_EG](/t5/user/viewprofilepage/user-id/5354252) Your use case description is a bit short and I don't know what you mean by "Page analytics Views is not all user" but I don't think Automation for Confluence can fit your requirement.

For one solution, [Better Content Archiving for Confluence](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview&utm_campaign=gh&utm_medium=cac-comment-2521423&utm_source=cac) comes with an analytics option that gives you [page view and page update metrics](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/manage-the-content-lifecycle/view-the-content-status?utm_campaign=gh&utm_medium=cac-comment-2521423&utm_source=cac#tab-views) for a set period of time on top of its core content lifecycle management automation features.

![better-content-archiving-page-analytics.gif](https://community.atlassian.com/t5/image/serverpage/image-id/289753i051D0C343C82D043/image-size/large?v=v2&px=999 "better-content-archiving-page-analytics.gif")

*(Please note that Better Content Archiving for Confluence is a free/paid and supported app, and I'm part of the team developing it.)*

comments: author: ?? ?_EG
body: thanks your reply. But install apps is prohibit in my team. so I explain that to my team.


author: Deepak Rai
body: There is an Confluence Analytics menu by using that you can track everything. For more detail refer this: <https://youtu.be/HKemRs5EDPE>

comments: author: ?? ?_EG
body: Thanks your reply.

But I want to watch more detail on a page view and export to PDF.

For example, How many times User A views pageA,pageB,pageC.... in space, October.

If you know how to this, please reply and update your video.
How to export space every month automatically.
Asked by ?? ?_EG:

I want to export space to PDF, every month, automatically.

so I see automatic action but don't exist.

should I give up ?


Answers:
author: Levente Szabo _Midori_
body: [@?? ?_EG](/t5/user/viewprofilepage/user-id/5354252) Do you want to export the *contents* (pages, blogs with their contents) of Confluence spaces or you want some *metrics* about your spaces and export those?

comments: author: ?? ?_EG
body: I want to export the contents pages in space. I know how to export contents but don't know export automatically every month or term that I planned.


author: Himanshi
body: Hello [@?? ?_EG](/t5/user/viewprofilepage/user-id/5354252) ,

Welcome to the community !

I see that a similar use case has been discussed here: <https://community.atlassian.com/t5/Confluence-questions/Automatic-space-export/qaq-p/98981>

Please check if it helps you with your query.

Have a great day!

comments: author: ?? ?_EG
body: thanks! I read it. CLI may be able to export automatically. CLI or Cloud confluence's app is prohibited in my team, so I explain it.


Tags: confluence-cloud
Group Permission
Asked by Kyocera India:

Hi Team,

Please help in creating rule, if I add new users, they should not be assigned all the available groups by default , but to be added only to a specific group.


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

There is no automation rule trigger for new user added, and so a rule could not detect this condition to make the change: <https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/> Automation rules primarily operate on issues, and issue-related events.

To update the default permissions for new users, please work with your Jira admins to make the changes, as described here: <https://support.atlassian.com/user-management/docs/default-groups-and-permissions/>

Kind regards,  
Bill
I'm building an automation that mimics what was on-prem.
Asked by Roger Hall:

The4 component on-prem was:

Then: Import template

I don't see a way to select 'Import template' in the list of fields available in cloud automation. My intent is to import an 'issue for checklist pro' template. Has anyone else been able to do this successfully?


Answers:
author: Bill Sheboy
body: Hi [@Roger Hall](/t5/user/viewprofilepage/user-id/5333941)

Automation rules trigger after something has happened, like issue create. And so they cannot be used to create a template before that point.

For some scenarios, that is not such a problem. For example, some may quickly create an issue, wait for the rule to run, and then immediately edit it to use the template-added information.

If you want a template at the time of issue create, particularly for a checklist field, please check with the vendor of the product you were (are?) using to learn what is possible.

Kind regards,  
Bill


author: Adaeze_Jude_HEROCODERS
body: Hello [@Roger Hall](/t5/user/viewprofilepage/user-id/5333941)

I believe you are currently using Issue Checklist for Jira PRO and would like to use the Templates in automation.

To add Checklists to issues in the Cloud with automation using**Issue Checklist PRO** is quite different from the Server process.

If you wish to automatically add a Checklist upon Issue creation, then you can simply use the [default Checklist feature](https://docs.herocoders.com/checklist/setting-a-default-template). You would need to set this Template as the default Templates for the Issue Type or all Issue Types and the Issue will be added once created.

If you wish to use automation to do this based on other conditions, you can use the [Label integration feature.](https://docs.herocoders.com/checklist/adding-templates-to-issues#AddingTemplatestoIssues-AddingTemplatesBasedonanIssueLabel) You would need to name the label the same as the Template name. e.g. Test-Template(without spaces as labels do not support spaces/case sensitive). On the automation rule add an action to add the label to the issue, once the label is applied, the Checklists Template is added to the issue automatically. To avoid label clusters in case of multiple Checklist, you can add an action to remove the Labels, removing the Templates does not affect the Checklist already added.

You would first need to enable this feature from Global setting as described [here](https://docs.herocoders.com/checklist/configure-checklist-global-settings).

Let me know if you need further assistance, kindly reach out to us [here.](https://herocoders.atlassian.net/servicedesk/customer/portals)