Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Is it possible to create and link automatically Test issues to User story (by acceptance criteria)?

How to concat/join the parent and child values from a single cascade and copy to label field

Adam Dulberg
Contributor
April 3, 2023

I have two fields. First is a custom labels field. The Second is Select List (Cascading). I am trying to write an automation rule that when the 2nd field is edited, the values of the parent and child are combined via underscore to [fields or update either is fine] replace or add to what is in the first field. 

The situation may look like this:

Cascade: [Level 1] Profession [Level 2] Zookeeper

Custom Labels [null].

When the cascade is updated, I'd like the custom labels to display "Profession_Zookeeper".

I've read through every community post and Atlassian documentation. I've not been able to make this work using smart values as I can't figure out (if this is even possible) to nest the customfield_xxx.value and customfield_xxxx.child.value. As for the Json advanced editing, there's a lot of good info here about setting/copying to equal cascade fields (set), but I'm jammed up on combining the values to look like "parent_child". Be great if someone could lend a suggestion.

1 answer

0 votes
Bibek Behera
Community Champion
April 7, 2015

Hello Achalme,

The only way you can create a link between two issues  is by doing it manually. In your case the issue type Test with User story.

Please follow the steps below to link issue type test to User story.

1 . Please open a Jira story or create one if none exists. 
2. Click on "More" button and then click "Link" from the drop down menu. 
3. Select the issue (in your case any issue of type Test) you wish to link it to the story. 
4. Click the button "Link" at the bottom.


Best Regards,

Bibek 

Suggest an answer

Log in or Sign up to answer