Want to map incident state to JIRA issue status through JIRA Spoke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 02:51 AM
Hi,
We want to map the state field from an Incident to an issue in JIRA using the JIRA spoke while using the 'Create Issue' action.
Regards,
Sudhangshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 12:39 PM
Hello, were you able to figure out this integration for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 11:20 AM
You can't. Issue status is set with a "Do transition" action. Create the issue with a "Create issue" action, then follow it with a "Do transition" action to change the status.
I use a subflow to convert between state <--> status so I can maintain it in one place, plus it simplifies my flows. The subflow accepts both in separate input variables and depending on which one is set, it evaluates accordingly. For example, if it receives a task state value, it sets the output variable to the matching Jira status. The output variable is set by running through some code containing a switch block that maps the state value to a corresponding status. This is used in a subsequent "Do transition" action on the flow that called it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 04:47 PM
It worked! thank you so much.