youngmon/atlassian-qna huggingface dataset:
Does the API accept Email Addresses for User fields?
Asked by Mathew Lederman:

It seems the API accepts email addresses for some user fields but not all. Can anybody help me understand this a bit better?

From my testing "Raise On Behalf Of" accepts email addresses, single user-picker fields accept email addresses, multi user-picker fields accept email addresses.

However "Request Participants" does not accept email addresses, only account IDs.

Is this expected behavior? Is there any way to pass an email address into "Request Participants" rather than having to pull the users accountID before passing in the request?


Answers:
author: Anandhi Arumugam
body: Hi [@Mathew Lederman](/t5/user/viewprofilepage/user-id/4428557) I have tried to use email address, but unfortunately only account IDs are accepted. But you can feed the email address and get the account IDs by using the End Point below.

/rest/api/3/user/search?query=\<email_address\>

This API returns a JSON with the user's account ID and you can parse to get this information. Hope this helps!

comments: author: Mathew Lederman
body: [@Anandhi Arumugam](/t5/user/viewprofilepage/user-id/5552450) appreciate the response, but unfortunately doesn't help. We have an integration with our HR system that creates JSM issues via the API for terminations. Part of that process is to add managers as Request Participants so they can fill out the necessary information.

If I can define the Raise On Behalf Of user and user-picker custom field users by email address, why is Request Participants different?

I can't ask our integration team to literally double their effort for every termination simply because Atlassian decided to be lazy about how it handled a specific field. This means I'm stuck creating a duplicate user-picker custom field and then automation to pass our RequestParticipantsCustomField into RequestParticipants so our teams don't have to overcome Atlassian's shortsightedness.

And this is how we end up with an instance of 5000 users with 6000 custom fields.

Sorry [@Anandhi Arumugam](/t5/user/viewprofilepage/user-id/5552450) not upset with you, just really frustrated with how bad the Cloud version is compared to DC.


author: Anandhi Arumugam
body: I can totally understand, but I guess it is still evolving.


Tags: cloud

jira-service-management

jira-service-management-cloud
deactivate Customer Portal
Asked by Dennis Baader:

Hi,

is it possible to disable the hole Customer Portal in a Service Project?

Much thanks in advance!

Regards,

Dennis


Answers:
author: Mikael Sandberg
body: Hi [@Dennis Baader](/t5/user/viewprofilepage/user-id/5566404),

Welcome to Atlassian Community!

Currently you can only hide the project as [@Sreenivasaraju P](/t5/user/viewprofilepage/user-id/853354) pointed out. You other option would be to limit who have access to the project. But completely hide the project from the portal is not possible. After all, the portal is a central part of a JSM project, that is one of 4 ways a customer have access to it.


author: Sreenivasaraju P
body: HI [@Dennis Baader](/t5/user/viewprofilepage/user-id/5566404) ,

Have you tried this

<https://support.atlassian.com/jira-service-management-cloud/docs/hide-portals-from-your-help-center/>

comments: author: Dennis Baader
body: Hi [@Sreenivasaraju P](/t5/user/viewprofilepage/user-id/853354) ,

that will only the direct view, but will not disable the hole portal.

So if the user has a link or is getting the link in any way the access is given.

As shown in the service projekt, every portal is under "channels" but I don't see any option to disable that customer portal channel..?!


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I change card color with a custom color?
Asked by Matheus Marques:

Hi all,  

I've a lot of projects on my Jira instance and I checked that some projects have a custom color cards defined on a kanban board.  

I tried to change my card color but the custom color dont appears.  

My board:  
![MeuBoardColor.png](/t5/image/serverpage/image-id/341247i6CD25BA3D929ABB8/image-size/large?v=v2&px=999 "MeuBoardColor.png")  

Other board with custom color:  
![OutroBoardColor.png](/t5/image/serverpage/image-id/341248i58C6FB14FAD20873/image-size/large?v=v2&px=999 "OutroBoardColor.png")


Answers:
author: Samuel Gatica
body: Hi [@Matheus Marques](/t5/user/viewprofilepage/user-id/4625186)

Regrettably, the color palette does not accommodate custom colors for the moment.

A request for this feature has been submitted and can be viewed at the following link: <https://jira.atlassian.com/browse/JSWCLOUD-26300>.

Best regards

Sam


Tags: cloud

