youngmon/atlassian-qna huggingface dataset:
Company signature logo ends as unable to render png.bas64 wall of text in issue description
Asked by Dietmar Sigl:

Hi Jira Community,

I've found a couple of similar problems, but unfortunatelly none with a useful solution for my problem so far.

I think signature images in general are problematic, either you have x-times the images as issue attachements or in my case, service management could not render it properly so we are having tickets with 3-4 screens long base64 code for the image. Since it is in a table its 4 clicks to delete it manually to see the main issue clearly. Which is a workaround in the best case.

Is there a way I could delete part of the description (yellow in the image below) with automation? Since the "image" is always starting and ending with the same text:

"Unable to render embedded object: File (image/png;base64 ....... ) not found."  
![base64.png](https://community.atlassian.com/t5/image/serverpage/image-id/347307iF63623826CCFC6DD/image-size/large?v=v2&px=999 "base64.png")  

The rest of the description (green) should stay as untouched as possible, so nothing needful is lost.

If anyone knows an app which could help, it would be appreciated too!  
Thanks in advance,  
Best,  
Dietmar


Answers:
author: John Price
body: Not sure about automation, but having the email handler do this has been suggested many times for Server/Data Center and always gets marked "Won't Do" by Atlassian. Current open one: <https://jira.atlassian.com/browse/JRASERVER-15129>

Cloud has addressed this area in part: <https://jira.atlassian.com/browse/JSDCLOUD-5878>

Couple of options:

1) Play with automation. I actually see that someone on that linked Cloud issue suggested a simple example like:

```
{{issue.description.replaceAll("((%Profile\.YextUser\.Name%)[\s\S]*?(<End-token>|\Z))","=== Signature removed ===\n")}}


```

2) Use a 3rd party app like JEMH, which I remember liking. Here's the relevant help page for Server/DC: <https://thepluginpeople.atlassian.net/wiki/spaces/JEMH/pages/7241745/Remove+signature+text+and+images+from+emails>


Tags: data-center

jira-data-center

jira-service-management

jira-service-management-server

server
Using hidden field in a software project
Asked by Corinne Guibert:

Hello

Is it possible (and how) to define "hidden field" in a software project ? The goal would be to store automatically information in these field (using automation) but I don't want user modification on them

These information will be used later on for display (in a Confluence page or Jira Dashboard)

Thanks for your ideas


Answers:
author: John Funk
body: Hi Corinne,

Yes, just don't include the filed on any screen. Then update the field using an automation rule. Or you can include if on the Create screen if you like and then either override that with the value you want or not update it if there is a value in it when the automation rule runs.

comments: author: Corinne Guibert
body: Hell [@John Funk](/t5/user/viewprofilepage/user-id/7148)

I tried to do that in a team managed project but I can't find my new field in the Jira Automation. Do you know of this is possible ?


author: Allen Chen
body: Hi [@Corinne Guibert](/t5/user/viewprofilepage/user-id/5457445)

If you go to create custom fields, under advanced, theres this "Text Field (read only)" which cannot be manually updated by users.

Whether it is "hidden" or not depends on if you have it on any screen/page.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/347372i3F55A6E56D56AD4D/image-dimensions/375x243?v=v2 "image.png")

comments: author: Corinne Guibert
body: Hello [@Allen Chen](/t5/user/viewprofilepage/user-id/4995910)

I'm looking at a solution in a Team managed project with no access to Jira Administration


Tags: cloud

jira-cloud
Associate this team with an issue source to view its sprints
Asked by ????? ?????:

Hi!

I'm using Advanced roadmaps and I want to add my scrum project with sprints into the Plan timeline.

Its Ok with the issues but I can't see my added Sprints.

I see this info - **Associate this team with an issue source to view its sprints**

**![?????? ?????? 2024-09-13 ? 12.01.10.png](/t5/image/serverpage/image-id/347300iF24E16FC2011B09E/image-size/large?v=v2&px=999 "?????? ?????? 2024-09-13 ? 12.01.10.png")**

But all my issues, epics and initiatives have values of team in the Team-field.

![?????? ?????? 2024-09-13 ? 12.05.02.png](/t5/image/serverpage/image-id/347301i1C1814DD058DF0D0/image-size/large?v=v2&px=999 "?????? ?????? 2024-09-13 ? 12.05.02.png")

**What should I do ?**


Answers:
author: ????? ?????
body: Its ok

im dumb )


