Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Auto populate description based on issue type.

C S Seshagiri February 9, 2024

Hi Team,

We are using the below script to auto populate the description where it is working for Jira software project and not working for JSM projects. 

Kindly Assist.

Thanks.

 

{
"version": 1,
"type": "doc",
"content": [
{
"type": "table",
"attrs": {
"isNumberColumnEnabled": false,
"layout": "default",
"localId": "b857786b-f127-4e4f-b056-ecd60474fa1f"
},
"content": [
{
"type": "tableRow",
"content": [
{
"type": "tableHeader",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Script Link",
"marks": [
{
"type": "strong"
}
]
}
]
}
]
},
{
"type": "tableCell",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": []
}
]
}
]
},
{
"type": "tableRow",
"content": [
{
"type": "tableHeader",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Voiceover Link",
"marks": [
{
"type": "strong"
}
]
}
]
}
]
},
{
"type": "tableCell",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": []
}
]
}
]
},
{
"type": "tableRow",
"content": [
{
"type": "tableHeader",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Voiceover Type",
"marks": [
{
"type": "strong"
}
]
}
]
}
]
},
{
"type": "tableCell",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "NEWPARTIAL REUSE FROM EXISTINGFULL REUSE FROM EXISTING"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "[CHOOSE ONE AND DELETE OTHERS]",
"marks": [
{
"type": "em"
}
]
}
]
}
]
}
]
},
{
"type": "tableRow",
"content": [
{
"type": "tableHeader",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Screencap Folder Link",
"marks": [
{
"type": "strong"
}
]
}
]
}
]
},
{
"type": "tableCell",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"marks": [
{
"type": "link",
"attrs": {
}
}
]
}
]
}
]
}
]
}
]
},
{
"type": "paragraph",
"content": []
},
{
"type": "paragraph",
"content": []
}
]
}

2 answers

1 accepted

0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2024

Hi C S Seshagiri,

I can confirm if you are using Behaviorus provided by ScriptRunner for Jira Cloud then this currently does not support JSM Projects.

This is why it works for Software projects and not JSM projects.

For JSM support, we have a feature request here, and I would ask you to add your use case to it so that Atlassian can see this and add support for JSM to the UI Modifications API, which Behaviours uses.

I hope this helps,

Regards,

Kristian

0 votes
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2024

Welcome to the community @C S Seshagiri 

I'd suggest downloading Issue Templates for Jira (not affiliated by them). Once you do this, here are the next steps:

  1. Create a new project where you will create your templates - this should be done before installing the app
  2. After the install, follow the guide and choose your template project
  3. In your template project, choose an issue type then define in your Description field a default text that needs to appear when this issue is being created
  4. On the left sidebar of your service desk project click on the "Create from template"
  5. Select your project and issue type

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events