Comments
-
Yes to what @Stef wrote. Also, there is a very powerful Forms function available in Jira Service Management, if you happen to have that available: * What are forms?
-
Unfortunately Automation does not have functions to parse JSON. It's ironic (and annoying) because it has lots of functions to format data into JSON. Regrettably, if your data must be JSON, then you're going to have to rely on Text and List functions to parse out what you want. In my examples, my text field is named "Test…
-
Heh, yeah, 50 checkboxes is a bad example. :-} I think it's actually going to be really interesting how this ends up looking in @Darrin Lillians final issues if he does in fact start out with all 50 options initially "checked" in the Scope field. I wonder if you might be able to share a screenshot?
-
Ok. I've taken some deep cleansing breaths. No more ALL CAPS. Sorry about that. So. A friend suggests I offer some real world examples to help explain. Here's one: * How do I allow a customfield of type checkboxes to show the unchecked boxes in an issue ? emileL29 basically wanted a checklist like this: Part of the point…
-
[Edited to resolve the extra comma issue when only adding or removing adding checks, not both.] Ok, found a fix for my use case: OH oh, the other thing I was wondering. What if somebody wants to *uncheck* something they have Descoped. Will you be putting that back into Scope? Here it is: { "update": { "scope": […
-
Ok, here's how to do it with the asJsonObject function: { "update": { "Checkboxes": [ {{#issue.Not Checked}}{"remove": {{value.asJsonObject("value")}} } {{^last}},{{/}}{{/}} ] } } Hm. I think I prefer my original version. Easier to read and understand.
-
Another question @Darrin Lillian - will you be creating a corresponding rule where if somethings is removed from Scope, it gets added to Descoped? My only worry here would be if two people are editing the different fields at the same time, you might run into a race condition. Or are you planning to have Scope be a…
-
I should also probably add a note here saying I don't quite understand the use case. If something is out of scope, then isn't that visible by seeing that it is unchecked? OH WAIT. STUPID NEW ISSUE VIEW HIDES UNCHECKED BOXES. BOOOOOOOO. Ok, now your use case makes sense. Also, it is super-annoying that you have to do this,…
-
Hey @Darrin Lillian I recently answered something similar with help from @Bill Sheboy: * How to add (copy) values from checkbox to labels (update not set) using automation EDITED OOF sorry for the previous version of this answer where I foolishly posted untested code. This time I actually tested, and this version (with…
-
Ok got it. So as I mentioned, the best thing to do is create a test instance or project, and try this there. Ideally you would add Audit log messages to check the values like: LinkType: {{linkType}} | Status: {{issue.status}} | Mercury Env: {{Mercury Environment(s)}} etc. Then you can sure that any conditions you are…
-
Oooof, on a whim, I tried deleting all the leading space (indentation) out of the Additional fields, and bizarrely, that seemed to be what Automation didn't like about my JSON. { "update": { "labels": {{issue.Checkboxes.asJsonObjectArray("value").replace("\"value\"","\"add\"")}} } } So I guess in the big debate over…
-
Also, I wonder if to be careful in case one of the checkbox options contained the word "value" you might want to use this as your replacement: replace("\"value\"","\"add\"") And there's still the edge case that one of the options is actually "value". But this is all academic until I can figure out what Automation doesn't…
-
Ooooh, thanks @Bill Sheboy! I was totally misunderstanding what the key asJsonObjectArray was doing. I thought it let you arbitrarily assign a key to every element of an array, and ALSO I mistakenly thought that {{issue.Checkboxes}} was an array since asJsonArray and asJsonStringArray, were perfectly happy to return lists…
-
Hi @Deb - Ooooh, I finally get to answer a question about Automation for Confluence. Exciting! (Upgrades personal Confluence Cloud instance to free trial of Premium...) Ok, so... the bad news is, it doesn't seem like this is available. There is an Add label action There is a Smart Value for parent…
-
Hey there @Adam Dulberg ! Every label you add has to be in a separate... "add object", so just expanding the list with .asJsonStringArray doesn't work, because I think you'd end up with: "add": ["all", "of", "the", "labels"] So I ended up having to use Automation's list iterator operator (#) to go through each checkbox and…
-
Ok, links always are tricky. So let's see if I've got this right: For example: CM-104 is the Change Management issue. And you are ADDING or REMOVING links to SLAYCRM (is that the Development Project)? Question: "Is an action item for" similar to "Blocks"? I mean to say: you expect all SLAYCRM tickets to be completed before…
-
Hi @Sahish -- As long as your Rule is scoped to be global (all projects) or to the multiple projects where you will need to create issues, then you should be able to: * Trigger on when the "Versions Affected" is changed. Or based on transition - whatever makes sense for you. * Use Issue fields condition to check what…
-
Hi @Doug Slay -- I wonder if part of the problem with too many emails is because you aren't checking to see if the linked or unlinked issue is part of the dev project? Could you try adding: AND Project=ME to your JQL condition check?
-
Oh, I should have mentioned, you don't actually need a guild email address. Automation notifications can be sent to multiple individuals, so you could just individually add those users. The rule could be as simple as this:
-
But yeah, maybe you could try adding an attribute of {firstline: 1234} (maybe "1234"?) to see if that might do something.
-
Oof. I just tested. The language and firstline parameters don't seem to do anything. Very odd.
-
Hi @Alperen Ozdemir - Welcome to the Community! I think what you're running into is that the code format in the Description field doesn't seem to allow additional syntax highlighting. At least I could not do this in the UI. I did find an answer that links to documentation for the {code} macro in Confluence which apparently…
-
Hi @Brendan Sheppard and welcome to the Community! If you download a few Unix tools for Windows, or can get access to a Mac or Linux machine, there is a "shell script" that can download all attachments for a project (based on a JQL query). The original version from an Atlassian Support Engineer puts them all in a single…
-
Hey @Soluciones TIC - What I would do in this case is create a rule that triggers every day, and within that rule, you can use a combination of Math and Date/Time Smart Values functions to figure out whether the day is odd or even. To test this, I used an If-Else condition block that contains: * Advanced compare condition…
-
Hi @Kristian Klima and welcome to the community! As many a seasoned Jira admin will tell you, Jira is designed to have issues assigned to a single person to make sure no tickets get lost. Most would recommend addressing your use case by leaving tickets unassigned, and then setting up a "queue" of those tickets where…
-
Hey you're welcome Fabian! I just happened to be looking at a Cloud tier comparison page and realized IP Allowlisting was a thing, although it may not help here. So with Data Center, because it is self-hosted, the network access to your server has to be maintained by you or your infrastructure/networking/IT team. There are…
-
Re: checking a multi-select field. It doesn't look like you can iterate a list inside of another list iteration: {{#=}}0{{#lookupIssues}}{{#Not Really Single Select}}{{#if(value.startsWith("N"))}} + {{Story Points}}{{/}}{{/}}{{/}}{{/}} I thought about using join and then looking for .match(".*,T.*"), but that would never…
-
AUGH. I figured out my problem. My "Single Select" field was misnamed (I was reusing it from some other thing) - it was actually a Multi Select, so I guess it was returning a list. Bah. I created a new actual "Single Select" field and it worked exactly as you described @Bill Sheboy! SO, @Lana Laureano as long as…
-
OH - I forgot! at the Premium levels, Jira does allow IP allowlisting. * Specify IP addresses for product access BUT since the addresses of webhooks are not site-specific (my webhooks are not automation.MYSITE.atlassian.net), this probably will not work. If you are Premium, you should file a support ticket asking for this,…
-
Thanks @Bill Sheboy - this would totally be helpful... if I could get the filters to work at all! As mentioned, I haven't even gotten to the part where I try to add the numbers together. I can't get the numbers to show up at all with these attempts: FilteredStoryPoints: {{#lookupIssues}}{{#if(Single…