Tags: cloud

jira-cloud
How to protect against unlinking a parent issue type?
Asked by Fahim Ahmed:

HI,

We've recently created a couple of additional issue levels to create more of a Hierarchy Structure.

These are :

Strategy

Initiative

Epic

The Strategy issue type is fixed and unlikely to need to change. We are using Advanced Plans to visualise our Roadmap.

An issue just arose where someone in error changes one of the issue types of one of the 'Strategy' issue types, thereby unlinking all Child Initiatives linked to it. Thankfully as we are very early in our adoption I was able to identify the unlinked Initiatives and re-link, but keen to understand how I can protect from this happening again.

1) Is there a way of 'locking' the specific 'Strategy' issue type so that no one else can edit?

2) In such an instance if someone was to change the issue type, is there a way of 'rolling back' so that the hierarchical parent child links can be resurrected?

3) Is there any other way I can protect from losing masses of linked parent/child linked data if someone was to make a change to a parent in error?

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/347303iF41D308FC038CCA3/image-size/large?v=v2&px=999 "Capture.PNG")![Capture 2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/347305iFBCD1729E2635D88/image-size/large?v=v2&px=999 "Capture 2.PNG")


Answers:
author: Marc - Devoteam
body: Hi [@Fahim Ahmed](/t5/user/viewprofilepage/user-id/5268205)

You could also think of your structure in Jira itself, related to projects.

I suggest to create multiple projects

Look at it like a Scaled solution

1. create a project for just you Strategy issues, only grant the required people the correct permissions
2. create a project for just you Initiative issues, only grant the required people the correct permissions
3. Team uses their current project.


author: John Funk
body: Hi Fahim,

Try removing the Issue Type field from the Edit screen for that issue type. If you don't have a separate screen for that, you should create one.


Tags: cloud

jira-cloud
Can I create multiple boards from a single project/backlog for Team managed projects
Asked by Boluwatife Adewole:

Hello All,

Is this possible for a team managed project?

I tried creating a new board then creating from exiting project, but my project is not listed, even though I can see other projects.

I then tried to filter but after doing that, the location is only showing company managed projects.


Answers:
author: John Funk
body: Hi Boluwatife,

Yes, you can do that! See this article - in it, I address the issue with the Location field. If the article is helpful, please give it a Like.

<https://community.atlassian.com/t5/Agile-articles/Creating-a-Second-Agile-Board-for-Team-Managed-or-JIra-Work/ba-p/2115018>


author: Karan Sachdev
body: Hey [@Boluwatife Adewole](/t5/user/viewprofilepage/user-id/5569054) ,

We can only have one board in a team-managed project. Multiple boards can be created under company-managed projects so you will see only those in the list.

However, you can consider the below approach:

1. Create a new board by selecting a company managed project. In the location drop-down, scroll down to the bottom and you can use your own profile to create the board.
2. Once the board is created, edit its filter to remove the company-managed project and add the required team-managed project.
3. Return to your board and adjust the status mapping in the Configure Board \> Column section to include the statuses of your new team-managed project in the desired columns.

I hope this helps. Thanks!!

comments: author: Boluwatife Adewole
body: Hi [@Karan Sachdev](/t5/user/viewprofilepage/user-id/5209468) this helps, thank you.

How do I Extend this to the rest of my team?


author: Karan Sachdev
body: Hey Boluwatife,

Please go to filter details \> Edit permissions, and the required set of users are added as viewers/editors. If a user has visibility over the filter they will be able to access the board as well.

The users must also have the project permissions to view the issues.

