Comments
-
Oooh, that's a neat idea, and I made some headway, but ultimately failed. :-{ I was able to get the list of fields that had changed by: * Create smart value variable named changed with a value of {{changelog}} * Then create a smart value variable named changelist, using the match operator, which returns a list:…
-
So glad it worked for you. Shoot, forgot to warn you about the X-ExperimentalApi : opt-in header. That got me when I was testing this. Good call on limiting it to 3.
-
I'd like Oct 8 if that's still available. Thanks!
-
In my experience it happens after the post-functions. Or well, that's the assumption we're going off of. You could test it by setting a field value in a post-function, and then log that field value in an Automation rule. If we're to believe what the triggers say, they fire "AFTER" the event (issue created/transitioned,…
-
@Alena Samruk I was going to suggest reaching out to Support, because this is weird. But then I dug around. Is this a Next-Gen Project? As with many things (:-( that's probably the problem: https://jira.atlassian.com/browse/JRACLOUD-75792 I wonder if "add" would work here, as documented in that bug. So then: { "update": {…
-
So @Rodney Nissen _Work Wranglers_ _TJL_ posed a question about this in the Innovalog "Stump The Expert Challenge", but for the life of me, I can't figure out how to use JMWE to do it. (Sorry Innovalog.) The challenge is "Round-robin issues based on time zones" - sound familiar? But he also recently posted "Give Me A…
-
Oh, I forgot to mention, I'm testing this on Cloud. I tried with just Project Admin rights, and could still see the Viewers field. Also, interestingly, it didn't seem to matter that Viewers is not on the Screens for my test project. I guess one other thing to ask is whether Viewers are in a valid Field Configuration…
-
@Alena Samruk Are you running on Cloud, Server, or Data Center? If Server/Data Center, what version? Here's what my Viewers custom field looks like: Bill mentioned that you could talk to your instance admin to get the custom field name/number. Do you not have full global rights on this Jira instance, but just project? I…
-
I agree with Bill, you should just try the built in function to copy value from Parent issue. It even has the option to "[x] Add to existing values" in case you don't want to overwrite any subtask viewers:
-
So I enabled Chrome's Developer Tools and watched the Network tab when I entered "VPN help" into the Summary of a Service Desk request and saw this query pop up: https://MYSITE.atlassian.net/rest/servicedesk/knowledgebase/latest/articles/search?project=HELP&query=VPN%20help&spaceKey=HELP That returns a JSON result with the…
-
Form data is submitted using a POST request. So you would need to put the form data in the Webhook body as Custom data. I'll admit it's been a while since I've done this, so I had to look it up. https://stackoverflow.com/a/14551320 You'll likely need to add a header of Content-Type with the…
-
If you think that's cool... I used the REST API to allow us to use Project Entity Properties as a lookup table (if field1 = X and field2 = Y then set userfield1 to Z). It's a little more manageable than rules with a bunch of IF blocks, but having to lookup user account IDs is a pain. I was exploring the idea of actually…
-
Huh. Sounds like it treats priority and duedate like custom fields, in that they're not accessible within the list context: https://community.atlassian.com/t5/Automation-questions/Custom-fields-in-lookupIssues/qaq-p/1432144 That's unfortunate.
-
Maybe because you're iterating through a list you can omit the "issue." and just use {{priority.name}} and {{duedate.fullDate}}. Just an idea - I'm on my phone and can't test.
-
Some other great examples of setting Components based on another field: https://community.atlassian.com/t5/Jira-questions/Scriptrunner-update-components-based-on-another-select-list/qaq-p/679430 https://community.atlassian.com/t5/Jira-questions/Scriptrunner-Post-Function-Sets-Component-based-on-Single-List/qaq-p/1005354
-
I'm sure somebody will can give you a complete script, but it's been a while since I've done it, so I'll just provide you with some pointers if you wanted to take a stab at it yourself: Here's code on how to find check the User Group of an Assignee:…
-
I ran: acli --action getIssueTypeSchemeList --file "test.csv" Against my Cloud instance, and do not see a Projects column in the CSV. Rather, I only see this: "Id","Name","Description","Default Issue Type","Issue Types" I'm running what I think is the latest version of the client: Client name: jiracloud, Client version:…
-
Hi @Amulya Akula {Appfire} no I can't see the ticket. What email was used to create the ticket? My da****l.l**@gmail.com address?
-
It sure would be nice if somebody officially weighed in and, I dunno, maybe documented this? :-} Let's play tag! @and @Nick Menere [Atlassian] @Nick Menere @Andreas Knecht @John McKiernan Did I miss anybody?
-
Glad you figured it out. I'm a bit confused by your final solution though. What does that last .issue refer to? In restrospect I should have suggested you try: {{issue."Environment".value}} A while back @William Sheboy figured out that for some reason, Automation requires Project Property keys to be double-quoted. Might…
-
Maybe try a simpler test first? {{#issue.Environment.value}} To validate that the values are showing up at all? That should generate a comma-delimited list.
-
Also, checking "Enable for me" on the screen that this shows up did not work: It would be nice if the tool got a little love. As @Glenn Bullingham pointed out in his review, there's other issues, like the inability to (or view?) User Properties for other users.
-
You need to make sure the tool is enabled, however I will caution that the only option that worked for me made it show up for EVERYONE. Under Manage Apps, you'll need to click on the Configure button in the app details for Entity Property Tool. You should see this screen: Unfortunately selecting the second checkbox…
-
Interesting! Yeah, based on what you shared about Scriptrunner, I was going to ask if the behavior still manifest if you disabled the Automation. Glad you found the fix. There's a reason Nic is a top-answerer!
-
Hrm, that log entry makes it look like Automation isn't involved at all. (If it was Automation editing the field, I think it would show up in a separate entry.) Could it be a ScriptRunner Listener?
-
Another simpler use for variables if if you need to mail the same notification, but to different sets of users, based on a custom field. Instead of having to copy that notification block X number of times, you can use a smart variable (e.g. {{notifyees}}) that contains the list of email addresses (I made them…
-
@Bill Sheboy always finds the most interesting threads. (Also, I'm really behind on reading posts.) I recently used Create Variable for a somewhat interesting use. I had an automation that previously would send an email/add comment/edit fields that was conditional on a Checkbox option being changed. (The checkbox was only…
-
Ahh yes, "Legacy Automation" (that's what they call it now). I'm new to JSD, so I didn't have any experience with the old automation. Do they support iterators at all? My minimal exposure to Legacy Automations led me to believe the options were much more limited:…
-
As to the original post, would this work? {{issue.field.left(9).isNumeric()}} In my experience I've been able to "combine" methods (I'm sure that's not the right terminology) this way. Example: {{issue.field.value.toLowercase().replace(" ","_").urlEncode}} That takes the field, converts it to lowercase, replaces spaces…
-
Well, I finally got a request filed for this: Possibility to nest smart values in Automation: https://codebarrel.atlassian.net/browse/AUT-2086