I currently need to add the labels at the end of every issue title and I was wondring if it is possible to Automate this action since it's take alot of time to do it manually.
ex: Title of issue + [Label]
Thanks in advance
Hi @Mouad Azizi -- Welcome to the Atlassian Community!
There are several ways to do this, and all require additional consideration of cleanup, edge cases, etc. to manage the different scenarios.
Before considering any of those, what problem are you trying to solve by doing this? That is, "why do this?"
Knowing that may help the community to offer better alternative solutions to solve the problem.
Kind regards,
Bill
Hello @Mouad Azizi
Am not sure of your trigger, may be manual or field change?
Either way, to edit summary and add labels, its simple.
You edit your issue and choose summary from drop down and give {{summary}} - {{labels}} as value. It will replace your existing value with labels and separate them by a -...
See screenshot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mouad Azizi Note two things with the solution,
You can consider some advanced approaches, but I would not advise appending labels to the summary in general.
Some things that come to mind,
{{issue.summary}} - {{#issue.labels}}{{^contains}}INC{{/}}{{.}}{{^last}}, {{/}}{{/}}
{{issue.summary}} - {{#issue.labels}}{?contains("INC")}{.}{?}{^last}, {{/}}{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure how but, also the description migrates in a werid way with codes mixed with the original descrption. please if you have any idea on why this happens, you will be a life savior <3 thanks in advance!!
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.