Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

AUTOMATION FOR JIRA - Use some part of epic name as variable for issues names

Albert Cantero August 4, 2021

Hello,

I am currently trying to implement an automated system for certain projects so that the issue creation, which is pretty similar between them, gets automated.

My question is I would like to use part of the epic name (basically the company name) to be informed in the child issues of the epics. 

Example to be clear:

  1. I create an epic with the name -> Project for new client, Company A
  2. I want child issues to reflect that, for example:
    • Create Android App for Company A
    • Create iOS App for Company B

 

Can these be achieved in JIRA cloud?

Thanks in advance,

 

PD: Edited for clarification purposes,

 

1 answer

1 accepted

5 votes
Answer accepted
Alexis Robert
Community Champion
August 4, 2021

Hi @Albert Cantero , 

 

yes this is possible for Automation, you will need to use a function to match the text you need to keep.

For example, if your Epic has a name like "Company A - Project for a new client", then you know that you want to keep all the text before the character "-".

So you can use this smart value : 

 

{{issue.Epic Name.substringBefore("-")}}

 

You can have a look at the documentation on how to manipule text strings : https://support.atlassian.com/jira-software-cloud/docs/smart-values-text-fields/

 

Let me know if this helps,

 

--Alexis

Albert Cantero August 5, 2021

Thank you so much! This works!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events