Automation rule to post contents of a card to Jira

Ben Cuthbert
Contributor
November 2, 2023

Hi,

I'm looking to build an automation rule to post the contents of a Trello card to Jira (work management).

It seems you can build a rule that will create an issue or task but it does not contain any of the trello card content.

You can do this manually with the Jira button so the functionality exists, i'm just looking to automate it.

1 answer

0 votes
Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2023

Hi @Ben Cuthbert ! What card contents do you need to see within Jira? Just the description? If so, your rule would need to look something like this:

when x happens, create a Jira "Task" with title "{cardname}" and description "{carddescription}" in project "x" in site "x"
Ben Cuthbert
Contributor
November 7, 2023

Hey Hannah thanks for that!

Attachments as well would be a winner, is that possible?

Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2023

It looks like the only fields supported by butler are title and description. Generally, would the attachments be added before or after the card is copied to Jira? If it's before, you could create a separate automation that adds the attachment links to the description.

Ben Cuthbert
Contributor
November 7, 2023

Thanks so much! Before would work

Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2023

@Ben Cuthbert let me know if you need help with the automation, but you'll need to use two variables in your rule:

{carddescription} (in order to not override the current description)

{attachmentlink}

So your rule would be something like:

"When an attachment is added to a card, change description to {carddescription} {attachmentlink}"

 

So the attachment links will always be at the bottom of the description. You may want to format it to make it easier to read like adding dividers or hyperlinking your attachment links. Eg. [{attachmentname}]({attachmentlink})

Mirko Marchesin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2024

Hi @Hannah Humbert - Simpla Workflows I have a similar problem. Could you help me too? I've tried to create an automation buttom but it doesn't. What I need to do is to create a card directly in Jira when I click on this buttom. 

I've tried different things, but doesn't work.  I've added the issue type, the title and the project but I don't understand why in  ‘in site’ the word calendar 2022 appear to me and I do not know what I should add or put in that part. Could you help me?

This is the error that appearsScreenshot 2024-10-21 195230.pngScreenshot 2024-10-21 194718.png

Carolina Lopez
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 22, 2024

Hi @Mirko Marchesin, welcome to the Atlassian Community!

"calendar2022" is the Jira site you have mapped on Trello automation. If it's incorrect, please try to remove the connected Jira instance and connect the correct site by following the steps in the following document.
Integrating Jira, Slack and Bitbucket with Automation

Let me know if it helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events