JIRA SERVER: Can I use automation for jira to return a list of tickets + send slack?

Julia
Contributor
May 27, 2021

I want to use automation for jira to do the following

get a list of issues where "x" custom field was updated in the last week

Send that list via a slack message 

--------

I know how to use a webhook for the slack message but I am not sure if it is possible to get automation to give me that list then call it to the slack message. I know how to use smart values but struggling. thanks!!!

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2021

Hi @Julia 

You can do this, and the tricky part is detecting the changes to a custom field in a window of time. 

If you have one of the scripting/JQL addons from the marketplace that may be easier; otherwise you would need some way to indicate the field changed, perhaps by using another custom field to record the date/time the field was last changed (with automation or a scripting addon).

Once you have the issues list available via some query (JQL), you could use a scheduled rule to look at the {{issues}} smart value to send the message.

Please look here for an example doing that with issues treated in bulk:

And look here for information about sending that information to Slack:

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events