Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,747
Community Members
 
Community Events
165
Community Groups

Is it possible to create a ticket when a Specific type of Fix Version is created?

Esmé I'm New Here Jun 17, 2022

Using Jira Automations, is it possible to make it so that when creating a release (and it  ends with "data") for it to auto create a ticket within the newly created release?

For instance:

  1. If I create "Release # - Data" as a fix Version
  2. I then want the ability for a ticket to be created with the title "{{version.name}} Data Diff"
  3. That new ticket would be add to the new data release

I know the first condition would be "When: Version Created", but is there a way distinguish that the last word of the Version name is "data" ? 

I believe I understand the remaining portion of the automation, but I need to understand how to distinguish the type of Fix Version Created by Title. 

 

Screen Shot 2022-06-17 at 5.12.03 PM.png

I added a red box with the ask for more context! 

 

Thanks! 

 

2 answers

1 accepted

1 vote
Answer accepted

Hi @Esmé 

Welcome to Community.

You can verify your condition in the Version Created trigger itself using regular expression. Check the following screenshots:

1.png

Also, remember that to set Fix Version you should use smart value. You cannot copy from the trigger issue because there is no issue that triggered that automation rule.

2.png

Best

Piotr

0 votes
Jack Brickey Community Leader Jun 17, 2022

There isn’t a condition to check or inspect the version name unfortunately. Automation is primarily focused around issues not so much versions with the exception of created and released as a trigger.

though…weird idea…

what if when a version is created you were to create a new issue and you would copy the version into a comment. Then refer him data. Then inspect the last comment testing for “data”. If true the edit summary. 

i’m not where I can really test at this moment. It will take a bit of playing around to come up with something that might work but there may be a roadblock I’m not for seeing at this point.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,777 views 37 47
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you