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,364,056
Community Members
 
Community Events
168
Community Groups

Can you assign the issue key to the label value of a linked issue in a procurement project

Hi all,

I have an automation that creates a linked issue in a procurement project.

What I would like to do is have the issue.key from the parent issue updated into the label of the linked issue.  This way I can display it on the board as it allows for the displaying of Labels.

I thought in the create issue step in the automation I could set labels to be issue.key but I get this error;

 

"Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
Labels (labels)"
But it allows me to select Labels as the field to edit in the create issue step.
Am I missing doing something with this or a better place to put the issue key from the parent issue to display on the card.

1 answer

1 accepted

1 vote
Answer accepted

Hello @Steven Lees-Smith

Thank you for reaching out.

I'm not sure if I totally understood your automation logic, but you can use the smart value {{issue.parent.key}} to properly copy the parent key to the labels field of a child/linked issue:

Screen Shot 2022-08-26 at 11.37.30 AM.png

Can you confirm if that works for you?

You can check the documentation below for more details about smart values:

Smart values in Jira automation 

Let us know if you have any questions.

Thanks for the reply, I was leaving out '.parent.' and now it works fine.

 

Cheers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events