Bill Sheboy Expert

Comments

  • My apologies, Nicolas...It appears indexOf() returns a 0-based value. That is, the first position is at 0. When nothing is found, it returns -1. And so the second value in that condition should be changed to -1 to help when draft is in the first position. I will update the earlier posts also.
  • Issues display on a board based on: * the saved filter * the status values mapped to columns * for a Scrum board the active sprint * for a Kanban board any sub-filter which is applied * for a Kanban board the "Hide completed issues older than" setting * and any Quick Filters or Custom Filters applied And so the workflow…
  • Hi @Jeremy Tatro Please take a look at the CHANGED operator for JQL. With that you can check when a status has (or has not) changed in a particular timeframe. https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#CHANGED With that, you could use a scheduled trigger automation rule to notify the reporters.…
  • Hi @Sujitha.Krishnan The trigger Sprint Started only knows about the sprint, and so that error is telling you the rule cannot see any issues yet. What you can do is remove that condition and replace it with a branch on Issues in the Sprint. And then you can use the Edit Issue action to add the label to each one. Kind…
  • Hi @Katherine Lord For your scenario, I do not believe you will need the created variable. Instead, once you are inside of that branch on Most Recently Created Issue, the {{issue}} smart value refers to your new epic. And so that can be used to set the epic link. * trigger: issue created * action: re-fetch issue (I…
  • Hi @Jill Vieregge Agreeing with Trudy's answer, and... To do this without if/else structures you could use a single, advanced branch, iterating over the values in the multi-select field. Please look at this article for examples of doing that:…
  • Hi @Jonathan Inge -- Welcome to the Atlassian Community! I do not recall if there is a limit on the number of swim lanes (I would guess "no limit"), and... That error is telling you the "FY Quarter" field does not have a value for "FY24 Q1". I hypothesize that is a single-select field, and so if you need values into FY24…
  • Hi @TRO-MCARBALL Yes, you can do that with an automation rule. The rule would be triggered on Sprint Created. To get you started on creating your rule, please refer to these documentation and example sources: * https://www.atlassian.com/software/jira/guides/automation/overview#what-is-automation *…
  • Hi @AS There are a least 2 ways to do this... * Create a global-scope, automation rule, triggered on Project Created trigger. I see this one is not listed in the documentation, yet it appears to work. * When projects are created, they are recorded in the site audit log. You could set up a webhook to push out such events,…
  • Hi @Harsh I do not believe displayName values are required to be unique for users in a Jira site. Instead you may want to compare the accountId values; those will be unique. Kind regards, Bill
  • Hi @tpedriel From what you described, you could use a Lookup Issues action (instead of the branch) to gather the child epics: https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues And then use the min and max functions on the group to set your fields. For example: {{lookupIssues.Start…
  • Hi @Rahul What have you done thus far to solve this problem for yourself? If you have started a rule, please post images of your rule and the audit log details, and describe what is not working as you expect. Those will provide context for the community to offer suggestions. As a reminder, this community is here to offer…
  • Hi @RXAVIER First things first: there have been open suggestions and community posts about whether or not advanced roadmap fields like Target Start and Target End are supported by automation rules. I encourage you to pause and use this how-to article to confirm if they are supported. Essentially you identify an example…
  • When you explicitly write just Profile to the audit log, I wonder if it is only showing the default attribute. That is why I suggested writing the entire thing as it would show the entire JSON structure: {{lookupObjects}} We can also try some hackery...forcing the expression to text like this:…
  • Hi @Shushan Martirosyan -- Welcome to the Atlassian Community! Adding to Jack's answers... For your scenario I recommend being explicit about the relationship between those work items by using issue linking, or other parent/child issue relationships. Otherwise the team is "overloading" the purpose of the summary field, and…
  • Hi @Victor Fairen First thing, for a question like this please post images of your complete automation rule and the audit log details showing the rule execution, describing what is not working as you expected. Those will provide context for the community to offer suggestions. Thanks! Until we see those... I checked, and…
  • What do you see in the audit log if you write the entire {{lookupObjects}} to the audit log? If it is a single-select as shown in the image, perhaps try this: {{#if(equals(Profile.value,"Admin"))}}
  • Hi @Eric Guichaoua Regarding your questions... Question 2 : I don't find any way to get a single user picker to gather this info, and then retrieved the email adress for the "send email" action). There is no user picker yet for the user inputs for the manual trigger. Here is a suggestion to add sources/ways to populate…
  • Hi @UCC DEV Admin -- Welcome to the Atlassian Community! Many of the built-in dashboard gadgets use a saved filter to provide issue data. Have you tried to use a filter with a limited range of time? Kind regards, Bill
  • Hi @Gülümcan Kaya -- Welcome to the Atlassian Community! First thing: it is not a requirement of Jira (or Scrum) to have an assigned person before a change to issue status. (Indeed, that seems opposite of several agile ideas.) That behavior appears to be something your team implemented (with workflow perhaps). Please…
  • What is the type / structure of Profile? I suspect it may not be just text and instead has a lower level attribute that represents the "Admin" you are testing. You can confirm that by writing the entire {{lookupObjects}} result to the audit log. And once it is found, add the attribute to the filter. For example, let's…
  • Hi @Manoj Kumar Gangwar That reference link is for Jira Server and it appears Eric is using Jira Cloud. As there can be differences between the versions / supported features, the equivalent reference for Cloud might be this one: https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#CONTAINS---- Kind…
  • Hi @Eddie Poh -- Welcome to the Atlassian Community! Adding to Valerie's answer... If you have not created automation rules before, please refer to these documentation and example sources to help you get started: * https://www.atlassian.com/software/jira/guides/automation/overview#what-is-automation *…
  • Hi @Matthew Preher The cause may be something else in your JQL, or where that expression is placed. Would you please post your current, complete JQL statement which shows that expression? That will provide context to help the community offer suggestions. Thanks! Kind regards, Bill
  • For that scenario, I believe the same rule can be used, with an adjustment...and I am paraphrasing here to only show the changes in italics :^) With this one, I believe you can remove the new condition we just added. * trigger... * conditions to decided if we should proceed... * branch on the {{fromString}} match to update…
  • If the attribute is visible at that point, you can use list filtering and conditional logic for that: https://community.atlassian.com/t5/Automation-articles/Filtering-smart-value-lists/ba-p/1827588 Your change is close, and with a slight adjustment, and let's assume your Profile is defined in the Group, the change would…
  • Here is a how-to article for calling a REST API function from a rule: https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828 And here is the reference for the REST API functions for issues. There is a single Create Issue and a Bulk Create Issues to consider.…
  • When a field is not listed for the Field Value Changed trigger (or does not seem to trigger the rule), Jack is correct that the generic Issue Updated trigger can be tried. And then use an advanced compare condition to determine if your field changed by checking the changelog: * first value:…
  • Thanks for that additional information, and now I see your access of the smart values is only in the ScriptRunner script. I am not familiar with that app, but now that you have posted the details no doubt the ScriptRunner experts in the community can help.
  • Hi @Robert Wen_Cprime_ Please recall the match() function documentation about regular expressions says the "underlying implementation is based on Java's Pattern class", but it does not say what it actually does (and does not)…