Hi there
I would like to know whether it is possible and if so how, I can auto create/add a label based on the issue summary.
e.g. I create a new issue called ACMEInc (this then runs multiple other actions) I would like a label of ACMEInc to added to this issue and subsequent linked issues.
I am still very new to doing all of this so if someone is able to respond please keep the instructions very simple and clear :-)
Thank you
For the base ticket, this is fairly simple using Jira Automation. On creation, set the label as {{issue.summary}}. This is a smart value which can be quite useful in automation. I've copied a link of their documentation here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
Adding the same label to subsequent linked issues may be a bit more difficult, but here's how I would go about doing this in a separate automation:
Let me know if you need any help setting this up.
Hi Mathew
Thank you for responding - I can't seem to get this to work when I create my first issue, I am sure I am missing something really easy/obvious!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sabrina,
No problem. Typically with labels you want them to be limited to a pre-defined list otherwise your list of labels can get a bit out of control.
To do what you're looking for however, you should be able to type {{issue.summary}} into the Labels box. Jira should recognize you're trying to use a smart value and accept the entry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately that doesn't seem to have worked.
The labels won't get too out of control as I am using this as a way of an onboarding checklist for certain customers.
If there is an alternative board or process that would work better please advise, as I am very much on a steep learning curve with using Jira to manage such tasks and streamline things.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I very much understand what you're going through. Jira is a fantastic tool when you know how to use it, but it definitely has a steep learning curve.
Are you getting an error or some not that won't allow you to perform the action directly? Might help in troubleshooting.
For what you're trying to do, I would recommend a custom field (ideally an existing field) rather than labels. Labels are typically used for categorizing issues across a single project, multiple projects, or even across the entire instance.
You could also add the label or another custom field to the create screen so that you're not having to automate behind-the-scenes, but this is an additional field your users will have to fill out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am seeing the following on the audit log - Not valid JSON
I am having a similar nightmare trying to auto add a start date based on now plus X business days. I can create the due date just fine - {{now.plusBusinessDays(65)}} that works a treat but not for start date :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could that JSON error come from the advanced edit you're trying to perform?
For the dates, I would recommend comparing the configuration of each custom field. Start Date may be forced to today, just as an example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey there
I don't think I am trying to perform an advance edit, the item gets created from the add new issue area at the bottom of the listing and only requires you to enter the summary which for the most part is just one - three words.
I am not using any custom fields and the start date doesn't show at all, unless I manually enter the date. Ideally, I am wanting it to be more fluid than that, to make things easier for the team. Perhaps I am trying to run before I walk :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sabrina,
Based on your screenshot, on the left side bar it says When: Issue Created, Then Edit issue fields Labels, Advanced. I don't see a field called advanced, so I assumed you were trying to do some additional configuration programmatically which would explain where the JSON errors are coming from.
I would suggest trying to create a new rule and starting with the most basic options, try to build out what is needed one step at a time.
Start there, see if that works. If it does, start adding more to it like your sub-task creation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is fab, I must have been doing something else which was causing an issue. This seems to have worked - yeah!!
Thank you so much for your assistance!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.