JIRA automation

Sohail Alam February 29, 2024

Could you please help me with this issue?

Ticket created:  Summary name: "ABC with bugs LOW task"

What automation step can I do to so that I can set the above Ticket`s priority to LOW?

So whenever the above ticket is created, I want the priority to be LOW right away.

2 answers

0 votes
Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 2, 2024

Hi @Sohail Alam ,

You can use the match() function https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#match--

In the actions select "Edit Issues" action, and you can set the value using,

{{issue.summary.match("(Low)|(High)|(Medium)")}}

Although I would agree with @Trudy Claspill you might want to rethink the strategy prior to activating such an automation, since it maybe prone to errors.

Sohail Alam March 4, 2024

@Jehan Bhathena 

Thank you Jehan but need a small help here. So If I add that issue.summary.match, then what would be the next step? Help is highly appreciated

 

Untitled.png

Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2024

@Sohail Alam there are a few different ways I can think of here.

In theory, you can create a Smart Value variable (from the actions), and based on this value create an if else loop.

If smartValue == Low then Priority Low

ElseIf smartValue == Medium then priority Medium

Else Priority=High

Try this out once and let me know if it works

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Hello @Sohail Alam 

How do you know you want to set that specific issue to Low priority?

Is that decision based on the issue type?

Is that decision based on keywords in the Summary field, or an exact phrase in the Summary field?

Is it not an acceptable solution to manually set the Priority of the issue as you create it?

Sohail Alam March 4, 2024

So, this ticket is generated from App Support which puts tickets priority in Ticket Summary and instead of doing manual work was thinking about Automation rule  @Trudy Claspill 

Suggest an answer

Log in or Sign up to answer