Home

How do I specify a JIRA project in Microsoft Teams webhook?

%3CLINGO-SUB%20id%3D%22lingo-sub-77695%22%20slang%3D%22en-US%22%3EHow%20do%20I%20specify%20a%20JIRA%20project%20in%20Microsoft%20Teams%20webhook%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-77695%22%20slang%3D%22en-US%22%3E%3CP%3EWe%26nbsp%3Bset%20up%20team%20spaces%20for%20two%26nbsp%3Bspecific%20projects%2C%20which%20also%20have%20their%20respective%20JIRA%20projects.%20Turns%20out%20that%20creating%20a%20JIRA%20connector%20brings%20*all*%20tickets%20from%20*every*%20JIRA%20project%20to%20those%20team%20spaces.%20Is%20there%20a%20way%20to%20focus%20the%20webhook%20on%20a%20specific%20JIRA%20project%2C%20relevant%20for%20that%20team%20space%3F%20Thanks%20in%20advance%2C%20Tuomo%20Suominen%20%2F%20Sanoma%20Pro%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-77695%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-180314%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20specify%20a%20JIRA%20project%20in%20Microsoft%20Teams%20webhook%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-180314%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20one%20questions.%20After%20integration%20of%20Ms%20Teams%20and%20JIra%2C%20any%20labels%20that%20we%20update%20realted%20to%20any%20task%20in%20Ms%20Teams%20will%20that%20be%20reflected%20in%20Jira%20too%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132021%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20specify%20a%20JIRA%20project%20in%20Microsoft%20Teams%20webhook%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132021%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20may%20be%20what%20you%20are%20looking%20for%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22aui-group%22%3E%0A%3CDIV%20class%3D%22aui-item%22%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.atlassian.com%2Fjiradev%2Fjira-apis%2Fwebhooks%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.atlassian.com%2Fjiradev%2Fjira-apis%2Fwebhooks%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20webhook%20in%20JIRA%20is%20defined%20by%20the%20following%20information%2C%20which%20you%20need%20to%20provide%20when%20registering%20(i.e.%20creating)%20a%20new%20webhook%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Ea%3CSTRONG%3E%26nbsp%3Bname%3C%2FSTRONG%3E%26nbsp%3Bfor%20the%20webhook%20created%20(%22Webhook%20for%20my%20remote%20app%22)%3C%2FLI%3E%0A%3CLI%3Ethe%26nbsp%3B%3CSTRONG%3EURL%3C%2FSTRONG%3E%26nbsp%3Bwhere%20the%20callback%20should%20be%20sent%3C%2FLI%3E%0A%3CLI%3Ethe%26nbsp%3B%3CSTRONG%3Escope%3C%2FSTRONG%3E%26nbsp%3Bof%20the%20webhook%2C%20either%20%22all%20issues%22%20or%20a%20limited%20set%20of%20issues%20specified%20by%20JQL%20(%22project%20%3D%20TEST%20and%20fixVersion%20%3D%20future%22)%3C%2FLI%3E%0A%3CLI%3Ethe%26nbsp%3B%3CSTRONG%3Eevents%3C%2FSTRONG%3E%26nbsp%3Bto%20post%20to%20the%20URL%2C%20either%20%22all%20events%22%20or%20a%20specific%20set%20of%20events%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22aui-group%22%3E%0A%3CDIV%20class%3D%22aui-item%22%3E%0A%3CP%3EA%20simple%20webhook%20might%20look%20like%20this%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22aui-message%20info%20conf-macro%20output-block%22%20data-macro-name%3D%22sp-macrooverride-block%22%20data-hasbody%3D%22true%22%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EName%3A%20%3C%2FSTRONG%3E%22My%20simple%20webhook%22%3CSTRONG%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3CSTRONG%3EURL%3C%2FSTRONG%3E%3A%20%3CA%20class%3D%22external-link%22%20href%3D%22http%3A%2F%2Fwww.myremoteapp.com%2Fwebhookreceiver%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CFONT%20color%3D%22%230066cc%22%3Ehttp%3A%2F%2Fwww.myremoteapplication.com%2Fwebhookreceiver%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FA%3E%3CSTRONG%3EScope%3C%2FSTRONG%3E%3A%20all%20issues%3CBR%20%2F%3E%3CSTRONG%3EEvents%3C%2FSTRONG%3E%3A%20all%20issue%20events%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EA%20more%20complex%20webhook%20might%20look%20like%20this%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20class%3D%22aui-message%20info%20conf-macro%20output-block%22%20data-macro-name%3D%22sp-macrooverride-block%22%20data-hasbody%3D%22true%22%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EName%3A%3C%2FSTRONG%3E%20%22A%20slightly%20more%20advanced%20webhook%22%3CBR%20%2F%3E%3CSTRONG%3EURL%3C%2FSTRONG%3E%3A%20%3CA%20class%3D%22external-link%22%20href%3D%22http%3A%2F%2Fwww.myremoteapp.com%2Fwebhookreceiver%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CFONT%20color%3D%22%230066cc%22%3Ehttp%3A%2F%2Fwww.myremoteapplication.com%2Fwebhookreceiver%3C%2FFONT%3E%3C%2FA%3E%3CSTRONG%3E%3CBR%20%2F%3EScope%3A%3C%2FSTRONG%3E%20Project%20%3D%20JRA%20AND%20fixVersion%20IN%20(%226.4%22%2C%20%227.0%22)%3CBR%20%2F%3E%3CSTRONG%3EEvents%3C%2FSTRONG%3E%3A%20Issue%20Updated%2C%20Issue%20Created%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Tuomo Suominen
Occasional Visitor

We set up team spaces for two specific projects, which also have their respective JIRA projects. Turns out that creating a JIRA connector brings *all* tickets from *every* JIRA project to those team spaces. Is there a way to focus the webhook on a specific JIRA project, relevant for that team space? Thanks in advance, Tuomo Suominen / Sanoma Pro

2 Replies

This may be what you are looking for:

 

https://developer.atlassian.com/jiradev/jira-apis/webhooks

 

A webhook in JIRA is defined by the following information, which you need to provide when registering (i.e. creating) a new webhook:

  • a name for the webhook created ("Webhook for my remote app")
  • the URL where the callback should be sent
  • the scope of the webhook, either "all issues" or a limited set of issues specified by JQL ("project = TEST and fixVersion = future")
  • the events to post to the URL, either "all events" or a specific set of events

A simple webhook might look like this:

 

Name: "My simple webhook"
URL: http://www.myremoteapplication.com/webhookreceiver
Scope: all issues
Events: all issue events

 

 

A more complex webhook might look like this:

 

Name: "A slightly more advanced webhook"
URL: http://www.myremoteapplication.com/webhookreceiver
Scope:
Project = JRA AND fixVersion IN ("6.4", "7.0")
Events: Issue Updated, Issue Created

Highlighted

Hello , 

 

I have one questions. After integration of Ms Teams and JIra, any labels that we update realted to any task in Ms Teams will that be reflected in Jira too ?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies