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,300,796
Community Members
 
Community Events
165
Community Groups

Is it possible to create a post function for one issue type only?

I want to create a post function for Incident issue type only, to send an email notification to the emergency team, is that possible without affecting the other issue types? 

I don't want to notify the emergency type for tasks and stories.

3 answers

2 votes
Jack Brickey Community Leader Jun 09, 2022

hi @Gabriela A_Viggiano , yes that is possible. There are two approaches I would recommend here.

  • Create a unique workflow and associate to the Incident issue type alone. Use a post function as you mentioned.
  • Use automation to send an email associated with an issue transitioning and condition of Incident type.

Let me know if this makes sense.

Hi  @Gabriela A_Viggiano ,

welcome to the Atlassian community!

If the workflow is shared between multiple issue types, you can :

  • add a check on your pf code in order to check the issue type of issue
  • create a copy of workflow, add your pf, and associate the new workflow just to your issue type

Hope this helps,

Fabio

0 votes

Thanks for the advise. In the meantime I get the proper permissions to edit workflow for that issue type (it is restricted).

Now another question comes to my mind, what if the issue type is used in different projects, if I create a specific workflow for Incident type (p.e.) and add a post function to it, is that going to replicate in all projects that use incidents? Wonder if I can config the workflow for that issue type in that particular project only.

Hello @Gabriela A_Viggiano 

Basically, every project has its own issue-type scheme. So, if your project issue type scheme has an incident issue type, it will be having its own workflow, screen, Field configurations, and all. And that will not be shared with any other project until you want to do that intentionally.

So, workflow configuration for that issue type is for that particular project only. It will not be reflected in other projects.

Hope this ans your questions. Let me know if any other queries.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you