Hi,
i am developing an application which should send an email if the user changes a custom field on a jira issue. The language im using is C#.
Is there a way to listen to this kind of event using the Atlassian SKD?
If not, what else could I use?
Hello @Christoph Roth
JIRA .NET SDK is pretty limiting and no where close to the official Atlassian SDK which expects Java code. Thus, if you want to write C# application then what you can do is to use web-hooks. Basically have your jira application sent your C# application an webhook callback notification and once your C# application receives this Jira webhook notification then your application can send the email.
workaround:
-Remove the custom field from the edit screen.
-Add the custom field to a screen on a global transition (from all statuses)
-Fire an event on this transition.
-Configure the notification scheme to send an email on this event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use built in Listeners in JIRA or you can event create and trigger a custom listener.
For your use case I think , Issue Update event with condition on you custom field should be enough.
Follow the Atlassian documentation here :
https://confluence.atlassian.com/adminjiraserver/listeners-938846909.html
Regards
Prakhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Prakhar Srivastav {Appfire},
it seems like it isn't possible to acess these listeners from the Atlassian.SDK(.NET)
I only find Java examples using the Atlassian Plugin SDK. Is there a way to achieve my goal using C#?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.