Darryl Lee Community Champion

Comments

  • Ohey @Stefaan Vandaele ... In the immortal words of John McClane said, "Welcome to the party, pal!" I wrote a tiny bit about this here: Why is Atlassian promoting Shadow IT? Or Accidental IT? And people are NOT happy in a few of the tickets that seem to address this: * CLOUD-10325 - Allow non-Enterprise administrators to…
  • Ohey! I was told at Team 24 Europe last week that Atlassian has supposedly FIXED the bug that still allowed managed users in orgs with Atlassian Guard Enterprise to create sites on mobile devices (even if Product Requests are set to require review). So hey, paying for Enterprise is totally worth it now. ;-P
  • Hi @Nenad Neshov and @Jack Brickey - This you first included is from the Jira UI. @Paolo is correct that On and St refer to different Organizations. They are usually the first two letters of that Organization. This page might be helpful in understanding Organizations: What is an Atlassian organization? The second dropdown…
  • Documentation for Advanced Field Editing for Single-select custom fields: Select a single value from a defined list of values. You can address them by value or id. "customfield_11449" : { "value": "option3" } or "customfield_11449" : { "id": 10112 }
  • Hi @Philip Kroos - TEAM XALT -- I think this should work: "customfield_2": { "id": "{{#if(equals(triggerIssue.fields.customfield_1.id, "optionId-1-a"))}}optionId-1-b{{/}}{{#if(equals(triggerIssue.fields.customfield_2.id, "optionId-2-a"))}}optionId-2-b{{/}}"
  • Hi @Jerel Crosland I found undocumented API endpoints to get usage data out of Cloud. Have never looked for Audit Logs... Let's see... Ah, here we go: After I went to https://YOURSITE/secure/AutomationGlobalAdminAction!default.jspa#/audit-log And sniffed around in Chrome's Developer Panel. Found this:…
  • Amazing @Bill Sheboy - honestly if you keep writing articles like this, people will want to send YOU to Barcelona. Heck, I do. ;-}
  • Automation doesn't support Attachments. As previously discussed here: * How can I attach a document to an issue through Automation? Automation doesn't have a filesystem. So there's no place for it to "keep" your PDF, so then there's also no place where you could specify where the PDF "lives" to upload it. I think the only…
  • Hi @Scarlett - first I would check to see if the trusted group has any members: https://[YOURSITE].atlassian.net/rest/api/2/group?groupname= trusted-users-abcd1234-xxxxx-xxxxxx If that group doesn't have any members, I think you are safe to remove it. If the trusted-users group is not empty you probably should check to see…
  • So this is fun: Last week I found that Product Discovery, er I mean Discovered products failed to discover a site that was created 2 weeks prior. No email, but worse still, it didn't even show up on the "Discovered products" page, which is what all of us poor standard users get. (HUH. Maybe they could add it to Atlassian…
  • @Bob Swift {Appfire} has done it again. His venerable CLI tool can do this with ease. The command is: acli wiki -a getPageList --parent "Darryl Lee's Home" --space "~177650266" --outputFormat 2 24 pages in list "Space","Title","Id","Parent id","Author","Created","Modifier","Modified","Version","Url","Tiny…
  • @Eleanor Mallory It's the Atlassian accountId, which you can obtain at a site level with this API, if you have their username (email address): https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-group-and-user-picker/#api-rest-api-3-groupuserpicker-get
  • Yikes. Having to downgrade and then upgrade seems like a pretty long way to go to fix Slack integration, but glad you found a solution.
  • Ah, needed a bit of encoding. Tested and validated it works: Custom data: { "spaceId": "753666", "status": "current", "title": "{{issue.key}} {{issue.summary}}", "parentId": "950274", "body": { "representation": "wiki", "value": "{{issue.description.jsonEncode}}" } } * jsonEncode() documentation The example from there is…
  • Hi @Philip Kroos - TEAM XALT - actually the POST can accept wiki just fine. Here's how I was able to create a page with a curl command: curl --request POST \ --url 'https://MYSITE.atlassian.net/wiki/api/v2/pages' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type:…
  • Thanks for the call, @John Funk but full disclosure, I haven't set this up myself... but... Hi @Mariano -- Watching your video, I wonder if you have taken the step described here: You'll then be taken to Slack's App Directory to install the Confluence Server Slack app. Click the green "Install" button for the Slack app and…
  • Ugh. I realize that using the official Get organizations endpoint won't work because for discovered products, you are NOT the org admin until you add yourself. SO ok, I guess I've gotta go rogue. If you export your admin.atlassian.com cookies from your browser, this curl command will dump all of the rogue sites to a JSON…
  • Hi @Philip Kroos - TEAM XALT So from a quick test, it looks like {{description}} returns what looks like wiki format. My audit log (which doesn't include linefeeds) shows: This is a list * A * B * C [https://somejiralink|https://somejiralink|smartcard] The Confluence API accepts data in wiki format. So I would try this:…
  • Hey @Vikrant Mandle - I know you're asking me about Confluence. Bear with me - I will get there eventually... So @Sarah Wright was asking about using Automation to insert this "macro" into a Jira rich text fields (like Description). This allows you to insert a nifty table of Jira issues right into ... your Jira issue…
  • Ugh, I figured it out, and it's annoying because it's right there: Sigh. Welp, thanks for helping me rubber duck my problem. I don't know if it helps with your issue @Brad Hebert .
  • Ohey @Brad Hebert and @Bill Sheboy - funny, I'm working on an automation and running into the same issue. I did some testing and I've added the following to the audit log before my conditional check for "Linked issues present (Types: All link types)". Lo and behold, logs show: links: SUS-4860 But the subsequent "CONDITION…
  • Hey @Stefan Draber - since I believe the content you are generating is metadata about your site, one thing you could maybe do is create your own personal Confluence Cloud instance, install that add-on, and paste in the content just to debug what's going on. The other thing, since it looks like you're using some kind of…
  • Hi @Stefan Draber - There is some ... interesting Python syntax going on here that I don't quite understand: row += ""-join(f"<td>{'✔' if perms.get(operation) else '✘'}</td>" for operation in operation_to_column.keys()) (Also, it would probably be easier for people to debug and test this if you posted the actual code. Like…
  • I think Trudy's nailed it. Maybe try flipping it around: "StandupFlag" = {{#issue.customfield_10038}}"{{.}}"{{^first}} ,{{/}}{{/}}
  • @Dr. Peter Heck Thank you for the correction. I've updated my comment. Ugh, I really should write a new article.
  • Hi @Dr. Peter Heck - One more request: Could you please change our real company name to company? I had changed only the first case and can not do it by my self. Oh, I figured it out. Fixed.
  • Hi @Dr. Peter Heck - Welp, I'm long overdue in writing an update to this article now that we have actually MIGRATED to Cloud. But enh, that sounds like a lot of work. Let's look at your specific questions: 1. which columns are in your file “txt:/etc/httpd/pageids.txt”? Only these 2: source_pageid destination_pageid…
  • Oh hey @Phillip C - so this is not a full solution, but maybe it will help you or somebody else. @Hans Polder - yeah, there's no published API for Jira Automation Usage, but hey, not having a public API has never stopped me before. :-} So, poking around, I found that you can programmatically get the top 100 used rules for…
  • Hi @Philip Kroos - TEAM XALT - your automation sounds pretty cool! To add labels, you have to use a v1 API endpoint: * https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels/#api-wiki-rest-api-content-id-label-post It seems like the v1 Content Create endpoint would allow you to set labels (under…
  • Hi @Mariana Lindote - one of the interesting things about your request is the idea that you only want issues that meet a certain criteria of high priority to be filed as Epics/Initiatives. This reminds me of the service desk concept of deflecting users to KB articles instead of having to file a ticket. My question would…