Comments
-
Thanks, and...this sounds like a balance of training and error-proofing. This feature has been requested many times over the years, including this open suggestion from over a decade ago: https://jira.atlassian.com/browse/JSWCLOUD-10019 You could add a selection field for the desired numbers, ask the team to use that field,…
-
Thanks for that information, and... The syntax for the date / time diff() function just adds the units at the end, such as days and not toDays: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-difference--- For example: {{issue.Start date.diff(now.plusBusinessDays(3)).days}}
-
Hi @Faroek Sweet Adding to the suggestions from @Fabio Racobaldo _Catworkx_ ... Context is important for automation rule questions. Please post the following to provide more context: * an image of your complete rule in one single image for continuity * images of any relevant actions / conditions / branches where that smart…
-
As noted, there is a trigger to detect editing a comment. Are you observing that does not start the rule? How are you changing the comments: a person edits it, a rule edits it, etc.? Please post an image of your complete rule, in a single image for continuity, and an image of the audit log details showing the rule…
-
Thanks for the additional information. For the scheduled trigger scenario you describe, I recommend first writing a JQL expression to find your work items. Once that works, you may test it with a rule. For example, for a company-managed project with a single Scrum board, to find the work items in the active sprint try this…
-
Hi @arielei What problem are you trying to solve? That is, "why do this?" In my opinion, this need seems like a symptom of an underlying root cause. Perhaps pausing to discuss with the team will help identify that cause and other solutions / mitigations to try. Story points are generally understood to be a relative sizing…
-
Hi @Mikael Sandberg I believe your suggestion is a good one to get the list of all rules (by product) in one batch for use outside of Jira, Confluence, etc., and... Recently released, there is an official REST API to access rules, including some newer experimental endpoints:…
-
Hi @wayneliew -- Welcome to the Atlassian Community! Short answer: always add the Re-fetch Work Item Data action immediately after the Work Item Created trigger to reload the data. There is a known racetrack timing defect with work item creation such that the rule can start before all data is available to the rule. This…
-
Hi @Vimal G Please compare your value to set the Due Date value to the examples in the linked articles provided by @Tomislav Tobijas When already inside a set of double-curly brackets, do not add another set: {{issue.someField.plus(issue.someOtherField)}} If that does not help, please post the expression you are using to…
-
Hi @Kent Chiu What problem are you trying to solve? That is, "why do this?" Knowing that may help the community to offer better suggestions. Until we know that... There is built-in notification where people can watch work items for updates of various types. And if you are encountering situations where the built-in rule…
-
First, the nested conditionals work because there is no scope reduction: both isInternal and author are still visible under comment iteration. (This would be different if you tried to access the assignee from inside the comment iterator: it is "higher" in scope for the issue rather than the comments, and so not visible.)…
-
When the rule trigger is sprint-related, there is a single value in {{sprint}} including all of its properties (e.g., endDate). * https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Sprint-created--started--or-completed *…
-
Hi @Kevin Altman Context is important for automation rule questions. Please post the following to provide more information: * an image of your entire rule in one single image for continuity * an image of the action / condition where you are using that expression * an image of the audit log details showing the rule…
-
Hi @Marc -Devoteam- Have you tested that expression? My understanding is the absolute value function has two possible formats, both of which differ from what you show: inline: {{myNumberValue.abs}} long-format with math expression: {{#=}}ABS({{myNumberValue}}){{/}} Kind regards, Bill
-
Hi @Oliver Moore For the updated rule you show, I do not believe that will work... Branches which could be on more than one thing are processed in parallel and asynchronously, with no guarantee of the processing order or when the branch will finish...up until the last step of the entire rule. That means the branch over…
-
Awesome; I am glad to learn that helped! Please consider marking this question as "answered" to help others with a similar need find solutions faster. Thanks!
-
Yes, I agree. When that built-in documentation was first added, even Jira Cloud rules pointed to Jira Data Center docs! It is definitely incomplete and likely hardcoded to a limited list of values. In my experience, a better way to find the supported smart values is to look at the JSON for an example work item using the…
-
Hi @Leon -- Welcome to the Atlassian Community! As this is a very old thread, please create a new question using the "Ask a question" button at the top of the page. When you create the new one, perhaps add a link back to this thread for context and include your rule details to help the community offer better suggestions: *…
-
No, I do not believe so. Please see Walter's explanation in your other question. Thanks!
-
Hi @Robert Kornel -- Welcome to the Atlassian Community! What have you tried thus far to solve this need? If you have an automation rule which is not working as expected, please note context is important for the community to help. Please post the following: * what version of Jira are you using: Cloud, Server, or Data…
-
One more thing to check: smart values are name, spacing, and case-sensitive. When an incorrect one is used, that returns as null and often fails silently. I believe the correct one for that field is {{issue.Start date}} and sometimes the custom field ID must be used. Please see this how-to article to determine the…
-
Hi @Yuri Suppa Without seeing the specifics of your rule and audit log details...I hypothesize you are using the Work Item Created trigger (or the multiple event trigger including create). There is a known racetrack timing defect with work item creation such that the rule can start before all data is available to the rule.…
-
Hi @Susana Cabaco As with your related question about adding a macro to the page using a rule, the only current workaround is to use the Send Web Request action and... * get the current page content with the REST API endpoint * add your content to the response data * make another endpoint call to update the page Again,…
-
Hi @Susana Cabaco At this time, I believe the only way to do so is with the Send Web Request action to call the REST API endpoints. One challenge for this approach is getting the syntax correct for any macros used, and so often experimentation is required. Kind regards, Bill
-
Hi @József Porohnavec I recommend not using undocumented (or discovered) smart values, rule features, REST API endpoints, etc. without confirming their availability and intended behavior with an actual person in the Atlassian Support team. If you are on a paid license, your Jira Site Admin may submit that request…
-
Hi @Douglas Hall -- Welcome to the Atlassian Community! For a question like this, context is important for the community to help. Please post the following: * what type of project is this: company-managed, team-managed, JPD, etc. * an image of your complete automation rule in a single image for continuity * images of any…
-
Within rules, the Target Start and Target End fields are text representing dates. And so they must be converted first with toDate: {{#issue.customfield_17971.toDate}}func=plusBusinessDays({{workdaysToAdd}}){{/}} And when setting the field, it needs to be in jiraDate format. So save the above value in a variable, perhaps…
-
Hi @Karmandroid Singularity In Jira Cloud, Server, and Data Center automation, a Created Variable is always text / string, and must be converted for use as other types. And... You are using Jira Data Center, and thus for automation rules: * The asNumber function is not supported yet; here is a related suggestion which…
-
Hi @Lin Classon -- Welcome to the Atlassian Community! Yes, and...to the suggestions from @John Funk ... Both of the rules you show using the Work Item Created trigger. There is a known timing defect with that trigger where the rule can sometimes start before all the field data is ready. This can cause symptoms of…
-
Hi @Jet I notice for multiple questions, you are accepting solutions (including your generic post above) rather than letting the original poster interact with the community. Indeed, their question was only posted yesterday! Please allow the original poster to respond to decide if their question has been answered. Kind…