JIRA Automation setting priority after issue created mail is sent

Ken March 20, 2020

Hello Community,

 

we currently have the problem that jira automation is setting the priority after the issue is created. Is it possible to set the priority of the issue before the "issue created" notification is triggered? The reason is that the mail that is sent afterwards contains the wrong priority. We can only see the correct priority if we open the issue in jira.

I would guess we need to create a workflow post function before the issue created notification, but not sure how to do it with a filter (e.g if description contains a text to which we map the priority). 

We have access to Bob Swift Atlassian Add-ons - Run CLI Actions in JIRA version 5.7

 

Thank you for your assitance.

 

Regards,

Kenadit

2 answers

1 accepted

0 votes
Answer accepted
Deleted user March 20, 2020

Hi @Ken ,

 

We are from the Bobswift support team, we have created a support request https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3708 on behalf of you in our portal, please try to access the support request for further discussion.

From the description, we understand that you are trying to create a new issue with a priority, and the condition here is the original issue description. Please let us know if this is not your requirement.

If this is your requirement, please find the steps below to create a postfunction:

  • Add a new CLI action postfunction in the workflow.
    image-2020-03-20-18-59-46-163.png
  • As shown in the below screenshot. Please add the condition, CLI action, URL, credentials as per your Jira instance.
    image-2020-03-20-19-00-38-213.png
  • Update and publish the changes.
  • Since the condition we have given is Description ~ low, once you transition the issue(which contains the low as Description) from start progress, a new issue will create with the priority Low.

Please let us know if you face any issue while adding the postfunction.

 

Thanks,
Sravya

0 votes
John Funk
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 20, 2020

Hi Kenadit - I would try a post function to set the priority = Standard (or whatever you want it to be) as you suggested above. Then try it and see what it does when you create a test issue. 

Suggest an answer

Log in or Sign up to answer