jira-service-management

jira-service-management-cloud
Tracking Licenses against an Org
Asked by Lee Hughes:

Hi all

<br />

We store our SaaS Licenses in our CRM. I would like to get that data into JSM so when a support person looks at a ticket they can check licenses and end dates against the org.

However the org fields seem very limited. Anyone got any ideas on how to achieve this?

Example below of the data table

Product Name, License End Date, License Quantity

Product Name 2, License End Date 2, License Quantity 2


Answers:
author: Nadhila Savira
body: Hi Lee,

Please see the following page on [Manage organization detail fields](https://support.atlassian.com/jira-service-management-cloud/docs/manage-organization-detail-fields/). Please let me know if there's something I'm missing in the information you're looking for.


Tags: cloud

jira-service-management

jira-service-management-cloud
Has anyone associated JSM Cloud with TEAMS, rather than SLACK
Asked by Paul Hart:

I am specifically looking to have an SLA breach email message appear in an existing HD TEAMS chat channel for visibility and resolution. I am not specifically looking to use the conversational chat extension.


Answers:
author: Benjamin Linser _yasoon_
body: Hi [@Paul Hart](/t5/user/viewprofilepage/user-id/5448482)

I'm sure you can setup something like this with the proposed automation rule by Alicia. However, since the shutdown of the connectors in Ms Teams has been announced this might be interfering: [Retirement of Office 365 connectors within Microsoft Teams](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/)

I'm working at yasoon the company behind [Microsoft 365 for Jira - Outlook Email, Teams, Calendar \| Atlassian Marketplace](https://marketplace.atlassian.com/apps/1213138/microsoft-365-for-jira-outlook-email-teams-calendar?hosting=cloud&tab=overview) (including a MS Teams integration and sets of automations).

We launched a video explaining the use of Jira Automation and Teams natively without using connectors and additional how our app is working. Maybe you'd like to give that a try: [Jira automation: How to deal with the retirement of Office 365 connectors within Microsoft Teams - YouTube](https://www.youtube.com/watch?v=2PDvEC9bnQ4)

Best regards,

Benjamin


author: Alicia Peebles
body: Hi [@Paul Hart](/t5/user/viewprofilepage/user-id/5448482) !

I have done this in our MS Teams! I used the SLA breach automation trigger and then used the Send Microsoft Teams Message. You will need to setup the Webhook URL with the Teams channel you need to use.

Here is a link to the documentation: [Use automation with Microsoft Teams \| Cloud automation Cloud \| Atlassian Support](https://support.atlassian.com/cloud-automation/docs/use-automation-with-microsoft-teams/)![2024-08-15_15-08-15.png](https://community.atlassian.com/t5/image/serverpage/image-id/342042iA4A714E3CCCE1BE7/image-size/large?v=v2&px=999 "2024-08-15_15-08-15.png")

Let me know if this helps.

Alicia


Tags: cloud

jira-service-management

jira-service-management-cloud
Automation for Jira - How to filter linked issues specific to the project and add as a comment?
Asked by Sami Ahmed Shaik:

Hello there,

I hope you are doing well.

++**Consider the following scenario:**++   
**Issue Key**: DMM-123

**Linked Issues:**

**Related:**

MDM-243

MCM-341

**Related To:**

DMM-451

BRP-2234

++**Requirement:**++   
I would like to know using "Automation for Jira", how to add the following comment to an issue that should filter among the list of different linked issues.

*Dear Reporter,*

*For further reference, you track the request from **BRP-2234.***

Regards,  
Sami S.


Answers:
author: Darryl Lee
body: Hi [@Sami Ahmed Shaik](/t5/user/viewprofilepage/user-id/2497913) - so you only want to add this comment for BRP project links?

If so, then I would do something like:

++**Trigger**++

When: Issue linked

++**Condition**++

Advanced compare condition:

{{destinationIssue.project}} equals BRP

++**Action**++

Add comment

comments: author: Sami Ahmed Shaik
body: Dear [@Darryl Lee](/t5/user/viewprofilepage/user-id/1365322) ,

Thanks for the quick response and rule details.

How can we add the same scenario using "**Issue Transition**" rule? Specifically, during the transition, I want the rule to filter the linked issues and select the BRP related issue among the linked issue and add the same to the comment.

Regards,

Sami S.


author: Darryl Lee
body: Does this transition require you to add a link to BRP?

If so, then the rule will work fine.

Or are you wanting to add this comment only during this transition, if the link to BRP was added outside of the transition?

And is the transition for BRP tickets or other projects?

Assuming this is a transition for the DMM project (from your initial example), you'll need to do put the steps above inside of a branch:

**++Add Branch++**

For linked issues

++**Condition**++

Advanced compare condition:

{{destinationIssue.project}} equals BRP

++**Action**++

Add comment


author: Sami Ahmed Shaik
body: [@Darryl Lee](/t5/user/viewprofilepage/user-id/1365322) ,

Thanks for the quick response.

Exactly, link to BRP was added before the transition in some other previous status.

Regards,

Sami S.


Tags: data-center

jira-server
Concatenating Custom Fields from a Lookup - Formatting Problem
Asked by Kristopher Perez:

Automation Current State: {#toc-hId--491808484}
-----------------------------------------------

* Whenever the field "Executive Summary" is updated in any Jira Project
* a check is done to see if the issue type is an Epic
* and if the Epic has a Parent Initiative.
* Once both of these check pass, all Children of the Parent Initiative are queried
* The Executive Summary field from each Epic is concatenated into the Executive Summary field at the Initiative Level.

The Formatting Problem {#toc-hId-1995704349}
--------------------------------------------

The above works perfectly. The problem I am running into is with the formatting. When a team ends their Executive Summary in a Bullet, List, or Table, each Executive Summary that follows get's a weird treatment of either indenting or appending to the previous table.

Here is the code block I am using for formatting the text:

```
h2. {{now.jiraDate}}
*Total Days: {{issue.Total Days}} | Remaining Days {{issue.Remaining Days}}*\\
{{#lookupIssues}}{color:red}*{{key}} {{summary}}*:{color}\\
{{Executive Summary}} \\
---- \\ 
{{/}}\\
```

I've trie forcing line breaks, adding additional content to the end of each Executive Summary, but nothing seems to work. Any clever ideas out there to encase each Executive Summary so the formatting of a previous doesn't impact the subsequent Summaries?

Take a look at the images:

![Screenshot 2023-03-13 at 1.18.58 PM.png](/t5/image/serverpage/image-id/245301iEF6CE2D77191C09A/image-size/large?v=v2&px=999 "Screenshot 2023-03-13 at 1.18.58 PM.png")![Cursor_and__DISCO-1__Chat_Streams_MVP1_-_Slack_-_JIRA.png](/t5/image/serverpage/image-id/245302i21AFC4D6A98839B0/image-size/large?v=v2&px=999 "Cursor_and__DISCO-1__Chat_Streams_MVP1_-_Slack_-_JIRA.png")


Answers:
author: David Pezet
body: Maybe try adding an extra closer just in case?

```
...
{{Executive Summary}}
{{\}}
\\
...
```

comments: author: David Pezet
body: (Corrected the above. The closer needs to be on its own line.)


Tags: cloud

jira
Create Subtask for each CI on Issue (Automation)
Asked by louis.haefliger:

We record replacement material in our service management on the incidents, which must be configured in advance. The aim is to generate a subtask for each piece of hardware recorded. The material is recorded via an asset object.

Unfortunately, I do not know exactly how I can capture a subtask per object via the automation if several objects are captured at the same time. Can anyone help me here?  
![Subtask.png](https://community.atlassian.com/t5/image/serverpage/image-id/245208iC523560B99346E0B/image-size/large?v=v2&px=999 "Subtask.png")  
At the Moment my Automation looks like:![Automation.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/245211i75D578A33F7CA8D7/image-size/large?v=v2&px=999 "Automation.PNG")  


Answers:
author: Bill Sheboy
body: Hi [@louis.haefliger](/t5/user/viewprofilepage/user-id/5159408) -- Welcome to the Atlassian Community!

First thing, I am not using assets...and so my suggestion is based on what I know about automation rules.

It appears you are trying to find the differences in the field between before/after to set your Summary and Description fields. Have you tried using the added and deleted smart values for fieldChange? Those are described here, but I do not know if they will work for the assets.

<https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange-->

Kind regards,  
Bill


Tags: assets
Cross Project Status Change
Asked by Vivek Karna:

Hi

Thank you for your time.

I am trying to acheive below automation.

Project A has status Open,In progres, In Review ,Done

Project B has status Backlog, Selected for development,In Code Review, Accepted.

My requirement is to change status of project B depending on transitioning of Project A issues.

For Eg If issues of Project A is transiitoned to Open or In progress then issues of project B should transition to Selected for development.


Answers:
author: Curt Holley
body: Hi [@Vivek Karna](/t5/user/viewprofilepage/user-id/5093974)   
Welcome to the community ?

As [@Kristopher Perez](/t5/user/viewprofilepage/user-id/2804071) has alluded to with his rule. Linking the issues is key.  

You may well have known that and are doing that. But as you never mentioned the conditions under which a Project A would move a Project B issue, I thought I''d point it out.


author: Kristopher Perez
body: To get started, I would create a separate Automation for each Transition. This will keep the transition light weight and easy to debug.

It would look something like this:

* Tigger = Issue Transition (scope it accordingly, do you only want it to transition from one status to another, or do you not care about the source transition, think about it)
* Branch Rule = Released Issues with the specified Link Type
* Action = Transition to the Target Transition

Depending on how smart you want to make it, you will have to play around with additional conditions.

Kris

![Screenshot 2023-03-13 at 2.22.31 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/245323i599FBD1C4457D8C1/image-size/large?v=v2&px=999 "Screenshot 2023-03-13 at 2.22.31 PM.png")
Link issues based on summary string
Asked by Benjamin Compayre:

Dear community,  

I'm struggling with an automation I've been asked for by our Release team. Let's start with a bit of background : we've got 2 projects in which we track the deployment of new releases via specific issuetypes (one per project, let's call them **AR** and **PR** ), each of those issuetypes get the release number as the unique string in their summary.  

We then have another project from our production team with a third issuetype called **Release** which gets issues created via a Jenkins automation. The summary in that case is based on two custom fields, **App Name** + **App Version.**   

What I'm asked now is to link any **AR** or **PR** issuetype to an existing **Release** issuetype whenever they're transitioned to a specific status, but I couldn't find how to achieve it for a related issue and get either its summary or the **App Version** customfield value from the summary of the original **AR** or **PR** issuetype (as they're supposed to be the same), all my attempts end up with "No related issues could be found." on the "Branch rule / related issues" component, no matter whether I try with **summary \~{{triggerIssue.summary}}** or **"App Version" \~ {{triggerIssue.summary}}** in my JQL.  

![Screenshot 2023-03-10 at 12.20.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/244940iE4F5DE8EF4D36827/image-size/large?v=v2&px=999 "Screenshot 2023-03-10 at 12.20.10.png")  

Any insight would be appreciated, cheers y'all.  

Ben

Edit : also tried with **{{triggerIssue.fields.summary}}** instead, without luck. Creating a variable with the latter then using it in my JQL search didn't return any item either.


Answers:
author: Mark Segall
body: Hi [@Benjamin Compayre](/t5/user/viewprofilepage/user-id/4984201) - Did you verify the project scope in your rule details includes all three projects?

comments: author: Benjamin Compayre
body: Fishing hell, of course that was it. Adding the third project in the scope did the trick, thanks a ton for the swift answer [@Mark Segall](/t5/user/viewprofilepage/user-id/4666637)
NLTM authenticacion GET
Asked by Francisco Gomez Balastegui:

Hi, we wanna make a GET from automation, but we need autheticate with NLTM, not basic auth.

Can we do this?


Answers:
author: James Navin
body: Hi [@Francisco Gomez Balastegui](/t5/user/viewprofilepage/user-id/2380890) ,

We don't support NTLM auth at the moment. I have raised <https://jira.atlassian.com/browse/AUTO-648> to track this request - please feel free to vote and watch to track updates.

Thanks,

James


Tags: cloud
Check if all linked issues with trigger issue are resolved
Asked by Simon Shtipelman:

Hi all,

I am trying to create an automation that will check to see if all linked issues to the trigger issue are in resolved. If yes, transition the issue to the next status in the workflow.

My current automation is setup to check for multiple different stages in the workflow but if I need to break it up so that the automation is only for the specific step that is fine.

I feel like there should be a jql query that will do what I want but I am not able to figure it out. Any help would be greatly appreciated!

Here is the automation. The trigger is a schedule for now.

![jira automation related issues condition.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/244730i91E1A9B663BCC9D9/image-size/large?v=v2&px=999 "jira automation related issues condition.jpg")![jira automation linked issues.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/244731iEAC8270E5EFDAAE0/image-size/large?v=v2&px=999 "jira automation linked issues.jpg")


Answers:
author: Mark Segall
body: Hi [@Simon Shtipelman](/t5/user/viewprofilepage/user-id/3756610) - Your rule looks ok to me, but I would change from resolution = Done to resolution != Unresolved. I would imagine that you'd still want the issue to transition on other resolution types (e.g. "Won't Do", "Duplicate", "Declined", etc. ).

What problems are you running into with the rule?

comments: author: Simon Shtipelman
body: Hi [@Mark Segall](/t5/user/viewprofilepage/user-id/4666637)

In this instance I want to make sure the linked issues are all completed before the ticket is allowed to progress to the next status in the workflow.

I did finally figure out the query in JQL:

```
issuelink = {{issue.key}} and resolution is not empty
```

The one I had before would give me over 10k results.
Want to Calculate Original Estimate
Asked by Muhammad Moazzam Hassan:

Hi,  

Whenever I put any remaining time in the parent task and log some work in Its child task it will not cover the remaining time in the parent task but add the logged time in it. What I want when I will set the remaining time in the parent task to 24 hrs and when any work hours will be logged in its child task it will subtract the remaining time from the parent task.


Answers:
author: Bill Sheboy
body: Hi [@Muhammad Moazzam Hassan](/t5/user/viewprofilepage/user-id/5063240)

What do you mean by "parent task" and "child task"? Specifically, what are the issue types and relationships between those? Knowing that may help the community to offer suggestions.

And...do you already have an automation rule performing some type of updates for these issues? If so, please post images of the complete rule and audit log details showing the execution. Thanks!

Kind regards,  
Bill

comments: author: Muhammad Moazzam Hassan
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) ,  

Thank you for your response. My issue type is a task and the sub-issue type is a subtask. However, I have found the solution.  

Solution: Whenever any work is logged in the child task it will automatically subtract the sub-task time logged from the parent task's remaining time.
Send chat notifications on MS teams to watcher of a ticket.
Asked by abhishek burse:

I have created a rule in JIRA automation wherein I'd like to send a chat notification on teams for all the watchers in tickets filtered out by my rule. Is there any way to implement it without using any 3rd party app?

Thanks in advance!


Answers:
author: Bill Sheboy
body: Hi [@abhishek burse](/t5/user/viewprofilepage/user-id/5161123)

This is not possible for automation rules as Jira does not have the individual user information. You can currently only send to a channel using its URL. There is a suggestion to add this feature to automation, which you may vote for/watch to see progress: <https://jira.atlassian.com/browse/AUTO-443>

Kind regards,  
Bill

comments: author: abhishek burse
body: Thanks [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) for your reply. Let's hope we see this this feature in near time.
Integrating Power Automate with Jira Service Desk (Cloud)
Asked by Marcus Jones:

I'm using power automate to pick up emails that land in a shared inbox, do some processing on the attachments, and then drop it in Jira service desk as an emailed ticket. There is a Jira connector is Power Automate that looks fairly basic at the moment but I am wondering if anyone else is using Jira with Power Automate and if so are you using the Jira connector?


Answers:
author: Curt Holley
body: Hi [@Marcus Jones](/t5/user/viewprofilepage/user-id/5132701)   
I've used it once (with Jira Software) and it was basic, as you couldn't map to custom fields without manipulating the json manifest file.

My question back to you would be, why not move to a solution using the JSM Portal?...removing email completely

comments: author: Marcus Jones
body: Great point! In this instance particularly we are dealing with several types of attachments (.jpg, .pdf, .doc, etc) and there are a few things I need to do to those attachments before they land in Jira. For PDFs I'm using AI in the power automate flow to extract data points for custom fields like dates and standard contractual details. I'm also doing conversions on the .jpg and .png files. This is all to eliminate manual steps the service desk agents would have to do otherwise and is the main reason I'm looking at that integration.


author: Curt Holley
body: Sounds painful. How come such important data points are arriving in PDF and JPG files? If that data ends up in a custom field, ideally you can provide the customer with a mechanism to place directly in those fields.  


Tags: jira-cloud

power-automate