Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Gabriela A.Viggiano June 9, 2022

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 Champion
June 9, 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.

1 vote
Fabio Racobaldo _Herzum_
Community Champion
June 10, 2022

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
Gabriela A.Viggiano June 10, 2022

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.

Asha Goyal
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.
June 11, 2022

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