![2024-09-16_15-10-22.png](https://community.atlassian.com/t5/image/serverpage/image-id/347499i81BC96FC2A7A5989/image-size/large?v=v2&px=999 "2024-09-16_15-10-22.png")

PS. I'd request you to please accept my answer above as it will help other community users too.

Thanks!!


author: Boluwatife Adewole
body: Hi [@Karan Sachdev](/t5/user/viewprofilepage/user-id/5209468) ,

this worked, thanks.


Tags: board

cloud

jira-cloud
How can I validate the Issue that must have at least one "Child of" linked issue?
Asked by Diego Chen:

When I change the status from "in progress" to "Closed". I want to validate the Issue that must have at least one "Child of" linked issue and all "Child of" linked issues are "Closed".


Answers:
author: Tuncay Senturk
body: Hi [@Diego Chen](/t5/user/viewprofilepage/user-id/4768322)

You can't do that with out-of-the-box Jira. But, you can achieve this using **ScriptRunner**if you are free to use an app.

Add a ScriptRunner script validator for your workflow transition. The script will be similar to the one below, there might be some issues with the code but I trust it will be a good start.

```
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.link.IssueLink
import com.atlassian.jira.issue.link.IssueLinkManager
import com.atlassian.jira.workflow.WorkflowFunctionUtils


def issueLinkManager = ComponentAccessor.getComponent(IssueLinkManager)

def childOfLinks = issueLinkManager.getOutwardLinks(issue.id).findAll { link ->
link.issueLinkType.name == "Child of"
}


if (childOfLinks.isEmpty()) {
    // No "Child of" linked issues, validation fails here
    return false 
}

def allLinkedIssuesClosed = childOfLinks.every { IssueLink link ->
   link.destinationObject.status.name == "Closed"
}

return allLinkedIssuesClosed
```


Tags: data-center

jira-data-center
How to search for issues with specific emoticons/emojis within the text
Asked by Henri Rastas:

Dear community,

We're using emoticons to mark certain things within an issue. Recently we started to use a new emoticon (+).

Is there a way to search for an issue with text containing emoticons? I couldn't find a solution through atlassian documentation.


Answers:
author: pinky_reddy
body: Hi [@Henri Rastas](/t5/user/viewprofilepage/user-id/5591609)

At present Jira doesn't allow to search using emoticon in JQL

I was able to find a feature request <https://jira.atlassian.com/browse/JRACLOUD-74543>

for the similar use case. May be this might give you more context.

Thank you

comments: author: Henri Rastas
body: Thanks [@pinky_reddy](/t5/user/viewprofilepage/user-id/2679900) , appreciated. Feature request was new news for me.


author: Cristian IONESCU
body: Hi Henry,

To search for issues containing emoticons in Jira, standard JQL doesn't directly support filtering by emoticons, but you can still achieve this using text searches. Since Jira treats emoticons as characters, you can search for them as part of the text.

For example, if you want to search for the `+` emoticon or any other specific emoticon in the issue description or comments, you can use the following JQL query:

**text \~ "+"**

This will search for any issues where the `+` emoticon appears in the issue's description, comments, or other text fields.

Hope this helps.

comments: author: Henri Rastas
body: Hi [@Cristian IONESCU](/t5/user/viewprofilepage/user-id/5123296),

Thanks for your reply. I've understood that writing (+) equals the plus emoticon. I tried your suggestion and few others queries with no luck. For me your query yields an error "Unable to parse the text '+' for field 'text'."

I'm in the understanding that non-alphanumeric characters, + included, are not indexed for search and thus ignored in queries independent on the way one is trying to search for those.

I'd be happy to be wrong though.

What did you get as a response with above query?


Tags: cloud

emoji

jira-cloud

jql

search
JQL for issues commented by assignee within 7 days after been assigned
Asked by Pengshan Dai:

Dear Community,

I'm trying to filter the issues got responded \<7 days by assignees after they are been assigned. Comments or change status consider as response to the issue.

Within an issue workflow, there might be two assignees in total.

I have installed ScriptRunner, but can not figure out what JQL to complete this function.

Thanks!


Answers:
author: Cristian IONESCU
body: Hi Pengshan,

You can try the groovy script:

issueFunction in issueFieldMatch("", "assignee", ".\*") AND issueFunction in dateCompare("", "issue.history\[commented, status changed\] \<= assignee\[date\] + 7d")

comments: author: Pengshan Dai
body: Hi Cristian, thank you for your help.

I tried it in ScriptRunner Enhanced Search:

issueFunction in issueFieldMatch("project = AMSELC", "assignee", ".\*") + issueFunction in dateCompare("project =AMSELC", "issue.history\[commented, statuschanged\] \<= assignee\[date\] + 7d")

But got error:

##### Found '.history\[commented,statuschanged\]' instead of .clearTime() {#toc-hId--1423486124}

Did I do anything wrong?


author: Pengshan Dai
body: How to specify the person who commended shall= assignee?


author: Cristian IONESCU
body: Can you please try:

(issueFunction in issueFieldMatch("project = AMSELC", "assignee", ".\*")   
AND (issueFunction in commented("after -7d") OR status CHANGED AFTER -7d))

This approach gets you closer to filtering issues where assignees responded (via comment or status change) within the timeframe you want.


author: Cristian IONESCU
body: issueFunction in commented("by assignee after -7d")

This query will return issues where the assignee made a comment within the last 7 days.


author: Pengshan Dai
body: Hi Cristian, thanks a lot for your reply. Unfortunately I got return,

##### Function 'commented' does not exist {#toc-hId--1423455597}

I am using ScriptRunner Enhanced Search, do I need to download any extra app?

Best,


author: Cristian IONESCU
body: Since you're using ScriptRunner Enhanced Search, you don't need to download any extra app. The `commented` function should work as part of the functionality provided by ScriptRunner.

**Check Commented Function:** Verify that the `commented` function is correctly enabled in your instance by going to **Administration \> Add-ons \> ScriptRunner \> Built-in Scripts** and ensuring the function is available.


author: Pengshan Dai
body: I will check this with our administrator for JIRA. Thank you for your hint!


author: Ryan J Stagg
body: [@Cristian IONESCU](/t5/user/viewprofilepage/user-id/5123296) is it possible you're using Jira Data Center here? Even the docs for ScriptRunner Cloud say Commented is not supported:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/347850iED149B4879AD3A33/image-size/large?v=v2&px=999 "image.png")


author: Pengshan Dai
body: How can we add **Commented** Function?


author: Cristian IONESCU
body: Oh, got it! You're right, I'm using Data Center. Sorry for the mix-up!


Tags: cloud

jira-cloud
We want automation rule to sum up the story points of an Epic, which has tasks and stories
Asked by prasad biddika:

We want automation rule to sum up the story points of an Epic, which has tasks and stories.

Please help with the same

Thanks


Answers:
author: Lisa Forstberg
body: Hi [@prasad biddika](/t5/user/viewprofilepage/user-id/4787548) ,

I got this to work for the use case

{{#=}}{{lookupIssues.Story Points.sum\|0}} + {{lookupIssues.Story Point.sum\|0}}{{/}}

![Screenshot 2024-09-13 at 09.00.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/347279i15175FFFB23558ED/image-size/large?v=v2&px=999 "Screenshot 2024-09-13 at 09.00.33.png")

br

Lisa

comments: author: prasad biddika
body: Hi [@Lisa Forstberg](/t5/user/viewprofilepage/user-id/5101516) its not working can you please check it.


author: Lisa Forstberg
body: Hi!

Can you add a screenshot of your automation please?

br

Lisa


Tags: jira-server

server
Integrate Jira Cloud to Salesforce Sales Cloud
Asked by Nitesh Agarwal:

Hi, I want to know if, Jira has got any in built connector for integrating Jira to Salesforce Sales Cloud. I can see one option there to connect with Salesforce Service Cloud though. I am looking to integrate few custom objects. I know many connectors are available in the market to do this job. I want to explore if there is option available that can be set up internally.

[Integrate with SalesForce Service Cloud \| Jira Service Management Cloud \| Atlassian Support](https://support.atlassian.com/jira-service-management-cloud/docs/integrate-with-salesforce-service-cloud/)


Answers:
author: Walter Buggenhout
body: Hi [@Nitesh Agarwal](/t5/user/viewprofilepage/user-id/5591400) and welcome to the Community!

The article you linked is the only native SF integration I am aware of out of the box. As it states, this is an integration for *Jira Service Management* that is still in an early stage and only available to a limited set of customers. That usually means it is in a closed beta stage, currently being tested / further developed.

If you need something right now or you are not on JSM, you're probably better off setting up an integration through a connector app.

Hope this helps!


author: Ananjan_Mishra
body: Hey [@Nitesh Agarwal](/t5/user/viewprofilepage/user-id/5591400)

If you're looking for an app to solve this, we might have a great workaround for you! How about we hop on a [quick call](https://calendly.com/ananjan-mishra/30min) to discuss it further? I'm looking forward to helping you out!


Tags: cloud

jira-cloud
Can you please disable CAPTCHA for our cloud instance?
Asked by Tony B:

Hello,

Can you please disable the CAPTCHA requirement for our Jira Service Desk Cloud Instance? We would like to roll this out across many users in our organization, however if we can't get rid of the captcha it will not be a viable option for us. Many of our customers use VPNs, and that seems to put us in an endless captcha loop.

Can you please turn this off?

Kind regards,

Tony


Answers:
author: Trudy Claspill
body: Hello [@Tony B](/t5/user/viewprofilepage/user-id/4332468)

Welcome to the Atlassian community.

To get Captcha disabled you need to submit a request to Atlassian support through their support portal at <https://support.atlassian.com/contact/#/>

Where you have posted your question is a **user**community where we users of our own Jira instances help each other solve problems. We don't have access to change your system.

comments: author: Tony B
body: Thanks so much Trudy!


author: Tony B
body: Well that's embarrassing.. I thought i was sending a support ticket but it appears I just made a community post?


Tags: cloud

jira-service-management

jira-service-management-cloud
Retrieving and using grandparent epic in automation rules.
Asked by Angie Adams:

I am working on an automation to create a task from a sub-task. The tricky part is that I want the grand-parent of the sub-task to the be parent of the new task I am creating. I'm not sure how to retrieve the grandparent task to use it in an automation rule. Is this possible? and if so, how?


Answers:
author: Trudy Claspill
body: Hello [@Angie Adams](/t5/user/viewprofilepage/user-id/5312474)

You should be able to use

{{triggerIssue.parent.parent.key}}

to get the key for the "grandparent" issue assuming that the subtask is the rule trigger issue.

You could use that smart value to set the Parent field for the me issue you create. You may want to add a Log action in your rule to print the value into the log so that you can confirm the rule got the value you expect. You may also want to add a Condition to check that it actual has a value before you try to use it in your new issue.

comments: author: Angie Adams
body: Thanks, [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) the value was actually logged, but the generating the task caused an error creating the issue "Could not find issue by ID or Key. (parent)


author: Angie Adams
body: [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) I did some more testing \& found that {{issue.parent.parent.key}} worked. Thanks for pointing me in the right direction. I haven't figured out the rhyme or reason for why triggerIssue works in same cases and in others it has to be issue.


author: Bill Sheboy
body: Hi [@Angie Adams](/t5/user/viewprofilepage/user-id/5312474)

The reason for that difference is the {{triggerIssue}} always refers to the trigger issue and {{issue}} is relative to the location in the rule flow.

For an example, please consider this sample rule...

* trigger: some trigger with an issue ==\> *At this point, both {{triggerIssue}} and {{issue}} refer to the same thing.*
* action: some action
* branch: on JQL to other issues
  * action: another action ==\> *Inside the branch, {{triggerIssue}} and {{issue}} are different, where {{issue}} is now the branched-to issue(s).*
* action: an action after the branch ==\> *After the branch, both {{triggerIssue}} and {{issue}} again refer to the same thing.*

For these reasons, it is helpful to post images of your complete automation rule and the audit log details with a question. They provide context to help the community offer better suggestions.

Kind regards,  
Bill


author: Angie Adams
body: [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) I appreciate the explanation. Automation is relatively new to me with majority being manual triggers to create a new issue. In this example, trigger issue in main branch produced the same result as issue in the IF/else branch, but trigger issues was not found - with the action: create new issue. I'm sure it will eventually click - especially with the help of your explanation. It just hasn't yet. the issue.parent.parent.key / triggerIssue.parent.parent.key was what I was really after as i couldn't find that in the documentation anywhere. Appreciate the added info!


Tags: cloud

jira-cloud
How to extract Jira tickets which spent some times (e,g 4 days ) from status changed on each items.
Asked by See Masa:

We'd like to extracted target Jira tickets which are some retentions from status changed. We are currently using cloud free version due to evaluation. if the version of Jira is able to extract such items by JQL, please let me know. if we need to define some special setting on Jira, please also tell me such way, if the version of Jira is not available to use such extraction, please let me know what version of Jira need to us to use such extraction?

I guess we need to use timespend word in JQL, but not clear how to use it in my environment.

BR,

Masa


Answers:
author: Trudy Claspill
body: Hello [@See Masa](/t5/user/viewprofilepage/user-id/5548768)

Welcome to the Atlassian community.

I am not sure that I understand your requirement. Can you try explaining it in more details and provide examples of issues you would and wouldn't want included in the results?

If you want to find issues that have not had a Status change in the past N days you can use

Status NOT CHANGED AFTER startOfDay(-4)

That functionality is described here:

<https://support.atlassian.com/jira-software-cloud/docs/jql-operators/>

comments: author: Kit Friend
body: I've never spotted that one before [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

Every day's a school day


author: Trudy Claspill
body: I had a typo in my suggestion which I have corrected.

It needed to be startOfDay, not startIfDay


Tags: cloud

jira-cloud

jira-software